Can not link with Octave
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pytave |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi guys!
I am using Fedora and tried to install pytave by using command
'bzr checkout lp:pytave'
and then following the instructions in INSTALL file but while running the command ./configure got this error
[root@localhost pytave]# ./configure
checking for g++... g++
checking for C++ compiler default output file name... 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 g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for octave-config filename... determined from path
checking for octave-config... /usr/bin/
checking for Octave library path... /usr/lib/
checking for Octave include path... /usr/include/
checking whether linking to Octave library works... no
configure: WARNING:
=======
Can not link with Octave.
Make sure the Octave development package is installed.
=======
checking for python... /usr/bin/python
checking for a version of Python >= '2.1.0'... yes
checking for the distutils Python package... yes
checking for Python include path... -I/usr/
checking for Python library path... -L/usr/lib -lpython2.6
checking for Python site-packages path... /usr/lib/
checking python extra libraries... -lpthread -ldl -lutil
checking python extra linking flags... -Xlinker -export-dynamic
.
.
.
.
.
.
.
.
.
.
checking for int8_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for uselocale... yes
configure:
=======
One or more library dependencies could not be resolved.
Missing dependencies:
Octave development files
Configuration failed. Halt.
Dependencies
Octave .............
Python ............. -I/usr/
executable ....... /usr/bin/python
Python boost ....... boost_python
Features
matrix interface ... numpy
uselocale .......... yes
=======
configure: error: Configuration failure. Halt.
I have installed octave-3.2.3-1 and having same problem faced by fideli but in a different way. His problem was solved by adding c++config.h file in this path
/usr/include/
as he was using ubuntu. I also searched for this header file and I found it in this path
/usr/include/
but my problem is still there so I guess that this is not the problem in my case. Kindly pay attention. Thanks.
Changed in pytave: | |
status: | New → Invalid |
configure:4636: checking whether linking to Octave library works include/ octave- 3.2.3 -L/usr/ lib/octave- 3.2.3 conftest.cpp -loctave -lcruft -loctinterp >&5
configure:4681: g++ -o conftest -g -O2 -I/usr/
conftest.cpp:8:24: error: octave/oct.h: No such file or directory
conftest.cpp:9:31: error: octave/Matrix.h: No such file or directory
conftest.cpp: In function 'int main()':
conftest.cpp:13: error: 'MatrixType' was not declared in this scope
configure:4688: $? = 1
Looks like /usr/include/ octave- 3.2.3/octave/ oct.h is missing. Have you installed the development packages? They are usually named octave-dev, octave-headers, ... or similar.