building cvs with 3.2.1

Benjamin Meyer ben at meyerhome.net
Fri Sep 5 03:46:55 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In the kdeui Makefile if I modified:

all_libraries = -L/usr/X11R6/lib -L/home/kdetest/qt-x11-free-3.2.1/lib 
- -L${exec_prefix}/lib 

to: 
all_libraries = -L/usr/X11R6/lib -L/home/kdetest/qt-x11-free-3.2.1/lib

 then I can get kdeui to compile and link against qt 3.2 (/home/kdetest/qtbla) 
and not qt3.1 (/usr/lib).

I am not sure how or why this is happening.  Anyone have any guesses?


Problem 2:
If I use --with-qt-dir then the following line in the Makefile(s) are 
generated, but if I don't then configure chooses the system over the local 
QTDIR and sets it to "".  Shouldn't configure choose the locally defined 
QTDIR/lib over the system?

qt_libraries = /home/kdetest/qt-x11-free-3.2.1/lib

- -Benjamin Meyer

On Wednesday 03 September 2003 10:00 pm, Benjamin Meyer wrote:
> Now that configure requires 3.2 I downloaded and compiled 3.2 in my cvs
> account (because I am using debian stable which only has 3.1).
>
> Place here:
> /home/kdetest/qt-x11-free-3.2.1/
>
> And I set up my .bash_profile:
> alias ducks='du -cks * | sort -rn | head -11'
> export QTDIR=/home/kdetest/qt-x11-free-3.2.1
> export KDEDIR=/opt/kde3
> export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
> export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH
> export CVSROOT=:pserver:bmeyer at cvs.kde.org:/home/kde
>
> make distclean in kdelibs and then
> ./configure
> But dcop fails to build
>
> make distclean in kdelibs and then:
> ./configure --with-qt-libraries=/home/kdetest/qt-x11-free-3.2.1/lib
>  and then dcop builds (qt_library get defined in the Makefile), but kdeui
> does not with the included error.  Two things.  1) why doesn't configure
> find the qt_libraries, but it finds the qt_includes (per defined in the
> Makefile after configure)?  2) any idea why kdeui seems to still be linking
> against /usr/lib/qt even though ~/qt-x11-free-3.2.1 should have presidence?
>
> -Benjamin Meyer
>
> make[1]: Entering directory `/home/kdetest/kdelibs/kdeui'
> /bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor
> -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings
> -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> -Wchar-subscripts -fno-builtin -g -O2 -fno-exceptions -fno-check-new
> -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
> -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libkdeui.la -rpath /opt/kde3/lib
> -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -version-info
> 6:0:2 qxembed.lo ksharedpixmap.lo kpixmapio.lo kpopupmenu.lo ktoolbar.lo
> kaction.lo kstdaction.lo kactioncollection.lo kactionclasses.lo
> kurllabel.lo kmenubar.lo kinputdialog.lo knuminput.lo klineedit.lo
> klistview.lo kprogress.lo kcolordialog.lo kselect.lo kdatepicker.lo
> kdatetbl.lo kfontrequester.lo kfontdialog.lo ktabctl.lo kstatusbar.lo
> kmainwindow.lo keditlistbox.lo kseparator.lo krestrictedline.lo
> kcolorbutton.lo
> ksystemtray.lo kbuttonbox.lo keditcl1.lo keditcl2.lo kled.lo
> kshortcutdialog.lo kkeybutton.lo kkeydialog.lo kruler.lo kcursor.lo
> klineeditdlg.lo kcharselect.lo kcolordrag.lo knumvalidator.lo kdialog.lo
> kdialogbase.lo kjanuswidget.lo kaboutdialog.lo kauthicon.lo kmessagebox.lo
> kdualcolorbutton.lo ktoolbarradiogroup.lo ktoolbarbutton.lo ktextbrowser.lo
> khelpmenu.lo kcmenumngr.lo kpanelmenu.lo kautoconfigdialog.lo kiconview.lo
> klistbox.lo kwordwrap.lo kbugreport.lo kcombobox.lo kpassdlg.lo
> kxmlguiclient.lo kxmlguifactory.lo kxmlguifactory_p.lo kxmlguibuilder.lo
> kedittoolbar.lo kpanelappmenu.lo kdockwidget.lo kdockwidget_private.lo
> kanimwidget.lo krootpixmap.lo kaboutkde.lo kaboutapplication.lo
> kpanelapplet.lo kdcopactionproxy.lo kcolorcombo.lo kpushbutton.lo
> kpanelextension.lo kcompletionbox.lo ksqueezedtextlabel.lo kcmodule.lo
> kcommand.lo kwindowlistmenu.lo kfontcombo.lo ktip.lo kdatewidget.lo
> karrowbutton.lo kmainwindowiface.lo kguiitem.lo kstdguiitem.lo
> kstringvalidator.lo kactivelabel.lo kwindowinfo.lo ktextedit.lo kwizard.lo
> kpassivepopup.lo ktoolbarhandler.lo kdatetimewidget.lo ktimewidget.lo
> ksconfig.lo kspelldlg.lo kspell.lo ksyntaxhighlighter.lo ktabbar.lo
> ktabwidget.lo ksplashscreen.lo kmainwindowiface_skel.lo kishortcutdialog.lo
> kspellui.lo ../kdecore/libkdecore.la
> .libs/qxembed.o: In function `QXEmbed::embed(unsigned long)':
> /home/kdetest/qt-x11-free-3.2.1/include/qstring.h:968: undefined reference
> to `QString::arg(long long, int, int) const'
> /home/kdetest/qt-x11-free-3.2.1/include/qstring.h:968: undefined reference
> to `QString::arg(long long, int, int) const'
> .libs/kpixmapio.o: In function `KPixmapIO::KPixmapIO(void)':
> /home/kdetest/qt-x11-free-3.2.1/include/qstring.h:959: undefined reference
> to `QString::setNum(long long, int)'
> /home/kdetest/qt-x11-free-3.2.1/include/qstring.h:959: undefined reference
> to `QString::setNum(long long, int)'
> /home/kdetest/qt-x11-free-3.2.1/include/qstring.h:959: undefined reference
> to `QString::setNum(long long, int)'
> /home/kdetest/qt-x11-free-3.2.1/include/qstring.h:959: undefined reference
> to `QString::setNum(long long, int)'
> .libs/kpopupmenu.o: In function `KPopupMenu::changeTitle(int, QString const
> &)':
> /home/kdetest/qt-x11-free-3.2.1/include/qstring.h:959: undefined reference
> to `QString::setNum(long long, int)'
> .libs/kpopupmenu.o:/home/kdetest/qt-x11-free-3.2.1/include/qstring.h:959:
> more undefined references to `QString::setNum(long long, int)' follow
> .libs/kpopupmenu.o: In function `KPopupMenu::underlineText(QString const &,
> unsigned int)':
> /home/kdetest/qt-x11-free-3.2.1/include/qstring.h:893: undefined reference
> to `QString::insertHelper(unsigned int, char const *, unsigned int)'
> .libs/ktoolbar.o: In function `KToolBar::removeItem(int)':
> /home/kdetest/qt-x11-free-3.2.1/include/qstring.h:959: undefined reference
> to `QString::setNum(long long, int)'
> etc for much more of the same

- -- 
Public Key: http://www.csh.rit.edu/~benjamin/public_key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/V/kf1rZ3LTw38vIRAn/pAKCayyp64OVpqOj6N9QE3D2CHkpO1wCgnsFR
a6g0TmHhMwz6Sme3LeIjMj8=
=t7AJ
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list