You are not logged in.
Pages: 1
Hi there, I'm trying to compile Octave 3.0 from http://aur.archlinux.org/packages.php?ID=14494
For some reason, it didn't work. I got the error:
making install.texi from install.txi
install.texi is unchanged
rm -f INSTALL
../../missing makeinfo -D INSTALLONLY \
--no-validate --no-headers --no-split --output INSTALL \
-I.. -I. -I./.. install.texi
make[3]: ../../missing: Command not found
make[3]: [../../INSTALL.OCTAVE] Error 127 (ignored)
mv INSTALL ../../INSTALL.OCTAVE
mv: cannot stat `INSTALL': No such file or directory
make[3]: *** [../../INSTALL.OCTAVE] Error 1
make[3]: Leaving directory `/home/fuzz/octave/src/octave-3.0.0/doc/interpreter'
make[2]: *** [../INSTALL.OCTAVE] Error 2
make[2]: Leaving directory `/home/fuzz/octave/src/octave-3.0.0/doc'
make[1]: *** [INSTALL.OCTAVE] Error 2
make[1]: Leaving directory `/home/fuzz/octave/src/octave-3.0.0'
make: *** [all] Error 2
"make[3]: ../../missing: Command not found" appeared in multiple places throughout the compilation. I'm guessing "missing" should be something else, which couldn't be found, but I have no idea.
Thanks in advance.
Offline
I reinstalled gfortran and it worked, getting past that point just fine. However, it still errors out like so:
g++ -shared -Wl,-soname -Wl,liboctinterp.so -o liboctinterp.so pic/Cell.o pic/bitfcns.o pic/c-file-ptr-stream.o pic/comment-list.o pic/cutils.o pic/data.o pic/debug.o pic/defaults.o pic/defun.o pic/dirfns.o pic/dynamic-ld.o pic/error.o pic/file-io.o pic/graphics.o pic/gripes.o pic/help.o pic/input.o pic/lex.o pic/load-path.o pic/load-save.o pic/ls-hdf5.o pic/ls-mat-ascii.o pic/ls-mat4.o pic/ls-mat5.o pic/ls-oct-ascii.o pic/ls-oct-binary.o pic/ls-utils.o pic/main.o pic/mappers.o pic/matherr.o pic/mex.o pic/oct-fstrm.o pic/oct-hist.o pic/oct-iostrm.o pic/oct-map.o pic/oct-obj.o pic/oct-prcstrm.o pic/oct-procbuf.o pic/oct-stream.o pic/octave.o pic/zfstream.o pic/oct-strstrm.o pic/oct-lvalue.o pic/pager.o pic/parse.o pic/pr-output.o pic/procstream.o pic/sighandlers.o pic/siglist.o pic/sparse-xdiv.o pic/sparse-xpow.o pic/strfns.o pic/symtab.o pic/syscalls.o pic/sysdep.o pic/token.o pic/toplev.o pic/unwind-prot.o pic/utils.o pic/variables.o pic/xdiv.o pic/xpow.o pic/ov-base.o pic/ov-ch-mat.o pic/ov-cs-list.o pic/ov-list.o pic/ov-re-mat.o pic/ov-cx-mat.o pic/ov-range.o pic/ov-scalar.o pic/ov-complex.o pic/ov-str-mat.o pic/ov-streamoff.o pic/ov-struct.o pic/ov-colon.o pic/ov-bool-mat.o pic/ov-bool.o pic/ov-cell.o pic/ov.o pic/ov-fcn.o pic/ov-builtin.o pic/ov-dld-fcn.o pic/ov-mapper.o pic/ov-mex-fcn.o pic/ov-usr-fcn.o pic/ov-fcn-handle.o pic/ov-fcn-inline.o pic/ov-typeinfo.o pic/ov-int8.o pic/ov-int16.o pic/ov-int32.o pic/ov-int64.o pic/ov-uint8.o pic/ov-uint16.o pic/ov-uint32.o pic/ov-uint64.o pic/ov-base-sparse.o pic/ov-bool-sparse.o pic/ov-cx-sparse.o pic/ov-re-sparse.o pic/pt.o pic/pt-arg-list.o pic/pt-assign.o pic/pt-bp.o pic/pt-binop.o pic/pt-cell.o pic/pt-check.o pic/pt-cmd.o pic/pt-colon.o pic/pt-const.o pic/pt-decl.o pic/pt-except.o pic/pt-exp.o pic/pt-fcn-handle.o pic/pt-id.o pic/pt-idx.o pic/pt-jump.o pic/pt-loop.o pic/pt-mat.o pic/pt-misc.o pic/pt-pr-code.o pic/pt-select.o pic/pt-stmt.o pic/pt-unop.o pic/op-b-b.o pic/op-b-bm.o pic/op-bm-b.o pic/op-bm-bm.o pic/op-cell.o pic/op-chm.o pic/op-cm-cm.o pic/op-cm-cs.o pic/op-cm-m.o pic/op-cm-s.o pic/op-cs-cm.o pic/op-cs-cs.o pic/op-cs-m.o pic/op-cs-s.o pic/op-list.o pic/op-m-cm.o pic/op-m-cs.o pic/op-m-m.o pic/op-m-s.o pic/op-range.o pic/op-s-cm.o pic/op-s-cs.o pic/op-s-m.o pic/op-s-s.o pic/op-str-m.o pic/op-str-s.o pic/op-str-str.o pic/op-streamoff.o pic/op-struct.o pic/op-int-concat.o pic/op-int-conv.o pic/op-double-conv.o pic/op-i8-i8.o pic/op-i16-i16.o pic/op-i32-i32.o pic/op-i64-i64.o pic/op-ui8-ui8.o pic/op-ui16-ui16.o pic/op-ui32-ui32.o pic/op-ui64-ui64.o pic/op-bm-sbm.o pic/op-b-sbm.o pic/op-cm-scm.o pic/op-cm-sm.o pic/op-cs-scm.o pic/op-cs-sm.o pic/op-m-scm.o pic/op-m-sm.o pic/op-sbm-b.o pic/op-sbm-bm.o pic/op-sbm-sbm.o pic/op-scm-cm.o pic/op-scm-cs.o pic/op-scm-m.o pic/op-scm-s.o pic/op-scm-scm.o pic/op-scm-sm.o pic/op-sm-cm.o pic/op-sm-cs.o pic/op-sm-m.o pic/op-sm-s.o pic/op-sm-scm.o pic/op-sm-sm.o pic/op-s-scm.o pic/op-s-sm.o pic/Array-os.o pic/Array-sym.o pic/Array-tc.o pic/oct-errno.o pic/builtins.o pic/ops.o ../libcruft/blas-xtra/pic/xerbla.o -L../liboctave -loctave -L../libcruft -lcruft -lreadline -lncurses -ldl -lz -lm -L/usr/local/bin/../lib/gcc/i586-pc-linux-gnu/4.4.0 -L/usr/local/bin/../lib/gcc -L/usr/local/bin/../lib/gcc/i586-pc-linux-gnu/4.4.0/../../.. -lz -lgfortranbegin -lgfortran -lm
rm -f liboctinterp.so.3.0.0
ln -s liboctinterp.so liboctinterp.so.3.0.0
gcc -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Os main.c -o main.o
g++ -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wold-style-cast -march=i686 -mtune=generic -O2 -pipe -rdynamic \
-L.. -fPIC -o octave \
main.o \
-L../liboctave -L../libcruft -L../src -Wl,-rpath -Wl,/usr/lib/octave-3.0.0 \
-loctinterp -loctave -lcruft \
-lumfpack -lamd \
-lblas \
-lfftw3 -lreadline -lncurses -ldl -lz -lm -L/usr/local/bin/../lib/gcc/i586-pc-linux-gnu/4.4.0 -L/usr/local/bin/../lib/gcc -L/usr/local/bin/../lib/gcc/i586-pc-linux-gnu/4.4.0/../../.. -lz -lgfortranbegin -lgfortran -lm
../libcruft/libcruft.so: undefined reference to `_gfortran_internal_malloc'
../libcruft/libcruft.so: undefined reference to `_gfortran_pow_r8_i4'
../libcruft/libcruft.so: undefined reference to `_gfortran_pow_r4_i4'
../libcruft/libcruft.so: undefined reference to `_gfortran_internal_free'
collect2: ld returned 1 exit status
make[2]: *** [octave] Error 1
make[2]: Leaving directory `/home/fuzz/octave/src/octave-3.0.0/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/fuzz/octave/src/octave-3.0.0'
make: *** [all] Error 2
What little I could find on google seemed to imply that the problem might be an inability to find the gfortran libraries, but these lines
checking for gfortran... gfortran
checking whether gfortran accepts -g... yes
checking how to get verbose linking output from gfortran... -v
checking for Fortran 77 libraries of gfortran... -L/usr/local/bin/../lib/gcc/i586-pc-linux-gnu/4.4.0 -L/usr/local/bin/../lib/gcc -L/usr/local/bin/../lib/gcc/i586-pc-linux-gnu/4.4.0/../../.. -lz -lgfortranbegin -lgfortran -lm
checking whether gfortran accepts -mieee-fp... yes
checking whether gfortran accepts -ffloat-store... yes
Fortran compiler: gfortran -O -ffloat-store -mieee-fp
Fortran libraries: -L/usr/local/bin/../lib/gcc/i586-pc-linux-gnu/4.4.0 -L/usr/local/bin/../lib/gcc -L/usr/local/bin/../lib/gcc/i586-pc-linux-gnu/4.4.0/../../.. -lz -lgfortranbegin -lgfortran -lm
grep'd from the log of the whole process seem to imply that all of the gfortran libraries and so on were found just fine. I'm not sure what to try next.
Offline
I take it back. I'm getting the same error as in #1 again, and have no idea what I'm doing.
Offline
Fixed it. I apparantly didn't have makeinfo, so pacman -Sy texinfo did the trick. Sorry to waste space with what was apparantly a stupid question.
Last edited by PainAuple (2008-02-22 19:12:39)
Offline
Pages: 1