|
From: nico r. <nic...@gm...> - 2007-01-17 02:12:34
|
Did you try to change the PYTHON_LIB variable in your .qmake.cache to where the library actually is (/usr/lib in your case)? On 1/12/07, Comunian Alessandro <ale...@un...> wrote: > > > Dear all, > I have tried to install SGeMS1.4.1 on a Linux Suse9.3 machine (dell > precision > 670). At "make" the procedure gives an error... it seems that it does not > find the python library "libpython2.4.so.1.0" which is in the directory > "/usr/lib". > > Here my ".qmake.cache" file: > [...] > GSTLHOME = /usr/local/GsTL > GSTLAPPLI_HOME = /usr/local/SGeMS-1.4.1 > INVENTOR_LIB = /usr/local/lib > INVENTOR_INCLUDE = /usr/local/include > PYTHON_LIB = /usr/local/lib/python2.4 > PYTHON_INCLUDE = /usr/local/include/python2.4 > PYTHON_SO = python2.4 > [...] > > There is probably something wrong in my Python installation... > > Here the error message: > > /usr/local/SGeMS-1.4.1 # make > cd GsTLAppli && make -f Makefile > make[1]: Entering directory `/usr/local/SGeMS-1.4.1/GsTLAppli' > qmake -o Makefile GsTLAppli.pro > make[1]: Leaving directory `/usr/local/SGeMS-1.4.1/GsTLAppli' > make[1]: Entering directory `/usr/local/SGeMS-1.4.1/GsTLAppli' > [...] > make[2]: Entering directory `/usr/local/SGeMS-1.4.1/GsTLAppli/appli' > make[2]: Nothing to be done for `first'. > make[2]: Leaving directory `/usr/local/SGeMS-1.4.1/GsTLAppli/appli' > cd math && make -f Makefile > [...] > rm -f libGsTLAppli_actions.so.1.0.0 libGsTLAppli_actions.so > libGsTLAppli_actions.so.1 libGsTLAppli_actions.so.1.0 > g++ -shared -Wl,-soname,libGsTLAppli_actions.so.1 -o > libGsTLAppli_actions.so.1.0.0 > ../../lib/linux/obj/actions/algorithms_actions.o > ../../lib/linux/obj/actions/library_actions_init.o > ../../lib/linux/obj/actions/misc_actions.o > ../../lib/linux/obj/actions/obj_manag_actions.o > ../../lib/linux/obj/actions/python_commands.o > ../../lib/linux/obj/actions/python_wrapper.o > -L/usr/lib/ -L/usr/lib/qt3/lib/ -L/usr/local/SGeMS-1.4.1/lib/linux > -L/usr/lib > -lpython2.4 -lqt-mt -lpthread > /usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: > cannot find -lpython2.4 > collect2: ld returned 1 exit status > make[2]: *** [../../lib/linux/libGsTLAppli_actions.so.1.0.0] Error 1 > make[2]: Leaving directory `/usr/local/SGeMS-1.4.1/GsTLAppli/actions' > make[1]: *** [sub-actions] Error 2 > make[1]: Leaving directory `/usr/local/SGeMS-1.4.1/GsTLAppli' > make: *** [sub-GsTLAppli] Error 2 > > Could you please provide me some hints to solve this problem? Thank you in > advance! > Best regards, > > Alessandro Comunian > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Sgems-devel mailing list > Sge...@li... > https://lists.sourceforge.net/lists/listinfo/sgems-devel > |