Re: Qt (>= Qt 3.1.0) (library qt-mt) not found.

2003-06-25 Thread Lukasz Lesniak
Hi.

Solution:
Unistall gcc, g++, cpp etc. 
Install all newest compiler >=3.0 and required packages.
Configure qt with -no-xkb

So, now I compile KDE and waiting for result

Thanks, Andreas!

PS. Somebody know, why xfb making problems?


>First solution:
>try a export LDFLAGS=-lfreetype before the configure of
> KDE.
>second solution:
>recompile qt using the -no-xft option with the configure 
> script. This
>does not necessarily turn of AA-Fonts, they work here and I 
don't have
>xft-support in QT.
>
>Andreas





Re: Re: Re: Qt (>= Qt 3.1.0) (library qt-mt) not found.

2003-06-23 Thread Andreas Pakulat
On 23.Jun 2003 - 14:48:20, Lukasz Lesniak wrote:
> I have Qt 3.2.0b1 installed and compiled from source.
> The instruction for instalation this version of Qt suggest 
> QTDIR=/usr/local/qt
> and I have this path to my new Qt.
> 
> I red some suggestions from net about Qt and I try 
> also ./configure --with-qt-dir=/usr/local/qt because I have 
> there Qt. The same result ...
> 
> There is a fragment of config.log, but I can't read this:
> "PATH: /usr/local/qt/bin
> configure: 24697: /usr/local/qt/include/qstyle.h
> configure:24803: rm -rf SunWS_cache; g++ -o conftest -
> Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -
> W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -
> ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-
> align -Wconversion -O2 -fno-exceptions -fno-check-new -
> I/usr/local/qt/include -I/usr/X11R6/include  -
> DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/local/qt/lib -
> L/usr/X11R6/lib   conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -
> lXext -lX11 -lSM -lICE  -lpthread 1>&5
> /usr/local/qt/lib/libqt-mt.so: undefined reference to 
> `FT_Stream_GetShort'
> /usr/local/qt/lib/libqt-mt.so: undefined reference to 
> `FT_Stream_ExitFrame'
> /usr/local/qt/lib/libqt-mt.so: undefined reference to 
> `FT_Stream_GetLong'
> /usr/local/qt/lib/libqt-mt.so: undefined reference to 
> `FT_Stream_Seek'
> /usr/local/qt/lib/libqt-mt.so: undefined reference to 
> `FT_Stream_EnterFrame'
> configure:24846: error: Qt (>= Qt 3.1.0) (library qt-mt) not 
> found. Please check your installation! "

These are from freetype, so you configured Qt with -xft (or it did this
by itselft). However the KDE configure script does not know this, and
because of that the -lfreetype option is not included, causing these
undefined references.

First solution:
try a
export LDFLAGS=-lfreetype before the configure of KDE.

second solution:
recompile qt using the -no-xft option with the configure script. This
does not necessarily turn of AA-Fonts, they work here and I don't have
xft-support in QT.

Andreas

-- 
You have a deep appreciation of the arts and music.




Re: Re: Re: Qt (>= Qt 3.1.0) (library qt-mt) not found.

2003-06-23 Thread Lukasz Lesniak
I have Qt 3.2.0b1 installed and compiled from source.
The instruction for instalation this version of Qt suggest 
QTDIR=/usr/local/qt
and I have this path to my new Qt.

I red some suggestions from net about Qt and I try 
also ./configure --with-qt-dir=/usr/local/qt because I have 
there Qt. The same result ...

There is a fragment of config.log, but I can't read this:
"PATH: /usr/local/qt/bin
configure: 24697: /usr/local/qt/include/qstyle.h
configure:24803: rm -rf SunWS_cache; g++ -o conftest -
Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -
W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -
ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-
align -Wconversion -O2 -fno-exceptions -fno-check-new -
I/usr/local/qt/include -I/usr/X11R6/include  -
DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/local/qt/lib -
L/usr/X11R6/lib   conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -
lXext -lX11 -lSM -lICE  -lpthread 1>&5
/usr/local/qt/lib/libqt-mt.so: undefined reference to 
`FT_Stream_GetShort'
/usr/local/qt/lib/libqt-mt.so: undefined reference to 
`FT_Stream_ExitFrame'
/usr/local/qt/lib/libqt-mt.so: undefined reference to 
`FT_Stream_GetLong'
/usr/local/qt/lib/libqt-mt.so: undefined reference to 
`FT_Stream_Seek'
/usr/local/qt/lib/libqt-mt.so: undefined reference to 
`FT_Stream_EnterFrame'
configure:24846: error: Qt (>= Qt 3.1.0) (library qt-mt) not 
found. Please check your installation! "


Andreas Pakulat <[EMAIL PROTECTED]>:

>On 23.Jun 2003 - 13:00:38, Lukasz Lesniak wrote:
>> Yes, I set QTDIR correctly and sucessfully compiled Qt.
>> 
>> I think there isn't good idea to install libqt3 with apt-get, 
>> because libqt3 has version 3.0.3 and will be make 
problem.
>
>No there isn't and I did not say to do so, but I wanted to 
know if
>you already did an apt-get isntall libqt3
>
>> dpkg -l | grep qt returns nothing so I haven't any *qt* libs 
>> installed from .deb ...
>
>That's fine.
>
>I saw another thing in your original post:
>--with-qt-includes=/usr/include/qt3/
>--with-qt-libraries=/usr/lib/qt3
>
>But you said that you installed qt3.2.0b into /usr/local/qt3, 
so this
>should be:
>--with-qt-includes=/usr/local/qt3/includes
>--with-qt-libraries=/usr/local/qt3/lib
>
>or shorter:
>--with-qt-dir=/usr/local/qt3
>
>And if that doesn't help, have a look at the config.log for the 
line
>Checking for Qt and look further down, there will be an 
error message
>explaining what failed. Normally the configure tries to 
compile a small
>program to check if Qt works properly.
>
>Andreas
>
>-- 
>You'll feel much better once you've given up hope.
>
>
>-- 
>To UNSUBSCRIBE, email to debian-kde-
[EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact 
[EMAIL PROTECTED]
>
>




Re: Qt (>= Qt 3.1.0) (library qt-mt) not found.

2003-06-23 Thread Lukasz Lesniak
Sorry Todd, i mean your answer make no sense. I 
successfully compile & install Qt 3.2.0b1 from source.

I am trying to compile KDE 3.1.2 and this KDE install itself 
in /usr/local/kde.

The problem is in Qt libs.

Thakns, luke.

Todd Collins <[EMAIL PROTECTED]>:

>QTDIR=/usr/local/qt
>KDEDIR=/usr/local/kde
>KDEHOME=/home/your user name/.kde
>PATH=$PATH:$QTDIR/bin:$KDEDIR/bin
>MANPATH=$QTDIR/doc/man:$MANPATH
>LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib
>export QTDIR PATH MANPATH LD_LIBRARY_PATH
>
>make/edit your /home/your user name/.profile to  look  
something like this the (the qt part anyway). Log out then log 
back in and check with 'echo $QTDIR'
>
>
>On Mon, 23 Jun 2003 11:00:27 +
>Lukasz Lesniak <[EMAIL PROTECTED]> wrote:
>
>> Hello.
>> 
>> I am using Debian Woody
>> 
>> I have install Qt version 3.2.0b1 for X11
>> (qt-x11-free-3.2.0b1.tar.gz) from Trolltech. I install this 
with 
>> -thread etc.
>> 
>> When I try to ./configure KDE ie. arts, kdelibs I see this 
>> message:
>> "checking for Qt... configure: error: Qt (>= Qt 3.1.0) 
(library 
>> qt-mt) not found. Please check your installation!"
>> 
>> So i put ldconfig | grep qt
>> and I see
>> /usr/local/qt/lib
>> libqt-mt.so.3 -> libqt-mt.so.3.2.0
>> 
>> Hmmm, i don't understand this, because 3.2.0 >= 3.1.0.
>> 
>> Suggestions:
>> --with-qt-includes=/usr/include/qt3/
>> --with-qt-libraries=/usr/lib/qt3
>> and other --with- NOT WORKING
>> 
>> Should I install any devs? And why install for example 
libqt3-
>> mt so I compile this qt-mt before in my system ...
>> 
>> luke.
>> 
>> 
>> 
>> 
>> -- 
>> To UNSUBSCRIBE, email to debian-kde-
[EMAIL PROTECTED]
>> with a subject of "unsubscribe". Trouble? Contact 
[EMAIL PROTECTED]
>> 
>
>
>-- 
>
>
>-- 
>To UNSUBSCRIBE, email to debian-kde-
[EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact 
[EMAIL PROTECTED]
>
>




Re: Re: Qt (>= Qt 3.1.0) (library qt-mt) not found.

2003-06-23 Thread Andreas Pakulat
On 23.Jun 2003 - 13:00:38, Lukasz Lesniak wrote:
> Yes, I set QTDIR correctly and sucessfully compiled Qt.
> 
> I think there isn't good idea to install libqt3 with apt-get, 
> because libqt3 has version 3.0.3 and will be make problem.

No there isn't and I did not say to do so, but I wanted to know if
you already did an apt-get isntall libqt3

> dpkg -l | grep qt returns nothing so I haven't any *qt* libs 
> installed from .deb ...

That's fine.

I saw another thing in your original post:
--with-qt-includes=/usr/include/qt3/
--with-qt-libraries=/usr/lib/qt3

But you said that you installed qt3.2.0b into /usr/local/qt3, so this
should be:
--with-qt-includes=/usr/local/qt3/includes
--with-qt-libraries=/usr/local/qt3/lib

or shorter:
--with-qt-dir=/usr/local/qt3

And if that doesn't help, have a look at the config.log for the line
Checking for Qt and look further down, there will be an error message
explaining what failed. Normally the configure tries to compile a small
program to check if Qt works properly.

Andreas

-- 
You'll feel much better once you've given up hope.




Re: Qt (>= Qt 3.1.0) (library qt-mt) not found.

2003-06-23 Thread Todd Collins
QTDIR=/usr/local/qt
KDEDIR=/usr/local/kde
KDEHOME=/home/your user name/.kde
PATH=$PATH:$QTDIR/bin:$KDEDIR/bin
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib
export QTDIR PATH MANPATH LD_LIBRARY_PATH

make/edit your /home/your user name/.profile to  look  something like this the 
(the qt part anyway). Log out then log back in and check with 'echo $QTDIR'


On Mon, 23 Jun 2003 11:00:27 +
Lukasz Lesniak <[EMAIL PROTECTED]> wrote:

> Hello.
> 
> I am using Debian Woody
> 
> I have install Qt version 3.2.0b1 for X11
> (qt-x11-free-3.2.0b1.tar.gz) from Trolltech. I install this with 
> -thread etc.
> 
> When I try to ./configure KDE ie. arts, kdelibs I see this 
> message:
> "checking for Qt... configure: error: Qt (>= Qt 3.1.0) (library 
> qt-mt) not found. Please check your installation!"
> 
> So i put ldconfig | grep qt
> and I see
> /usr/local/qt/lib
> libqt-mt.so.3 -> libqt-mt.so.3.2.0
> 
> Hmmm, i don't understand this, because 3.2.0 >= 3.1.0.
> 
> Suggestions:
> --with-qt-includes=/usr/include/qt3/
> --with-qt-libraries=/usr/lib/qt3
> and other --with- NOT WORKING
> 
> Should I install any devs? And why install for example libqt3-
> mt so I compile this qt-mt before in my system ...
> 
> luke.
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


-- 




Re: Re: Qt (>= Qt 3.1.0) (library qt-mt) not found.

2003-06-23 Thread Lukasz Lesniak
Yes, I set QTDIR correctly and sucessfully compiled Qt.

I think there isn't good idea to install libqt3 with apt-get, 
because libqt3 has version 3.0.3 and will be make problem.
I still don't understand why should/must install libqt, so i 
compile and install new version of it?

dpkg -l | grep qt returns nothing so I haven't any *qt* libs 
installed from .deb ...


Andreas Pakulat <[EMAIL PROTECTED]>:
>Did you set QTDIR=/usr/local/qt? Do you have a libqt3 
installed with
>apt - so you have 2 libqt3's on your system?
>
>If QTDIR doesn't help, you could check the configure script 
on what it
>does to check for QT3.1.0 . Sometimes things are changed 
(like header
>filenames or so) between to releases of qt and then the 
configure
>scripts don't work anymore.
>
>Andreas





Re: Qt (>= Qt 3.1.0) (library qt-mt) not found.

2003-06-23 Thread Andreas Pakulat
On 23.Jun 2003 - 11:00:27, Lukasz Lesniak wrote:
> Hello.
> 
> I am using Debian Woody
> 
> I have install Qt version 3.2.0b1 for X11
> (qt-x11-free-3.2.0b1.tar.gz) from Trolltech. I install this with 
> -thread etc.
> 
> When I try to ./configure KDE ie. arts, kdelibs I see this 
> message:
> "checking for Qt... configure: error: Qt (>= Qt 3.1.0) (library 
> qt-mt) not found. Please check your installation!"
> 
> So i put ldconfig | grep qt
> and I see
> /usr/local/qt/lib
> libqt-mt.so.3 -> libqt-mt.so.3.2.0
> 
> Hmmm, i don't understand this, because 3.2.0 >= 3.1.0.
> 
> Suggestions:
> --with-qt-includes=/usr/include/qt3/
> --with-qt-libraries=/usr/lib/qt3
> and other --with- NOT WORKING
> 
> Should I install any devs? And why install for example libqt3-
> mt so I compile this qt-mt before in my system ...

Did you set QTDIR=/usr/local/qt? Do you have a libqt3 installed with
apt - so you have 2 libqt3's on your system?

If QTDIR doesn't help, you could check the configure script on what it
does to check for QT3.1.0 . Sometimes things are changed (like header
filenames or so) between to releases of qt and then the configure
scripts don't work anymore.

Andreas

-- 
While you recently had your problems on the run, they've regrouped and
are making another attack.