From help-octave-request at che dot utexas dot edu Mon Nov 14 09:07:13 1994 Subject: installation problems From: Rudiger Belch To: help-octave at che dot utexas dot edu (HELP for OCTAVE) Date: Mon, 14 Nov 94 15:06:20 GMT When I try to install octave on our computer, g++ fails to produce ColVector.o and f-hess.o Subsequent .cc files in the directories octave-1.0/liboctave and octave-1.0/src are not translated as a result of it. Could you please have a look at the otuput of the make command (sent in a seperate mail) and let me know, what the problem is ... hopefully we can solve it here. A Summary of what I have done ----------------------------- 1. We have neither f77 nor f2c, so I installed f2c in my private directory and told make to look for it at the right place. (Actually, You told me, how to do that.) 2. I obtained the files octave-1.0.tar and octave-doc-1.0.tar via xarchie and 'gunzip'ed + 'tar xfov'ed them ---> directory tave-doc-1. 3. ./configure --prefix=/home/emu/rudi/Gnu It complained, that it did not find libF77.a and libI77.a 4. I run: make CFLAGS="-O -g -I$HOME/Gnu/include" \ CXXFLAGS="-O -g -I$HOME/Gnu/include" LDFLAGS=-L$HOME/Gnu/lib \ >&make.output Please ------ Have a look at it and tell me, what I can do to get Octave installed. Thank you very much (for programming Octave and for your help). Rudi The Error messages ------------------ I think, the essential bits of make's output arethe following. I send, however the whole output of make as a seperate message. g++ -c -I. -I.. -I../liboctave -I. -I./liboctave -DHAVE_CONFIG_H -fexternal-templates -O -g -I/home/emu/rudi/Gnu/include ColVector.cc Matrix.h: In function `class ComplexColumnVector operator +(const class ColumnVector &, const class Complex &)': Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class Complex *, int)' is private ColVector.cc:253: within this context Matrix.h: In function `class ComplexColumnVector operator -(const class ColumnVector &, const class Complex &)': Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class Complex *, int)' is private ColVector.cc:260: within this context Matrix.h: In function `class ComplexColumnVector operator (unary *)(const class ColumnVector &, const class Complex &)': Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class Complex *, int)' is private ColVector.cc:267: within this context Matrix.h: In function `class ComplexColumnVector operator /(const class ColumnVector &, const class Complex &)': Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class Complex *, int)' is private ColVector.cc:274: within this context Matrix.h: In function `class ComplexColumnVector operator +(const class Complex &, const class ColumnVector &)': Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class Complex *, int)' is private ColVector.cc:283: within this context Matrix.h: In function `class ComplexColumnVector operator -(const class Complex &, const class ColumnVector &)': Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class Complex *, int)' is private ColVector.cc:290: within this context Matrix.h: In function `class ComplexColumnVector operator (unary *)(const class Complex &, const class ColumnVector &)': Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class Complex *, int)' is private ColVector.cc:297: within this context Matrix.h: In function `class ComplexColumnVector operator /(const class Complex &, const class ColumnVector &)': Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class Complex *, int)' is private ColVector.cc:304: within this context Matrix.h: In function `class Matrix operator (unary *)(const class ColumnVector &, const class RowVector &)': Matrix.h:294: constructor `Matrix::Matrix(double *, int, int)' is private ColVector.cc:336: within this context Matrix.h: In function `class ComplexColumnVector operator +(const class ColumnVector &, const class ComplexColumnVector &)': Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class Complex *, int)' is private ColVector.cc:360: within this context Matrix.h: In function `class ComplexColumnVector operator -(const class ColumnVector &, const class ComplexColumnVector &)': Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class Complex *, int)' is private ColVector.cc:377: within this context Matrix.h: In function `class ComplexColumnVector product(const class ColumnVector &, const class ComplexColumnVector &)': Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class Complex *, int)' is private ColVector.cc:394: within this context Matrix.h: In function `class ComplexColumnVector quotient(const class ColumnVector &, const class ComplexColumnVector &)': Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class Complex *, int)' is private ColVector.cc:411: within this context Matrix.h: In function `class ColumnVector real(const class ComplexColumnVector &)': Matrix.h:410: constructor `ColumnVector::ColumnVector(double *, int)' is private ColVector.cc:681: within this context Matrix.h: In function `class ColumnVector imag(const class ComplexColumnVector &)': Matrix.h:410: constructor `ColumnVector::ColumnVector(double *, int)' is private ColVector.cc:691: within this context Matrix.h: In function `class ComplexMatrix operator (unary *)(const class ComplexColumnVector &, const class ComplexRowVector &)': Matrix.h:904: constructor `ComplexMatrix::ComplexMatrix(class Complex *, int, int)' is private ColVector.cc:894: within this context make[1]: *** [ColVector.o] Error 1 ------------------------------------------------------------------------------ g++ -c -I. -I. -I.. -I../liboctave -I. -I./liboctave -DHAVE_CONFIG_H -fexternal-templates -O -g -I/home/emu/rudi/Gnu/include f-hess.cc f-hess.cc: In function `class tree_constant * hess(const class tree_constant *, int, int)': f-hess.cc:132: call of overloaded constructor `tree_constant' is ambiguous tree-const.h:589: candidates are: tree_constant::tree_constant(tree_constant_rep &) tree-const.h:587: tree_constant::tree_constant(const tree_constant &) tree-const.h:565: tree_constant::tree_constant(const ComplexDiagMatrix &) tree-const.h:571: tree_constant::tree_constant(const ComplexColumnVector &) tree-const.h:567: tree_constant::tree_constant(const ComplexRowVector &) tree-const.h:556: tree_constant::tree_constant(const ColumnVector &) tree-const.h:561: tree_constant::tree_constant(const Complex &) tree-const.h:552: tree_constant::tree_constant(const RowVector &) tree-const.h:550: tree_constant::tree_constant(const DiagMatrix &) tree-const.h:584: tree_constant::tree_constant(tree_constant_rep::constant_type) tree-const.h:546: tree_constant::tree_constant(double) f-hess.cc:132: in conversion to type `tree_constant' f-hess.cc:148: call of overloaded constructor `tree_constant' is ambiguous tree-const.h:589: candidates are: tree_constant::tree_constant(tree_constant_rep &) tree-const.h:587: tree_constant::tree_constant(const tree_constant &) tree-const.h:565: tree_constant::tree_constant(const ComplexDiagMatrix &) tree-const.h:571: tree_constant::tree_constant(const ComplexColumnVector &) tree-const.h:567: tree_constant::tree_constant(const ComplexRowVector &) tree-const.h:556: tree_constant::tree_constant(const ColumnVector &) tree-const.h:561: tree_constant::tree_constant(const Complex &) tree-const.h:552: tree_constant::tree_constant(const RowVector &) tree-const.h:550: tree_constant::tree_constant(const DiagMatrix &) tree-const.h:584: tree_constant::tree_constant(tree_constant_rep::constant_type) tree-const.h:546: tree_constant::tree_constant(double) f-hess.cc:148: in conversion to type `tree_constant' make[1]: *** [f-hess.o] Error 1 ------------------------------------------------------------------------------