[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make trouble with octave-forge
From: |
Robert Leach |
Subject: |
Re: make trouble with octave-forge |
Date: |
Wed, 25 Feb 2004 14:43:25 -0700 |
I tried it with and without. Same error. Here's the last attempt if
you want to look through it. I just now noticed an error in the
configure output: (term.h: present but cannot be compiled).
Rob
plague: /usr/local/octave-forge-2004.02.12>./configure
--with-path=/usr/local/octave-forge-2004.02.12 --prefix=/usr/local
--enable-shared
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for mkoctfile... mkoctfile
cc1plus: warning: changing search order for system directory
"/usr/local/include"
cc1plus: warning: as it has already been specified as a non-system
directory
retrieving compile and link flags from mkoctfile
checking for F77_FUNC... yes
checking for SLList.h... no
checking for lo_ieee_nan_value... yes
checking for quit.h... yes
checking for octave... octave
checking for OCTAVE_VERSION in Octave... 2.1.50
checking for octave_config_info('SHLEXT') in Octave... so
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/lanl/bin/install -c
checking for ranlib... ranlib
checking for strip... strip
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/openwin/lib, headers
/usr/openwin/include
checking whether -R must be followed by a space... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for do_fortran_indexing in Octave... yes
checking for propagate_empty_matrices in Octave... yes
checking for ok_to_lose_imaginary_part in Octave... yes
checking for N-dim arrays... no
checking for class in Octave... no
checking for load/save functions in class... no
checking for Octave_map indexing... no
checking for makeinfo... makeinfo
checking for makeinfo --no-split... yes
checking for texi2dvi... texi2dvi
checking that texi2dvi runs... yes
checking for texi2dvi --clean... yes
checking for texi2html... texi2html
checking for texi2html --clean... yes
checking for dvipdf... dvipdf
checking for dvips... dvips
checking IEEE 754 compliance... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking linux/soundcard.h usability... no
checking linux/soundcard.h presence... no
checking for linux/soundcard.h... no
checking for qh_qhull in -lqhull... no
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_std_error in -ljpeg... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_set_sig_bytes in -lpng... no
checking for socklen_t... yes
checking for octave_function(void)... no
checking term.h usability... no
checking term.h presence... yes
configure: WARNING: term.h: present but cannot be compiled
configure: WARNING: term.h: check for missing prerequisite headers?
configure: WARNING: term.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to address@hidden ##
configure: WARNING: ## ------------------------------------ ##
checking for term.h... yes
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking for tgetnum in -ltermcap... yes
checking for ginac-config... no
configure: creating ./config.status
config.status: creating Makeconf
config.status: creating octinst.sh
config.status: creating admin/RPM/octave-forge.spec
"$prefix" is /usr/local
"$exec_prefix" is ${prefix}
octave commands will install into the following directories:
m-files: /usr/local/octave-forge-2004.02.12
oct-files: /usr/local/octave-forge-2004.02.12/oct
binaries: /usr/local/octave-forge-2004.02.12/bin
alternatives:
m-files: /usr/local/octave-forge-2004.02.12-alternatives
oct-files: /usr/local/octave-forge-2004.02.12-alternatives/oct
shell commands will install into the following directories:
binaries: ${exec_prefix}/bin
man pages: ${prefix}/man
libraries: ${exec_prefix}/lib
headers: ${prefix}/include
octave-forge is configured with
octave: octave (version 2.1.50)
mkoctfile: mkoctfile for Octave 50
X11 support: yes
makeinfo: makeinfo --no-split
texi2dvi: texi2dvi --clean
texi2html: texi2html -split_chapter -number
mkdoc: /usr/local/octave-forge-2004.02.12/admin/mkdoc
mktexi: /usr/local/octave-forge-2004.02.12/admin/mktexi
dvips: dvips
dvipdf: dvipdf
audio capture: linux/soundcard.h not found
geometry toolbox: Qhull not found --- see main/geometry/README
read/write image formats: jpeg, libpng not found
have term.h or termcap.h: yes
symbolic toolbox: GiNaC not found --- see main/symbolic/INSTALL
find . -name NOINSTALL -print # shows which toolboxes won't be
installed
plague: /usr/local/octave-forge-2004.02.12>make
cd FIXES/ && make
make[1]: Entering directory `/home/local/octave-forge-2004.02.12/FIXES'
mkoctfile -DHAVE_OCTAVE_21 -v -DHAVE_IEEE754_COMPLIANCE sort.cc
g++ -c -fPIC -I/usr/local/include/octave-2.1.50
-I/usr/local/include/octave-2.1.50/octave -I/usr/local/include -g -O2
-Wall -DHAVE_OCTAVE_21 -DHAVE_IEEE754_COMPLIANCE sort.cc -o sort.o
cc1plus: warning: changing search order for system directory
"/usr/local/include"
cc1plus: warning: as it has already been specified as a non-system
directory
sort.cc: In function `octave_value_list vec_sort(RowVector&, bool)':
sort.cc:192: warning: comparison between signed and unsigned integer
expressions
sort.cc:230: warning: comparison between signed and unsigned integer
expressions
sort.cc: In function `octave_value_list mx_sort(Matrix&, bool)':
sort.cc:406: warning: comparison between signed and unsigned integer
expressions
sort.cc:450: warning: comparison between signed and unsigned integer
expressions
g++ -shared -o sort.oct sort.o
mkoctfile -DHAVE_OCTAVE_21 -v rand.cc
g++ -c -fPIC -I/usr/local/include/octave-2.1.50
-I/usr/local/include/octave-2.1.50/octave -I/usr/local/include -g -O2
-Wall -DHAVE_OCTAVE_21 rand.cc -o rand.o
cc1plus: warning: changing search order for system directory
"/usr/local/include"
cc1plus: warning: as it has already been specified as a non-system
directory
g++ -shared -o rand.oct rand.o
rm -f randn.oct
ln -s rand.oct randn.oct
make[1]: Leaving directory `/home/local/octave-forge-2004.02.12/FIXES'
cd extra/ && make
make[1]: Entering directory `/home/local/octave-forge-2004.02.12/extra'
make[2]: Entering directory
`/home/local/octave-forge-2004.02.12/extra/graceplot'
mkoctfile -DHAVE_OCTAVE_21 -v __grcmd__.cc
g++ -c -fPIC -I/usr/local/include/octave-2.1.50
-I/usr/local/include/octave-2.1.50/octave -I/usr/local/include -g -O2
-Wall -DHAVE_OCTAVE_21 __grcmd__.cc -o __grcmd__.o
cc1plus: warning: changing search order for system directory
"/usr/local/include"
cc1plus: warning: as it has already been specified as a non-system
directory
__grcmd__.cc: In function `int gr_sendcmd(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
__grcmd__.cc:384: warning: `int ret' might be used uninitialized in this
function
__grcmd__.cc: In function `octave_value_list F__grsetgraph__(const
octave_value_list&, int)':
__grcmd__.cc:567: warning: unused variable `int n'
__grcmd__.cc: In function `octave_value_list F__grnewset__(const
octave_value_list&, int)':
__grcmd__.cc:585: warning: unused variable `int lastindex'
__grcmd__.cc:585: warning: unused variable `int newset'
g++ -shared -o __grcmd__.oct __grcmd__.o
rm -f __grcla__.oct
ln -s __grcmd__.oct __grcla__.oct
rm -f __grclf__.oct
ln -s __grcmd__.oct __grclf__.oct
rm -f __grexit__.oct
ln -s __grcmd__.oct __grexit__.oct
rm -f __grfigure__.oct
ln -s __grcmd__.oct __grfigure__.oct
rm -f __grgetstat__.oct
ln -s __grcmd__.oct __grgetstat__.oct
rm -f __grhold__.oct
ln -s __grcmd__.oct __grhold__.oct
rm -f __grinit__.oct
ln -s __grcmd__.oct __grinit__.oct
rm -f __grishold__.oct
ln -s __grcmd__.oct __grishold__.oct
rm -f __grnewset__.oct
ln -s __grcmd__.oct __grnewset__.oct
rm -f __grsetgraph__.oct
ln -s __grcmd__.oct __grsetgraph__.oct
cat grace_octave_path.m.in | sed -e
"s:@ALTMPATH@:/usr/local/octave-forge-2004.02.12-alternatives/:" >
grace_octave_path.m
make[2]: Leaving directory
`/home/local/octave-forge-2004.02.12/extra/graceplot'
make[2]: Entering directory
`/home/local/octave-forge-2004.02.12/extra/linear-algebra'
mkoctfile -DHAVE_OCTAVE_21 -v -c chol.cc
g++ -c -fPIC -I/usr/local/include/octave-2.1.50
-I/usr/local/include/octave-2.1.50/octave -I/usr/local/include -g -O2
-Wall -DHAVE_OCTAVE_21 chol.cc -o chol.o
cc1plus: warning: changing search order for system directory
"/usr/local/include"
cc1plus: warning: as it has already been specified as a non-system
directory
mkoctfile -DHAVE_OCTAVE_21 -v -c ov-re-tri.cc -o ov-re-tri.o
g++ -c -fPIC -I/usr/local/include/octave-2.1.50
-I/usr/local/include/octave-2.1.50/octave -I/usr/local/include -g -O2
-Wall -DHAVE_OCTAVE_21 ov-re-tri.cc -o ov-re-tri.o
cc1plus: warning: changing search order for system directory
"/usr/local/include"
cc1plus: warning: as it has already been specified as a non-system
directory
mkoctfile -DHAVE_OCTAVE_21 -v -o chol.oct chol.o ov-re-tri.o
g++ -shared -o chol.oct chol.o ov-re-tri.o
make[2]: Leaving directory
`/home/local/octave-forge-2004.02.12/extra/linear-algebra'
make[2]: Entering directory
`/home/local/octave-forge-2004.02.12/extra/mex'
mkoctfile -DHAVE_OCTAVE_21 -v -c -o mex.o mex.cc
g++ -c -fPIC -I/usr/local/include/octave-2.1.50
-I/usr/local/include/octave-2.1.50/octave -I/usr/local/include -g -O2
-Wall -DHAVE_OCTAVE_21 mex.cc -o mex.o
cc1plus: warning: changing search order for system directory
"/usr/local/include"
cc1plus: warning: as it has already been specified as a non-system
directory
mex.cc: In member function `mxArray* mxArray::field(const std::string&,
int)
const':
mex.cc:387: no matching function for call to `Octave_map::contents(const
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>&)'
/usr/local/include/octave-2.1.50/octave/oct-map.h:98: candidates are:
octave_value_list&
Octave_map::contents(std::_Rb_tree_iterator<std::pair<const
std::string,
octave_value_list>, const std::pair<const std::string,
octave_value_list>&,
const std::pair<const std::string, octave_value_list>*>)
/usr/local/include/octave-2.1.50/octave/oct-map.h:101:
octave_value_list
Octave_map::contents(std::_Rb_tree_iterator<std::pair<const
std::string,
octave_value_list>, const std::pair<const std::string,
octave_value_list>&,
const std::pair<const std::string, octave_value_list>*>) const
mex.cc: In member function `void mxArray::field(const std::string&, int,
mxArray*)':
mex.cc:401: invalid use of undefined type `struct Cell'
/usr/local/include/octave-2.1.50/octave/ov.h:43: forward declaration of
`struct
Cell'
mex.cc: In member function `mxArray* mex::make_value(int, int, const
string_vector&)':
mex.cc:579: variable `Cell empty' has initializer but incomplete type
make[2]: *** [mex.o] Error 1
make[2]: Leaving directory
`/home/local/octave-forge-2004.02.12/extra/mex'
make[1]: *** [mex/] Error 2
make[1]: Leaving directory `/home/local/octave-forge-2004.02.12/extra'
make: *** [extra/] Error 2
plague: /usr/local/octave-forge-2004.02.12>
On Wednesday, February 25, 2004, at 02:11 PM, Dmitri A. Sergatskov
wrote:
Robert Leach wrote:
Hi,
Anyone know how to resolve this? I need the mex stuff. It's the
only reason I'm installing octave-forge.
Rob
Did you compile octave with --enable-shared?
Regards,
Dmitri.
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
=====================================================================
= Robert W. Leach =
= Los Alamos National Lab =
= Bioscience Division: Bioinformatics & Computational Biology Group =
= MS M888 =
= Los Alamos, NM 87545 =
= address@hidden =
= Work: 505-667-2307 =
= Cell: 505-310-3759 =
=====================================================================
Work Calendar & To-Do
List: http://66.93.220.101/phpicalendar/week.php?cal=Work
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- make trouble with octave-forge, Robert Leach, 2004/02/25
- make trouble with octave-forge, Robert Leach, 2004/02/25
- Re: make trouble with octave-forge, Dmitri A. Sergatskov, 2004/02/25
- Re: make trouble with octave-forge,
Robert Leach <=
- Re: make trouble with octave-forge, Dmitri A. Sergatskov, 2004/02/25
- Re: make trouble with octave-forge, Robert Leach, 2004/02/25
- Re: make trouble with octave-forge, Glenn Golden, 2004/02/25
- Re: make trouble with octave-forge, Robert Leach, 2004/02/25
- Re: make trouble with octave-forge, Dmitri A. Sergatskov, 2004/02/25
- Re: make trouble with octave-forge, Dmitri A. Sergatskov, 2004/02/25
- Re: make trouble with octave-forge, geordie . mcbain, 2004/02/25