Qt 3.0.3

Tim Wunder tim
Mon May 17 11:29:48 PDT 2004


As discussed in another thread, 'make install' doesn't seem to be required 
for installing qt3. Move the source to the directory where it needs to be 
installed and compile it in place. I've got mine in /usr/lib/qt3.0.3 with a 
symlink, /usr/lib/qt3->/usr/lib/qt3.0.3

HTH, 
Tim

Previously, Brian Witowski chose to write:
> Well, I thought I had Qt 3 istalled.  Without going into details, it did
> not properly install.
>
> So I pulled it out and tried again.  I un-tar'd it to /usr/local/ then
> renamed the resulting dir qt.  Did ./configure -thread.  No errors.  Did
> make.  No errors.  Did make install and get the following: (these are just
> the last several lines)
>
> 1 cp: `/usr/local/qt/mkspecs/linux-g++/qplatformdefs.h' and
> `/usr/local/qt/mkspecs/linux-2 g++/qplatformdefs.h' are the same file
> 3 make[2]: [install] Error 1 (ignored)
> 4 make[2]: Leaving directory `/usr/local/qt/qmake'
> 5 cd src/moc && make
> 6 make[2]: Entering directory `/usr/local/qt/src/moc'
> 7 make[2]: *** No rule to make target
> `/usr/local/qt/mkspecs/linux-g++/qmake.conf',   needed by `Makefile'. 
> Stop. 8 make[2]: Leaving directory `/usr/local/qt/src/moc'
> 9 make[1]: *** [src-moc] Error 2
> 10 make[1]: Leaving directory `/usr/local/qt'
> 11 make: *** [install] Error 2
>
> First off, the 1st line listed seems silly.  Why is it trying to copy a
> file to itself?
>
> Secondly, if I am reading line 7 correctly, it can't find
> /usr/local/qt/mkspecs/linux-g++/qmake.conf.  Am I right?  And it makes
> sense.  I checked /usr/local/qt/mkspecs/linux-g++ and it was empty.
>
> If thats the case, here are some observations.  After doing ./configure and
> before doing 'make', there were qmake.conf and qplatformdefs.h in every
> platform folder in /usr/local/qt/mkspecs.  But after doing 'make' and
> before doing 'make install', they were all gone (the files, not the
> folders).
>
> Knowing this, I started from scratch and made copies of qmake.conf and
> qplatformdefs.h and put them aside for save keeping. (after doing
> ./configure -thread)  Before doing 'make install', I put the files in
> /usr/local/qt/mkspecs/linux-g++.  Then I ran 'make install'.  Got the same
> errors.  But, when I looked at qmake.conf and qplatformdefs.h they both
> contained error messages as the ONLY text.  qmake.conf contained
> 'Content-length: 61
> Failed to open /usr/local/qt/mkspecs/linux-g++/qmake.conf :' and
> qplatformdefs.h contained 'Content-length: 66
> Failed to open /usr/local/qt/mkspecs/linux-g++/qplatformdefs.h :'.
>
> Here are my /root/.profile entries:
>
>
> QTDIR=/usr/local/qt
> PATH=$QTDIR/bin:$PATH
> MANPATH=$QTDIR/doc/man
> LD_LIBRARY_PATH=$QTDIR/lib
> export QTDIR PATH MANPATH LD_LIBRARY_PATH QMAKESPEC PATH
>
> I've found nothing of use at Trolltech.  If anybody can shed any light on
> this, I'd be grateful.
>
> Brian

-- 
Caldera eWorkstation 3.1, kernel 2.4.9, KDE 2.2.2 from source, Xfree86 4.1.0
  8:00pm  up 8 days, 20:35,  4 users,  load average: 0.00, 0.00, 0.00
It's what you learn AFTER you know it all that counts



More information about the Linux-users mailing list