From: Tucker, D. <tu...@ly...> - 2015-05-11 22:00:40
|
I have tried version 1.14 and 1.17 and both fail with similar error just at different places. I'm trying to compile on centos 6.6 (64bit). gcc -v: gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) g++ -v: gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) I unzipped the zip file. Created a bin directory as noted in the instructions at the same level as unzipped source. cd to bin. Ran: cmake -i ../vxl-1.14.0 Then ran: make This last run it got to 78% and the error is here: [ 78%] Built target bbgm_pro [ 78%] Building CXX object contrib/brl/bseg/bbgm_batch/CMakeFiles/bbgm_batch.dir/reg_bbgm.o Linking CXX shared module ../../../../lib/bbgm_batch.so /usr/bin/ld: /usr/local/lib/libpython2.7.a(intobject.o): relocation R_X86_64_32S against `PyInt_Type' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libpython2.7.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [lib/bbgm_batch.so] Error 1 make[1]: *** [contrib/brl/bseg/bbgm_batch/CMakeFiles/bbgm_batch.dir/all] Error 2 make: *** [all] Error 2 I tried exporting CFLAGS=-fPIC and then running make clean and then make again but got the same error. Any assistance would be greatly appreciated. -- Sincerely, Doug Tucker |