On Friday 27 February 2009 01:16:04 pm Allen Winter wrote: > On Thursday 26 February 2009 7:52:01 pm sibu xolo wrote: > > Greetings > > > > (host clfs pure-64bit-amd64 linux-kernel 2.6.27.7 gcc 4.3.2) > > > > > > ###problems compiling kdebase-workspace-4.2.0 > > > > Linking CXX shared module ../../../lib/plasma_package_ggl.so > > /usr/bin/ld: cannot find -lSM > > collect2: ld returned 1 exit status > > make[2]: *** [lib/plasma_package_ggl.so] Error 1 > > make[1]: *** > > [plasma/scriptengines/google_gadgets/CMakeFiles/plasma_package_ggl.dir/al > >l] Error 2 > > make: *** [all] Error 2 > > > > > > ############## > > > > ..suggestions welcomed > > You are missing libSM.so > Install a package from your distro that has this library. For me, that's > libSM-devel on Fedora 9. > > The kdelibs CMakeLists.txt checks for this library and exits with a fatal > error if it cannot be found. So, seems like you are building against a > distro kdelibs. Which is fine, but makes me think we need to move the libSM > check higher up in the buildsystem. cmake runs and displays that all libraries are found and gives a congratulation! The subsequent compile goes to ~73% before it fails. I am using a cLFS pure 64bit kernel 2.6.27.7 gcc 4.3.2). LibSM.so (and the Xorg libraries) are in /usr/X11R7.4/lib. If I symlink libSM.so to /usr/lib I overcome the immediate problem but other needed libraries now report as missing. Moreover cmake complains of the symlink. The problem seems to be cmake. There needs to be away to ask it to look in /usr/X11R7.4/lib where the Xorg libraries are. (I even have this smylinked to /usr/X11R6 and /usr/Xll to no avail. I even define a variable export LD_LIBRARY_PATH=/usr/X11R7.4/lib and it still fails. I would be grateful if anyone could let me know of a way (in the compiling of kdeworkspace-4..2.0) to force cmake to look in /usr/X11R7.4/lib for xorg libraries and not in /usr/lib. sincerely sibuXolo >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<