I am getting several errors trying to install octave-forge and I am starting to wonder whether I am going about this wrong. I made octave (via mercurial repo) in one directory then unzipped all the octave forge packages into another directory. For the following, I am root, and the first two things in my path are the directory where I made octave and the bin directory under that.
So in the octave forge directory under octave I try to install all the packages at once, but then I get this regarding graceplot: octave:1> pkg install main/*.tar.gz extra/*.tar.gz nonfree/*.tar.gz language/*.tar.gz __grcmd__.cc: In function ‘int gr_open_pipe(int, char*, int, ...)’: __grcmd__.cc:226: warning: deprecated conversion from string constant to ‘char*’ __grcmd__.cc: In function ‘bool gr_is_open(int)’: __grcmd__.cc:274: warning: deprecated conversion from string constant to ‘char*’ __grcmd__.cc: In function ‘int gr_sendcmd(std::string)’: __grcmd__.cc:397: warning: deprecated conversion from string constant to ‘char*’ __grcmd__.cc: In function ‘octave_value_list F__grinit__(const octave_value_list&, int)’: __grcmd__.cc:419: error: ‘symbol_record’ was not declared in this scope __grcmd__.cc:419: error: ‘sym_rec’ was not declared in this scope __grcmd__.cc:421: error: ‘fbi_sym_tab’ was not declared in this scope __grcmd__.cc:426: error: ‘curr_sym_tab’ was not declared in this scope __grcmd__.cc:435: error: ‘curr_sym_tab’ was not declared in this scope __grcmd__.cc: In function ‘octave_value_list F__grexit__(const octave_value_list&, int)’: __grcmd__.cc:446: error: ‘symbol_record’ was not declared in this scope __grcmd__.cc:446: error: ‘sym_rec’ was not declared in this scope __grcmd__.cc:448: error: ‘fbi_sym_tab’ was not declared in this scope __grcmd__.cc:451: error: ‘curr_sym_tab’ was not declared in this scope __grcmd__.cc:462: error: ‘curr_sym_tab’ was not declared in this scope make: *** [__grcmd__.oct] Error 1 skipping line skipping line skipping line 'make' returned the following error: make: Entering directory `/var/tmp/oct-HFs6P7/graceplot-1.0.6/src' mkoctfile __grcmd__.cc make: Leaving directory `/var/tmp/oct-HFs6P7/graceplot-1.0.6/src' error: called from `configure_make' in file /usr/local/share/octave/3.1.51+/m/pkg/pkg.m near line 1251, column 2 error: called from: error: /usr/local/share/octave/3.1.51+/m/pkg/pkg.m at line 719, column 5 error: /usr/local/share/octave/3.1.51+/m/pkg/pkg.m at line 292, column 7 octave:1> So I rm graceplot-1.0.6.tar.gz, and then I get: make: *** [all] Error 255 skipping line skipping line skipping line 'make' returned the following error: make: Entering directory `/var/tmp/oct-2ZLrXc/jhandles-0.3.4/src' Java support not compiled make: Leaving directory `/var/tmp/oct-2ZLrXc/jhandles-0.3.4/src' error: called from `configure_make' in file /usr/local/share/octave/3.1.51+/m/pkg/pkg.m near line 1251, column 2 error: called from: error: /usr/local/share/octave/3.1.51+/m/pkg/pkg.m at line 719, column 5 error: /usr/local/share/octave/3.1.51+/m/pkg/pkg.m at line 292, column 7 octave:1> After rm jhandles-0.3.4.tar.gz: In file included from ajuda.cc:90: help.icc: In function ‘bool local_looks_like_texinfo(const std::string&, size_t&)’: help.icc:49: error: ‘NPOS’ was not declared in this scope help.icc:54: error: ‘NPOS’ was not declared in this scope help.icc: In function ‘std::string local_help_from_file(const std::string&, std::string&)’: help.icc:157: error: ‘NPOS’ was not declared in this scope make: *** [ajuda.oct] Error 1 skipping line skipping line skipping line 'make' returned the following error: make: Entering directory `/var/tmp/oct-6yu0mY/pt_br-1.0.7/src' mkoctfile ajuda.cc make: Leaving directory `/var/tmp/oct-6yu0mY/pt_br-1.0.7/src' error: called from `configure_make' in file /usr/local/share/octave/3.1.51+/m/pkg/pkg.m near line 1251, column 2 error: called from: error: /usr/local/share/octave/3.1.51+/m/pkg/pkg.m at line 719, column 5 error: /usr/local/share/octave/3.1.51+/m/pkg/pkg.m at line 292, column 7 octave:1> After rm pt_br-1.0.7.tar.gz I seem to have entered a different error state. Now it doesn't even seem to untar correctly: octave:2> pkg -verbose install main/*.tar.gz extra/*.tar.gz nonfree/*.tar.gz language/*.tar.gz . . . mkdir (/var/tmp/oct-N94A03) untar (extra/xraylib-1.0.7.tar.gz, /var/tmp/oct-N94A03) package is missing file: COPYING error: called from `verify_directory' in file /usr/local/share/octave/3.1.51+/m/pkg/pkg.m near line 1597, column 7 error: called from: error: /usr/local/share/octave/3.1.51+/m/pkg/pkg.m at line 663, column 5 error: /usr/local/share/octave/3.1.51+/m/pkg/pkg.m at line 292, column 7 octave:2> What am I doing wrong here? Ben ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
