Menu

#22 Can't compile on RedHat 7.2

open
nobody
None
5
2002-11-22
2002-11-22
Matt Oelfke
No

When I try to compile on my RedHat system, I get a huge list of errors like these:

/usr/lib/kde3/plugins//designer/kdewidgets-gcc2.96.so: Feature KCModule already defined in /usr/lib/kde3/plugins//designer/kdewidgets.so!
/usr/lib/kde3/plugins//designer/kdewidgets-gcc2.96.so: Feature KCharSelect already defined in /usr/lib/kde3/plugins//designer/kdewidgets.so!
/usr/lib/kde3/plugins//designer/kdewidgets-gcc2.96.so: Feature KColorButton already defined in /usr/lib/kde3/plugins//designer/kdewidgets.so!

I have KDE 3.0.4 (but it didn't work on KDE 3.0.3 or 3.0.2 either). I tried compiling with the two RedHat source RPMs on the kbear site (even though they were for a higher version of RH) and the standard source .tar.bz2, and none worked. I can't use the binary packages because they seem to rely on GCC 3, which I don't have (and would like to avoid getting, if it is possible)
What's wrong?

Discussion

  • Bj�rn Sahlstr�m

    Logged In: YES
    user_id=145300

    Well it seems as you have two kdewidgets.so but with different
    names who conflivts with each other.
    Maybe you have installed rpms and then compiled kdelibs
    your self too ?

     
  • Matt Oelfke

    Matt Oelfke - 2002-11-26

    Logged In: YES
    user_id=134079

    The single kdelibs RPM I have (which was compiled from source RPMS) installs BOTH files. Which one do you think I should get rid of?

     
  • Matt Oelfke

    Matt Oelfke - 2003-01-05

    Logged In: YES
    user_id=134079

    I decided to get rid of kdewidgets.so and leave kdewidgets-gcc2.96.so for the time being, but I still get some weird error I can't identify:

    /usr/lib/qt3-gcc2.96/bin/moc kbearquickconnectbase.h -o kbearquickconnectbase.moc
    rm -f kbearquickconnectbase.cpp
    echo '#include <klocale.h>' > kbearquickconnectbase.cpp
    /usr/lib/qt3-gcc2.96/bin/uic -L /usr/lib/kde3/plugins/designer -nounload -tr tr2i18n -i kbearquickconnectbase.h ./kbearquickconnectbase.ui > kbearquickconnectbase.cpp.temp ; ret=$?; \ sed -e "s,tr2i18n( \"\" ),QString::null,g" kbearquickconnectbase.cpp.temp | sed -e "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | sed -e "s,image\([0-9][0-9]*\)_data,img\1_kbearquickconnectbase,g" >> kbearquickconnectbase.cpp ;\ rm -f kbearquickconnectbase.cpp.temp ;\ if test "$ret" = 0; then echo '#include "kbearquickconnectbase.moc"' >> kbearquickconnectbase.cpp; else rm -f kbearquickconnectbase.cpp ; exit $ret ; fi
    make[3]: *** [kbearquickconnectbase.cpp] Error 139
    make[3]: Leaving directory `/usr/src/redhat/BUILD/kbear-2.1/kbear/base'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/usr/src/redhat/BUILD/kbear-2.1/kbear'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/src/redhat/BUILD/kbear-2.1'
    make: *** [all] Error 2
    error: Bad exit status from /var/tmp/rpm-tmp.17865 (%build)

     

Log in to post a comment.