On Saturday 26 Jul 2003 12:12 pm, Sharrea wrote:
> On Sat, 26 Jul 2003 14:33, L.V.Gandhi wrote:
> > I have mandrake 9.1 system
> > I tried for compiling klcc tar.
> >
> > ./configure --prefix=/usr/local --with-qt-dir=/usr/lib/qt3
> > --with-qt-includes=/usr/lib/qt3/include
> > --with-qt-libraries=/usr/lib/qt3/lib
> >
> > checking for Qt... configure: error: Qt (>= Qt 3.0.3) (library qt-mt)
> > not found. Please check your installation!
> > For more details about this problem, look at the end of config.log.
> > Make sure that you have compiled Qt with thread support!
>
> <snip>
>
> Do you have the devel package installed?  That _may_ be the problem - I'm
> certainly no expert on compiling errors.
>
> Like I said, I used the source rpm klcc-2.0.3-2mdk.src.rpm which rebuilt
> without a problem on MDK9.0.
>
> These are the qt packages I have installed:
> $ rpm -qa | grep -i qt
> libqt3-devel-3.1.1-12mdk
> libqt3-psql-3.1.1-12mdk
> libqt3-mysql-3.1.1-12mdk
> libqt3-3.1.1-12mdk
> libqt3-common-3.1.1-12mdk
> libqt3-odbc-3.1.1-12mdk
>
> Note they are not version 3.0.3 that the klcc tarball is looking for.

the klcc tarball is looking for >= Qt 3.0.3.
Hence it is ok. I also have
libqt3-devel-3.1.1-12mdk
libqt3-3.1.1-12mdk
libqt3-common-3.1.1-12mdk
I hope only these min required.
Further /etc/ld.so.conf has
/usr/lib/qt3/lib.

Further I tried klcc-2.0.3-2mdk.src.rpm.
I got the following error.
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd klcc-2.0.3
+ echo 'Patch #0 (klcc-2.0.3-qt3-fixes.patch.bz2):'
Patch #0 (klcc-2.0.3-qt3-fixes.patch.bz2):
+ /usr/bin/bzip2 -d
+ patch -p1 -s
+ CFLAGS=-O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro
+ CXXFLAGS=-O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro
+ ./configure --libdir=/usr/lib --prefix=/usr --disable-rpath
./configure: line 1: expr: command not found
./configure: line 1: expr: command not found
./configure: line 1: expr: command not found
./configure: line 1: expr: command not found
./configure: line 382: expr: command not found
configure: error: expected an absolute path for --libdir:
error: Bad exit status from /var/tmp/rpm-tmp.71237 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.71237 (%prep)
I am at loss to understand where I am going wrong.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to