From: SourceForge.net <no...@so...> - 2009-06-19 22:45:34
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=7454446 By: larryhaja Ok, so I'll try to answer your questions the best I can. > What distribution and version are you running? Slackware 12.2 > btw, what version of cmake do you use? # cmake --version cmake version 2.6-patch 2 (ie. 2.6.2) > Could you list the content of your /usr/lib/python2.5/config directory. # ls -l /usr/lib/python2.5/config/* -rw-r--r-- 1 root root 38795 2008-09-11 11:43 /usr/lib/python2.5/config/Makefile -rw-r--r-- 1 root root 17862 2008-09-11 11:43 /usr/lib/python2.5/config/Setup -rw-r--r-- 1 root root 368 2008-09-11 11:43 /usr/lib/python2.5/config/Setup.config -rw-r--r-- 1 root root 41 2008-09-11 11:43 /usr/lib/python2.5/config/Setup.local -rw-r--r-- 1 root root 2078 2008-09-11 11:43 /usr/lib/python2.5/config/config.c -rw-r--r-- 1 root root 1446 2008-09-11 11:43 /usr/lib/python2.5/config/config.c.in -rwxr-xr-x 1 root root 7122 2008-09-11 11:43 /usr/lib/python2.5/config/install-sh -rw-r--r-- 1 root root 1917770 2008-09-11 11:43 /usr/lib/python2.5/config/libpython2.5.a -rwxr-xr-x 1 root root 7431 2008-09-11 11:43 /usr/lib/python2.5/config/makesetup -rw-r--r-- 1 root root 1040 2008-09-11 11:43 /usr/lib/python2.5/config/python.o > The undefined references are part of libutil. So could you try building it again without the -DPYTHON_LIBRARY:PATH setting and with adding -lutil. Yes, I saw a post for the error I posted and adding -lutil worked for that person. The problem is I don't know what variable should be passed to cmake to include -lutil. I added -lutil to my custom C(XX)FLAGS and that seemed to work as it compiled fine. But, I'm not that familure with cmake so I just tried a few things until it worked. >I would also like to see the output of running a fresh cmake .. in the build directory. Not exactly sure what you're referring too. Did you want a log file of the build process, the configure process, or both?!?!? Or is there a log file that Cmake outputs too? On a side note, it doesn't look like libtuxcap has support for lib64 or using the variable LIB_SUFFIX. I added LIB_SUFFIX to tuxcap/lib/CMakeLists.txt by adding it to these lines. INSTALL(TARGETS tuxcap tuxcap_static LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX} ) Adding LIB_SUFFIX to these lines allowed the libraries to be installed to /usr/lib64. I'm not sure if this is the appropriate place for that variable but it seemed to work. ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=709544 |