[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compile troubles



> This is off-subject for this list, my apologies.  I've read the archives of 
> kde-developer and kde-bugs and found nothing.  Also the kde-compilation-faq 
> seems to have nothing relevant.  It has to do with failure to compile kde2.1. 
> Please ignore this if it's too far off-subject.  But...if anyone has a clue 
> or a pointer... .  For example, where should I ask this question?
> 
> Sources:  
> qt-2.3.0-beta1 from ftp.trolltech.com/qt/source/qt-x11-2.3.0-beta1.tar.gz
> kde2.1 sources from 
> ftp.kde.org/pub/kde/stable/2.1/distribution/tar/generic/src/kdelibs-2.1.tar.bz2,
> etc., for the other packages.
> 
> System:
> Up-to-date VALinuxRedHat, version 6.2.4-beta 12
> X-windows 3.3.6
> kernel 2.2.18-pre11 from VALinux
> (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release))
>
> 
> Report:
> (1) Qt seems to compile correctly.  No evident errors. 
> (Used options: -sm -gif -system-jpeg -no-opengl) 
> By default: Xft support (Anti-Aliased Fonts) was set to "no".

that's good as it would fail otherwise as you only have X3.3.6. :)

> (4) Kde2 kdelibs begins to compile.  But there seems to
> be what I take to be a link error, as shown below, in kdeui.
> 
> (5) I even tried copying the Qt-libs from my debian box over to this one and 
> trying to compile against them.  Still, same error. 
> 
> -lqt -lpng -lz /usr/lib/libjpeg.so -lXext -lX11 -lSM -lICE 
> -L/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 
> -L/usr/i386-redhat-linux/lib -lstdc++ -lm -lc -lgcc -Wl,--rpath 
> -Wl,/usr/local/kde2/lib
> .libs/ktoolbar.o(.data+0x190): undefined reference to 
> `QToolBar::styleChange(QStyle &)'
> collect2: ld returned 1 exit status

why the heck is it trying to pull in redhat stuff?  

there are several things your doing differently here that I can't really
help you out with...your using rpath (which is against debian policy)...your
pulling in redhat libs or it's just something I'm not familiar with...

I can only truely support that which I'm familiar with..your obviously not
using the kde source+diffs I've created let along the qt+diffs I've created.

Your best bet for help then is to consult KDE and QT.

Ivan

-- 
----------------
Ivan E. Moore II
rkrusty@tdyc.com
http://snowcrash.tdyc.com
GPG KeyID=90BCE0DD
GPG Fingerprint=F2FC 69FD 0DA0 4FB8 225E 27B6 7645 8141 90BC E0DD



Reply to: