Sponsored Content
Full Discussion: How to install Octave?
Top Forums Programming How to install Octave? Post 302781295 by Michele31416 on Saturday 16th of March 2013 01:16:16 AM
Old 03-16-2013
OK, now I'm stuck again. I installed the package but apparently I need to run octave-config in order to set up some environment variables. But they're not getting set:
Code:
-bash-3.00$ cd /usr/local/bin
-bash-3.00$ ls
mkoctfile             octave-2.1.73         octave-config
mkoctfile-2.1.73      octave-bug            octave-config-2.1.73
octave                octave-bug-2.1.73
-bash-3.00$ sh octave-config
usage: octave-config [options]
-bash-3.00$ more octave-config
#! /bin/sh -
#
# octave-config - reports some configuration values for Octave
#
# Rafael Laboissiere <rafael@laboissiere.net>
# This script is in the public domain

API_VERSION=""api-v13""
CANONICAL_HOST_TYPE=""sparc-sun-solaris2.10""
DEFAULT_PAGER=""less""
ARCHLIBDIR=""/usr/local/libexec/octave/2.1.73/exec/sparc-sun-solaris2.10""
BINDIR=""/usr/local/bin""
DATADIR=""/usr/local/share""
EXEC_PREFIX=""/usr/local""
FCNFILEDIR=""/usr/local/share/octave/2.1.73/m""
FCNFILEPATH="".:/usr/local/libexec/octave/2.1.73/site/oct/sparc-sun-solaris2.10/
/:/usr/local/libexec/octave/site/oct/api-v13/sparc-sun-solaris2.10//:/usr/local/
libexec/octave/site/oct/sparc-sun-solaris2.10//:/usr/local/share/octave/2.1.73/s
ite/m//:/usr/local/share/octave/site/api-v13/m//:/usr/local/share/octave/site/m/
/:/usr/local/libexec/octave/2.1.73/oct/sparc-sun-solaris2.10//:/usr/local/share/
octave/2.1.73/m//""
IMAGEDIR=""/usr/local/share/octave/2.1.73/imagelib""
--More--(19%) ^C

-bash-3.00$ echo $FCNFILEDIR

-bash-3.00$

???
 

4 More Discussions You Might Find Interesting

1. Tips and Tutorials

Octave --- My octuple boot laptop

As I promised in several threads, here are some notes on how I installed several Operating Systems on my laptap. I will give links to the tools that I obtained from various third parties. And I will include the source code for a few scripts that I wrote. Introduction A few months ago the disk... (3 Replies)
Discussion started by: Perderabo
3 Replies

2. Shell Programming and Scripting

shc usage with octave scripts - HOW ????

Hello there. I would like to know how to use shc (the generic shell script compiler ) with octave scripts. With sh scripts it works fine (because it automatically recognizes the interpreter - here bash ). But when use with octave scripts like this easy one #! /usr/bin/octave disp("testing...")... (0 Replies)
Discussion started by: spiriad
0 Replies

3. UNIX and Linux Applications

Where Octave stores it's variables

Hej guys, I'm doing some simple matrix operations with octave and don't know where and how it stores it's variables. Is there any file somewhere that could be accessed? I was using MATLAB before and now Octave is new for me. Or maybe I should use some commands to save and load it. but... (0 Replies)
Discussion started by: Johanni
0 Replies

4. Shell Programming and Scripting

using Octave and bash command together

Hej all, I have an script which I run it with Octave command in Linux, I want to know how could I put bash commands like grep and sed and use them together with octave? My Octave script: Script.sh: m = load ("file", "-ascii") for i=1:10 g(i)= sin(m) end and then I use this... (2 Replies)
Discussion started by: Johanni
2 Replies
MKOCTFILE(1)						      General Commands Manual						      MKOCTFILE(1)

NAME
mkoctfile - Compile dynamic-load modules for GNU Octave SYNOPSIS
mkoctfile [-IDIR] [-DDEF] [-lLIB] [-LDIR] [-M|--depend] [-c] [-o FILE|--output FILE] [-p VAR|--print VAR] [-s|--strip] [-v|--ver- bose] [-h|-?|--help] file ... DESCRIPTION
mkoctfile is used to compile source C, C++ or Fortran source code in dynamically loadble file for octave(1). OPTIONS
mkoctfile accepts the following options: -IDIR Add include directory DIR to compile commands. -DDEF Add definition DEF to compiler call. -lLIB Add library LIB to link command. -LDIR Add library directory DIR to link command. -M|--depend Generate dependency files (.d) for C and C++ source files. -c Compile but do not link. -o FILE|--output FILE Output file name; default extension is .oct. -p VAR|--print VAR Print configuration variable VAR. Recognized variables are: CPPFLAGS CPICFLAG INCFLAGS CXX F2C CXXFLAGS F2CFLAGS CXXPICFLAG F77 XTRA_CFLAGS FFLAGS XTRA_CXXFLAGS FPICFLAG SHLEXT CC SH_LD CFLAGS SH_LDFLAGS -s|--strip Strip the output file. -v|--verbose Echo commands as they are executed. file Compile or linke file. Recognised file types are .c C source .cc C++ source .C C++ source .cpp C++ source .f Fortran source .F Fortran source .o object file .SH SEE ALSO .BR octave (1). AUTHOR
John W. Eaton <jwe@bevo.che.wisc.edu> This manual page was contributed by Dirk Eddelbuettel <edd@debian.org> for the Debian GNU/Linux distribution but may be used by others. GNU Octave 1 November 2002 MKOCTFILE(1)
All times are GMT -4. The time now is 02:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy