ARudik / feelpp

Automatically exported from code.google.com/p/feelpp
0 stars 0 forks source link

Ginac is not building properly causing FTBS #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start from scratch on Debian wheezy, run cmake
2. make

What is the expected output? What do you see instead?

Feel++ should compiles without error.
We have an error :
[ 20%] Building CXX object feel/CMakeFiles/feel++.dir/feelcrb/crb_heatns.cpp.o
cd /home/life/feel_mpi.relwithdebinfo/feel && /usr/bin/g++-4.6   
-Dfeel___EXPORTS -DBOOST_UBLAS_MOVE_SEMANTICS -DFEELPP_HAS_MPI=1 
-DFEELPP_HAS_MPI_H=1 -DFEELPP_HAS_DLFCN_H -DFEELPP_HAS_DLOPEN 
-DBOOST_PARAMETER_MAX_ARITY=20 -DBOOST_TEST_DYN_LINK 
-DBOOST_FILESYSTEM_VERSION=3 -DBOOST_NO_SCOPED_ENUMS -DIN_GINAC -DHAVE_LIBDL 
-DFEELPP_HAS_METIS_H=1 -DFEELPP_HAS_PETSC -DFEELPP_HAS_PETSC_H 
-DFEELPP_HAS_GMSH=1 -D_FEELPP_HAS_GMSH_ -DGMSH_EXECUTABLE=/usr/bin/gmsh 
-std=c++0x -pedantic  -ftemplate-depth-256 -Wno-inline -std=c++0x -g -O1 -fPIC 
-I/home/life/git/feelpp/contrib -I/usr/lib/openmpi/include 
-I/usr/lib/openmpi/include/openmpi -I/usr/include/libxml2 
-I/home/life/feel_mpi.relwithdebinfo/contrib/cln/include 
-I/home/life/git/feelpp/contrib/ginac 
-I/home/life/feel_mpi.relwithdebinfo/contrib/ginac 
-I/home/life/git/feelpp/contrib/ginac/ginac 
-I/home/life/feel_mpi.relwithdebinfo/contrib/ginac/ginac 
-I/home/life/git/feelpp/contrib/eigen -I/usr/include/gmm -I/usr/include/metis 
-I/usr/include/ANN -I/home/life/feel_mpi.relwithdebinfo/contrib/gflags/include 
-I/home/life/feel_mpi.relwithdebinfo/contrib/glog/include 
-I/usr/include/python2.7 -I/usr/lib/petscdir/3.2/include 
-I/usr/lib/petscdir/3.2/linux-gnu-c-opt/include 
-I/usr/lib/slepcdir/3.2/linux-gnu-c-opt/include -I/usr/lib/slepcdir/3.2/include 
-I/usr/include/openturns -I/usr/include/vtk-5.8 -I/usr/include/gmsh 
-I/home/life/feel_mpi.relwithdebinfo -I/home/life/git/feelpp 
-I/home/life/git/feelpp/contrib/gmm/include     -Wall -Wno-unused 
-Wno-sign-compare -o CMakeFiles/feel++.dir/feelcrb/crb_heatns.cpp.o -c 
/home/life/git/feelpp/feel/feelcrb/crb_heatns.cpp
Linking CXX executable ginsh
cd /home/life/feel_mpi.relwithdebinfo/contrib/ginac/ginsh && /usr/bin/cmake -E 
cmake_link_script CMakeFiles/ginsh.dir/link.txt --verbose=1
/usr/bin/g++-4.6   -std=c++0x -pedantic  -ftemplate-depth-256 -Wno-inline 
-std=c++0x -g -O1    CMakeFiles/ginsh.dir/ginsh_parser.cpp.o 
CMakeFiles/ginsh.dir/ginsh_lexer.cpp.o  -o ginsh -rdynamic 
../ginac/libginac.so.2.1.0 ../../cln/lib/libcln.so -ldl -lboost_mpi-mt 
/usr/lib/openmpi/lib/libmpi_cxx.so /usr/lib/openmpi/lib/libmpi.so 
/usr/lib/openmpi/lib/libopen-rte.so /usr/lib/openmpi/lib/libopen-pal.so -ldl 
-lnsl -lutil -lm -ldl -lnsl -lutil -lm 
-Wl,-rpath,/home/life/feel_mpi.relwithdebinfo/contrib/ginac/ginac:/home/life/fee
l_mpi.relwithdebinfo/contrib/cln/lib:/usr/lib/openmpi/lib: 
ginsh_parser.yy:875: error: undefined reference to 'rl_line_buffer'
ginsh_parser.yy:877: error: undefined reference to 
'rl_completion_append_character'
...

Please use labels and text to provide additional information.

It seems that ginac is not build...
In FindFeel++.cmake there is only a "add_subdirectory(contrib/ginac)" directive
which makes CLN to compile but ginac is not build at this point!

As a work-around could we try to use Built-in CLN and GINAC libraries?

Original issue reported on code.google.com by christro...@googlemail.com on 28 Nov 2012 at 8:10

GoogleCodeExporter commented 9 years ago
Here is a "clearer" log file of the compilation.
(Previous one was obtained via make -j5 which makes it unreadable).

Original comment by christro...@googlemail.com on 28 Nov 2012 at 8:53

Attachments:

GoogleCodeExporter commented 9 years ago
fixed in latest commits
see revision f17cba3da776

Original comment by christop...@feelpp.org on 28 Nov 2012 at 11:00