PDA

View Full Version : Error compiling QT.



Shade
02-20-2003, 03:44 PM
I am having an error compiling QT-3.0.5 on Red Hat Linux 7.3. Any help as to whyI might be getting this error and how to fix it wouldbe much appriciated. Thank you in advace for reading this.


[root@localhost root]# cd /usr/lib/qt-3.0.5
[root@localhost qt-3.0.5]# export QTDIR=/usr/lib/qt-3.0.5
[root@localhost qt-3.0.5]# export PATH=$QTDIR/bin:$PATH
[root@localhost qt-3.0.5]# export MANPATH=$QTDIR/man:$MANPATH
[root@localhost qt-3.0.5]# export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
[root@localhost qt-3.0.5]# ./configure -thread && gmake && gmake install

This is the Qt/X11 Free Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license?
yes
Creating qmake. Please wait...
gmake -f Makefile qmake
gmake[1]: Entering directory `/usr/lib/qt-3.0.5/qmake'
g++-3.1 -o qmake project.o main.o makefile.o unixmake2.o unixmake.o borland_bmake.o msvc_nmake.o msvc_dsp.o option.o winmakefile.o projectgenerator.o metrowerks_xml.o pbuilder_pbx.o qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o qdatastream.o qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
gmake[1]: *** [qmake] Error 1
gmake[1]: Leaving directory `/usr/lib/qt-3.0.5/qmake'
gmake: *** [uqmake] Error 2
qmake failed to build. Aborting.
[root@localhost qt-3.0.5]#


Once again, thank you for taking your time in looking at this.

Iam_Walrus
02-20-2003, 03:56 PM
You didn't install libstdc++. I think the INSTALL.newbies file now says to install libstdc++3, but that's your issue.

Shade
02-20-2003, 04:23 PM
Ok, i think i figured it out, gosh im so dumb. It is compiling now as we speak, I had to change some lines but i think it is workin well. thanks for the help :)