Qt 3.0.3
Brian Witowski
brianw
Mon May 17 11:29:47 PDT 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Brian Witowski.vcf
Type: text/x-vcard
Size: 220 bytes
Desc: not available
Url : http://mail.linux-sxs.org/pipermail/linux-users/attachments/20020411/ef277997/BrianWitowski.vcf
More information about the Linux-users
mailing list