Discussion:
Build problem with kdeedu
Ravi
2008-07-07 21:56:42 UTC
Permalink
Hi,
Problem building kdeedu from SVN (seems to be Fedora-specific or specific to
my setup): building kigpart fails with "collect2: ld returned -1 exit status".
This was preceded by bunch of messages about skipping incompatible libpthread,
libresolv, libz, etc. I am using self-compiled qt-copy, kdesupport, kdelibs,
etc. The only compilation failures are in koffice and kdeedu which fail as
mentioned above. I did not find any workarounds in the form of patches in
Fedora CVS. Is this a known problem for someone compiling the packages
themselves?
I am using up-to-date F9 on an x86_64 box with F9 latest koji packages for
kernel, mesa*, libdrm and xorg-x11-drv-ati.



Regards,
Ravi
Rex Dieter
2008-07-07 22:55:04 UTC
Permalink
Post by Ravi
Hi,
Problem building kdeedu from SVN (seems to be Fedora-specific or specific to
my setup): building kigpart fails with "collect2: ld returned -1 exit status".
This was preceded by bunch of messages about skipping incompatible libpthread,
libresolv, libz, etc. I am using self-compiled qt-copy, kdesupport, kdelibs,
etc. The only compilation failures are in koffice and kdeedu which fail as
mentioned above. I did not find any workarounds in the form of patches in
Fedora CVS. Is this a known problem for someone compiling the packages
themselves?
Not a known problem, works fine here. Wierd. Need a few more details
perhaps.

What arch? Which version of fedora?

-- Rex

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
Ravi
2008-07-08 16:20:09 UTC
Permalink
  Problem building kdeedu from SVN (seems to be Fedora-specific or
specific to my setup): building kigpart fails with "collect2: ld returned
-1 exit status". This was preceded by bunch of messages about skipping
incompatible libpthread, libresolv, libz, etc. I am using self-compiled
qt-copy, kdesupport, kdelibs, etc. The only compilation failures are in
koffice and kdeedu which fail as mentioned above. I did not find any
workarounds in the form of patches in Fedora CVS. Is this a known problem
for someone compiling the packages themselves?
Not a known problem, works fine here.  Wierd.  Need a few more details
perhaps.
What arch?  Which version of fedora?
As mentioned in my original email, F9 up-to-date on x86_64. I have this solved
though: I needed to add -DLIB_SUFFIX=64 to cmake/ccmake. But I still don't
understand why you don't need it. Without specifying LIB_SUFFIX, CMake ignores
multilib, i.e., I get only "-L/lib64" and not "-L/lib64 -L/usr/lib64" when
linking.

Regards,
Ravi
Rex Dieter
2008-07-08 16:30:39 UTC
Permalink
Post by Ravi
As mentioned in my original email, F9 up-to-date on x86_64. I have this
solved though: I needed to add -DLIB_SUFFIX=64 to cmake/ccmake. But I
still don't understand why you don't need it. Without specifying
LIB_SUFFIX, CMake ignores multilib, i.e., I get only "-L/lib64" and not
"-L/lib64 -L/usr/lib64" when linking.
We add -DLIB_SUFFIX=64 automatically to our 64bit builds.

-- Rex

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
John Mallett
2008-07-19 01:33:22 UTC
Permalink
Post by Ravi
Hi,
Problem building kdeedu from SVN (seems to be Fedora-specific or specific
to my setup): building kigpart fails with "collect2: ld returned -1 exit
status". This was preceded by bunch of messages about skipping incompatible
libpthread, libresolv, libz, etc. I am using self-compiled qt-copy,
kdesupport, kdelibs, etc. The only compilation failures are in koffice and
kdeedu which fail as mentioned above. I did not find any workarounds in the
form of patches in Fedora CVS. Is this a known problem for someone
compiling the packages themselves?
I am using up-to-date F9 on an x86_64 box with F9 latest koji packages
for kernel, mesa*, libdrm and xorg-x11-drv-ati.
Regards,
Ravi
here is a list of the rpms required for kig

fontconfig-2.5.0-2.fc9.x86_64
freetype-2.3.5-6.fc9.x86_64
gamin-0.1.9-5.fc9.x86_64
glib2-2.16.4-1.fc9.x86_64
glibc-2.8-3.x86_64
libacl-2.2.47-1.fc9.x86_64
libattr-2.4.41-1.fc9.x86_64
libgcc-4.3.0-8.x86_64
libICE-1.0.4-3.fc9.x86_64
libpng-1.2.29-1.fc9.x86_64
libselinux-2.0.64-2.fc9.x86_64
libSM-1.1.0-1.fc9.x86_64
libstdc++-4.3.0-8.x86_64
libX11-1.1.4-1.fc9.x86_64
libXau-1.0.3-5.fc9.x86_64
libxcb-1.1-4.fc9.x86_64
libXcursor-1.1.9-2.fc9.x86_64
libXdmcp-1.0.2-5.fc9.x86_64
libXext-1.0.4-1.fc9.x86_64
libXfixes-4.0.3-3.fc9.x86_64
libXft-2.1.12-5.fc9.x86_64
libXi-1.1.3-4.fc9.x86_64
libxml2-2.6.32-2.fc9.x86_64
libXpm-3.5.7-4.fc9.x86_64
libXrandr-1.2.2-3.fc9.x86_64
libXrender-0.9.4-3.fc9.x86_64
libXtst-1.0.3-3.fc9.x86_64
zlib-1.2.3-18.fc9.x86_64



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Loading...