QT Install problems
Tim Wunder
tim
Mon May 17 11:29:37 PDT 2004
Douglas J Hunley wrote:
> On Sunday 07 April 2002 14:11, Brian Witowski wrote:
>
>>make[2]: Entering directory `/usr/local/qt/qmake'
>>[ -d /usr/local/qt/bin ] || mkdir -p /usr/local/qt/bin
>
>
> is this directory getting made?
>
>
>>cp -f /usr/local/qt/bin/qmake /usr/local/qt/bin
>
>
> this line is wrong. it's trying to copy qmake over itself. what is the value
> of QTDIR?
>
OK, I'm getting a similar problem with checkinstall.
My $QTDIR="/usr/lib/qt3.0.3"
QT compiles, ie "make" completes without error (I had to add $QTDIR and
$QTDIR/qmake to my $PATH, but it compiled). When I execute
"checkinstall", it errors out as follows:
---------------------------------------
A bunch of errors like this (this happens to be the last of many):
cp: `/usr/lib/qt3.0.3/mkspecs/linux-kcc/qmake.conf' and
`/usr/lib/qt3.0.3/mkspecs/linux-kcc/qmake.conf' are the same file
followed by:
make[2]: [install] Error 1 (ignored)
make[2]: Leaving directory `/usr/lib/qt3.0.3/qmake'
cd src/moc && make
make[2]: Entering directory `/usr/lib/qt3.0.3/src/moc'
make[2]: *** No rule to make target
`/usr/lib/qt3.0.3/mkspecs/linux-g++/qmake.conf', needed by `Makefile'.
Stop.
make[2]: Leaving directory `/usr/lib/qt3.0.3/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/usr/lib/qt3.0.3'
make: *** [install] Error 2
**** Installation failed. Aborting package creation.
Restoring overwritten files from backup...OK
Cleaning up...OKcp: `/usr/lib/qt3.0.3/mkspecs/linux-kcc/qmake.conf' and
`/usr/lib/qt3.0.3/mkspecs/linux-kcc/qmake.conf' are the same file
make[2]: [install] Error 1 (ignored)
make[2]: Leaving directory `/usr/lib/qt3.0.3/qmake'
cd src/moc && make
make[2]: Entering directory `/usr/lib/qt3.0.3/src/moc'
make[2]: *** No rule to make target
`/usr/lib/qt3.0.3/mkspecs/linux-g++/qmake.conf', needed by `Makefile'.
Stop.
make[2]: Leaving directory `/usr/lib/qt3.0.3/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/usr/lib/qt3.0.3'
make: *** [install] Error 2
**** Installation failed. Aborting package creation.
Restoring overwritten files from backup...OK
Cleaning up...OK
Bye.
---------------------------------------
I'm gonna start over and see what happens...
BTW, If I'm compiling qt3 in the directory where it will ultimately be
installed, is there a reason to even perfom a 'make install'?
Regards,
Tim
PS FWIW, 'make install', as expected, creates the same error.
More information about the Linux-users
mailing list