[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] Problem compiling IMP trunk on a Mac with Lion



I think the linux errors are elsewhere in the output (you are probably using -j n with n>1 and so different build commands and errors are woven together). 

On Oct 6, 2011, at 3:49 AM, Davide Baù wrote:

You're right. I had some references to ExampleLib in a local library. That solved the issue on my Mac but not on my linux machine (updated to revision 11289 on both machines):

g++ -o modules/benchmark/bin/benchmark_knn -Wl,-rpath=/usr/src/imp/imp-r11289 modules/benchmark/bin/benchmark_knn.o -Lbuild/lib -L. -limp_benchmark -limp_domino -limp_display -limp_em -limp_atom -limp_con
tainer -limp_core -limp_statistics -limp -limp_algebra -limp_cgal -limp_base -limp_compatibility -lCGAL -lgmp -lmpfr -lgmpxx -lboost_thread -lpthread -lmscons: *** [modules/benchmark/bin/benchmark_domino_container.o] Error 1scons: building terminated because of errors.

I don't know if it depends on CGAL which is installed anyway.
Davide




On Oct 5, 2011, at 5:39 PM, Daniel Russel wrote:

OK, that looks better. A there were some changes with how dependencies were set up to support more involved libraries. You probably have a library of your own which still has the unupdated example dependency code. You should simply comment out references to ExampleLib in your module SConscript.

On Wed, Oct 5, 2011 at 2:34 AM, Davide Baù <" target="_blank">> wrote:
Hi,

I have done a svn update after deleting the whole dir. I now get a different error (same on Linux and on Mac):
> Checking for ExampleLib with variables...(cached) no
> Checking for ExampleLib with pkg-config...no
> The lib argument must be given as a list. It was not for ExampleLib

And from the config.log files (Linux and Mac respectively):

On Linux:
> g++ -o .sconf_temp/conftest_39.o -c -isystem /usr/src/imp/trunk -Wall -Wextra -Wno-deprecated -Winit-self -Wstrict-aliasing=2 -Wcast-align -fno-operator-names -Wmissing-declarations -Wundef -Woverloaded-virtual -O3 -fexpensive-optimizations -ffast-math -ftree-vectorize -ffinite-math-only -fstrict-aliasing -fno-trapping-math -fno-signaling-nans -fno-float-store -Wno-unused -funsafe-loop-optimizations -fno-signed-zeros -freciprocal-math -fassociative-math -DBOOST_ALL_NO_LIB -Ibuild/include -Ibuild/src .sconf_temp/conftest_39.cpp
> .sconf_temp/conftest_39.cpp:3:36: fatal error: btBulletDynamicsCommon.h: No such file or directory
> compilation terminated.
> scons: Configure: no
>
>
> file /usr/src/imp/trunk/scons_tools/dependency/__init__.py,line 224:
>         Configure(confdir = .sconf_temp)
> scons: Configure: Checking for ExampleLib with variables...
> scons: Configure: (cached) no
>
> scons: Configure: Checking for ExampleLib with pkg-config...
> pkg-config --exists 'examplelib'
> scons: Configure: no

On Mac:
> g++ -o .sconf_temp/conftest_34.o -c -isystem /opt/local/include -Os -fno-common -arch i386 -arch x86_64 -Wall -Wextra -Wno-deprecated -Winit-self -Wstrict-aliasing=2 -Wcast-align -fno-operator-names -Wmissing-prototypes -Wundef -Woverloaded-virtual -O3 -fexpensive-optimizations -ffast-math -ftree-vectorize -ffinite-math-only -fstrict-aliasing -fno-trapping-math -fno-signaling-nans -fno-float-store -Wno-unused -funsafe-loop-optimizations -DBOOST_ALL_NO_LIB -Ibuild/include -Ibuild/src .sconf_temp/conftest_34.cpp
> .sconf_temp/conftest_34.cpp:3:36: error: btBulletDynamicsCommon.h: No such file or directory
> .sconf_temp/conftest_34.cpp: In function 'int main()':
> .sconf_temp/conftest_34.cpp:7: error: 'btBroadphaseInterface' was not declared in this scope
> .sconf_temp/conftest_34.cpp:7: error: 'broadphase' was not declared in this scope
> .sconf_temp/conftest_34.cpp:7: error: expected type-specifier before 'btDbvtBroadphase'
> .sconf_temp/conftest_34.cpp:7: error: expected `;' before 'btDbvtBroadphase'
> .sconf_temp/conftest_34.cpp:3:36: error: btBulletDynamicsCommon.h: No such file or directory
> .sconf_temp/conftest_34.cpp: In function 'int main()':
> .sconf_temp/conftest_34.cpp:7: error: 'btBroadphaseInterface' was not declared in this scope
> .sconf_temp/conftest_34.cpp:7: error: 'broadphase' was not declared in this scope
> .sconf_temp/conftest_34.cpp:7: error: expected type-specifier before 'btDbvtBroadphase'
> .sconf_temp/conftest_34.cpp:7: error: expected `;' before 'btDbvtBroadphase'
> lipo: can't figure out the architecture type of: /var/tmp//ccheyZks.out
> scons: Configure: no
>
>
> file /usr/src/imp/imp-r11272/scons_tools/dependency/__init__.py,line 224:
>         Configure(confdir = .sconf_temp)
> scons: Configure: Checking for ExampleLib with variables...
> scons: Configure: (cached) no
>
> scons: Configure: Checking for ExampleLib with pkg-config...
> pkg-config --exists 'examplelib'
> scons: Configure: no


Davide

_______________________________________________
IMP-dev mailing list
">
https://salilab.org/mailman/listinfo/imp-dev

_______________________________________________
IMP-dev mailing list
">
https://salilab.org/mailman/listinfo/imp-dev