Bug 99685 - kdepim-3.3.92/kresources doesn't build because kode/kxml_compiler/kxml_compiler is incorrect
Summary: kdepim-3.3.92/kresources doesn't build because kode/kxml_compiler/kxml_compil...
Status: RESOLVED FIXED
Alias: None
Product: kresources
Classification: Miscellaneous
Component: framework (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-18 11:12 UTC by Steve Evans
Modified: 2007-10-30 00:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Evans 2005-02-18 11:12:19 UTC
Version:            (using KDE KDE 3.3.92)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.3 
OS:                Solaris

I get this build error:

Making all in featureplan
gmake[3]: Entering directory `/ds14/kde_build/kdepim-3.3.92/kresources/featureplan'
../../kode/kxml_compiler/kxml_compiler \
          --custom-parser ./kde-features.rng
ld.so.1: /ds14/kde_build/kdepim-3.3.92/kode/kxml_compiler/.libs/kxml_compiler: fatal: libucb.so.1: open failed: No such file or directory

This is because kxml_compiler carefully adds stuff to LD_LIBRARY_PATH and then executes its program like this:

LD_LIBRARY_PATH="$thisdir/../.libs:/usr/local/gcc-3.4.3/lib:/opt/kde/lib:/gorbag/exta/cad/externals/SOLARIS/lib:/opt/qt/lib:" 
exec $progdir/$program ${1+"$@"}

which sets LD_LIBRARY_PATH to a value which does not contain my original values

Note that there is a similar problem in kdelibs, see bug 99006
Comment 1 Bernd Kuhls 2005-11-18 15:00:30 UTC
Same here, have to copy links to libaudio.so.2.3  libcrypto.so.0.9.7  libpq.so.3  libssl.so.0.9.7 into kdepim-480857/kode/.libs/ because libkode.so is linked to

./kdepim-480857/kode/> ldd ./.libs/libkode.so
        libaudio.so.2.3 =>       /usr/local/lib/libaudio.so.2.3
        libpq.so.3 =>    /usr/local/postgresql/lib/libpq.so.3
        libssl.so.0.9.7 =>       /usr/local/lib/libssl.so.0.9.7
        libcrypto.so.0.9.7 =>    /usr/local/lib/libcrypto.so.0.9.7
...
        libpng.so.3 =>   /usr/local/lib/libpng.so.3
        libz.so.1 =>     /usr/local/lib/libz.so.1
...

I don't know why make can't find the libs although some of them are present
in /usr/local/lib, libpng and libz are found however.
Comment 2 Reinhold Kainhofer 2006-11-02 19:02:27 UTC
Reassigning all KOrganizer bug reports and wishes to the newly created 
korganizer-devel mailing list.
Comment 3 Bernd Kuhls 2007-10-29 23:04:05 UTC
This bug is fixed, at least in KDE-3.5.8. It can be closed
Comment 4 Allen Winter 2007-10-30 00:33:15 UTC
*** Bug has been marked as fixed ***.