[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: problems compiling kdebase-workspace-4.2.0
From:       Allen Winter <winter () kde ! org>
Date:       2009-02-27 20:59:51
Message-ID: 200902271559.52095.winter () kde ! org
[Download RAW message or body]

On Friday 27 February 2009 2:47:10 pm sibu xolo wrote:
> 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.
> 

maybe create symlinks
  /usr/X11R7/lib -> /usr/X11R7.4/lib and
  /usr/X11R7/include -> /usr/X11R7.4/include


-- 
Allen Winter | Software Engineer | 1-888-872-9339
KDAB, Inc. | "Platform-independent software solutions"
http://kdab.com | 1-866-777-5322 (US) | +46-563-540090 (Sweden)
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic