PDA

View Full Version : need help about compling QT in RH 8.0



james
11-28-2002, 07:17 PM
[]# cd /usr/lib/qt-2.3.2/
[]# export QTDIR=/usr/lib/qt-2.3.2/
[]# ./configure -thread
[]# make

i got stucked after ""make""
-----------------------------------------------------------------------------------
kernel/qt_x11.h:65:22: X11/Xlib.h: no such a folder or file
kernel/qt_x11.h:71:23: X11/Xutil.h: no such a folder or file
kernel/qt_x11.h:72:21: X11/Xos.h: no such a folder or file
kernel/qt_x11.h:73:23: X11/Xatom.h: no such a folder or file
kernel/qt_x11.h:84:34: X11/extensions/shape.h: no such a folder or file
kernel/qpsprinter.cpp: In member function `USHORT
QPSPrinterFontTTF::unicode_for_glyph(int)':
kernel/qpsprinter.cpp:3328: warning: `ULONG offset' might be used uninitialized
in this function
kernel/qpsprinter.cpp: In constructor `QPSPrinterFont::QPSPrinterFont(const
QFont&, QPSPrinterPrivate*)':
kernel/qpsprinter.cpp:5195: `XGetFontPath' undeclared (first use this function)
kernel/qpsprinter.cpp:5195: (Each undeclared identifier is reported only once
for each function it appears in.)
kernel/qpsprinter.cpp:5235: `XFreeFontPath' undeclared (first use this
function)
make[3]: *** [kernel/qpsprinter.o] Error 1
make[3]: Leaving directory `/usr/lib/qt-2.3.2/src'
make[2]: *** [src-mt] Error 2
make[2]: Leaving directory `/usr/lib/qt-2.3.2'
make[1]: *** [src-mt] Error 2
make[1]: Leaving directory `/usr/lib/qt-2.3.2'
make: *** [init] Error 2
-----------------------------------------------------------------------------------


anyone please help =(

high_jeeves
11-28-2002, 09:07 PM
You need to install everything mentioned in the INSTALL file (both the ShowEQ one, and the QT one).. not just the parts you feel like installing. Funny how those goofy INSTALL files have the information necessary for installing the product.

--Jeeves

WhO_CaReZ
11-29-2002, 03:36 AM
Got the same error when following the INSTALL.newbie. However if i followed the other guide "easiest install for RH 8.0" im also getting errors of that same sort. That and some packages were missing from my system but i couldnt install those packages because they were conflicting with some others.
First time installing RH 8.0 tho so i think its a personal error on my part, or could be that my disk just isnt large enough....3.2gb not the biggest hdd.

Oh well will try again during the weekend when i get home from my xmas party. What started out as fun installing RH now becomes an obsession, a challenge if you will, and its fun. Even if it doesnt work.

WhO_CaReZ
11-29-2002, 10:04 AM
Got around the first bug with the qt, simply downloaded and installed qt-3.0.5 that worked when running ./configure --without-qt-validation.

However when i run make now i get a new error:

[root@midgaard showeq]# make
make all-recursive
make[1]: Entering directory `/seq/showeq'
Making all in maps
make[2]: Entering directory `/seq/showeq/maps'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/seq/showeq/maps'
Making all in src
make[2]: Entering directory `/seq/showeq/src'
make all-am
make[3]: Entering directory `/seq/showeq/src'
/bin/sh ../libtool --mode=link g++ -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -o showeq main.o spawn.o spawnshell.o spawnlist.o spellshell.o spelllist.o vpacket.o editor.o filter.o m_spawnshell.o m_spawnlist.o m_spellshell.o m_spelllist.o m_editor.o packet.o m_packet.o interface.o m_interface.o compass.o m_compass.o map.o m_map.o util.o experiencelog.o m_experiencelog.o combatlog.o m_combatlog.o msgdlg.o m_msgdlg.o player.o m_player.o decode.o m_decode.o skilllist.o m_skilllist.o statlist.o m_statlist.o filtermgr.o m_filtermgr.o mapcore.o category.o m_category.o compassframe.o m_compassframe.o group.o m_group.o guild.o m_guild.o netdiag.o m_netdiag.o logger.o m_logger.o xmlconv.o xmlpreferences.o m_xmlpreferences.o seqwindow.o m_seqwindow.o seqlistview.o m_seqlistview.o zonemgr.o m_zonemgr.o spawnmonitor.o m_spawnmonitor.o spawnpointlist.o m_spawnpointlist.o spawnlistcommon.o m_spawnlistcommon.o spawnlist2.o m_spawnlist2.o itemdb.o m_itemdb.o gdbmconv.o -L/usr/lib/qt-3.0.5//lib -lqt-mt -lpthread -rpath /usr/lib/qt-3.0.5//lib -rpath no /usr/lib/libEQ.a -lgdbm -lz -lpcap
libtool: link: only absolute run-paths are allowed
make[3]: *** [showeq] Error 1
make[3]: Leaving directory `/seq/showeq/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/seq/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/seq/showeq'
make: *** [all] Error 2
[root@midgaard showeq]#


Any ideas ?


Did reinstall of RH8.0 used qt-2.3.2 found out why i got the error in the first place was cause i was missing the XFree86-devel-4.2.0-72.i386.rpm package, installed that and now my make of qt is running as we speak.

Note to self: SEARCH BUTTON IS YOUR FRIEND !