On Saturday 17 July 2004 10:19 am, JRH wrote:
> Hi,
>
> I'm trying to install a program from source (qsstv, used for sending still
> images over radio), and Im getting qt3 and libjpeg errors. It's funny, as
> I'm trying to install Apollon from source, and getting exactly the same
> error. I'm running 10CE, with every available update installed. Can anyone
> tell me where things are going wrong?
>
> config.log and shell output is pasted below.
>
> Many Thanks,
>
> JRH
>
> int main() {
> jpeg_CreateDecompress(0L, 0, 0);
> ; return 0; }
> configure: 5248: /usr/include/jpeglib.h
> configure: 5248: /usr/local/include/jpeglib.h
> configure:5362: checking for Qt
> configure: 5424: /usr/lib/qt3//include/qstyle.h
> configure: 5424: /usr/lib/qt3//qstyle.h
> configure: 5424: /usr/lib/qt2/include/qstyle.h
> configure: 5424: /usr/lib/qt2/qstyle.h
> configure: 5424: /usr/lib/qt/include/qstyle.h
> configure: 5424: /usr/lib/qt/qstyle.h
> configure: 5424: /usr/local/qt/include/qstyle.h
> configure: 5424: /usr/include/qt/qstyle.h
> configure: 5424: /usr/include/qstyle.h
> configure: 5424: /usr/X11R6/include/X11/qt/qstyle.h
> configure: 5424: /usr/X11R6/include/qt/qstyle.h
> configure: 5424: /usr/X11R6/include/qt2/qstyle.h
> configure: 5424: /usr/X11R6/include/qstyle.h
> tried NO
> tried /usr/lib/qt3//lib
> tried /usr/lib/qt3/
> tried /usr/lib/qt2/lib
> tried /usr/lib/qt2
> tried /usr/lib/qt/lib
> tried /usr/lib/qt
> tried /usr/X11R6/lib
> tried /usr/lib
> tried /usr/local/qt/lib
> tried /usr/X11R6/lib
Here it was searching for qt.
> configure:5523: rm -rf SunWS_cache; c++ -o conftest -O2 -fno-exceptions
> -fno-check-new -INO -I/usr/X11R6/include -LNONE -L/usr/X11R6/lib
> conftest.C -lqt -lpng -lz -lm -lXext -lX11 -lSM -lICE -lresolv 1>&5
> conftest.C:2:21: qglobal.h: No such file or directory
> conftest.C:3:26: qapplication.h: No such file or directory
> conftest.C:4:20: qevent.h: No such file or directory
> conftest.C:5:21: qstring.h: No such file or directory
> conftest.C:6:20: qstyle.h: No such file or directory
> conftest.C:7:23: qiconview.h: No such file or directory
> conftest.C:9:2: #error 1
> configure: failed program was:
> #include "confdefs.h"
> #include <qglobal.h>
> #include <qapplication.h>
> #include <qevent.h>
> #include <qstring.h>
> #include <qstyle.h>
> #include <qiconview.h>
> #if ! (QT_VERSION >= 222)
This is the version of qt the program is compiled against.
> #error 1
> #endif
>
> int main() {
> QStringList *t = new QStringList();
> QIconView iv(0);
> iv.setWordWrapIconText(false);
> QString s;
> s.setLatin1("Elvis is alive", 14);
> int magnolia = QEvent::Speech; /* new in 2.2 beta2 */
> return 0;
> }
>
> And the shell output: (the relevant bit, anyhows!)
>
> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
> checking for IceConnectionNumber in -lICE... yes
> checking for libXext... yes
> checking for Xinerama... no
> checking for libpng... -lpng -lz -lm
> checking for libjpeg6b... no
> checking for libjpeg... no
> configure: warning: libjpeg not found. disable JPEG support.
> checking for Qt... configure: error: Qt (>= Qt 2.2.2) (headers and
The configure script could not find qt 2.2.2 on your system so it stopped.
> libraries) not found. Please check your installation!
> For more details about this problem, look at the end of config.log.
> [EMAIL PROTECTED] qsstv-5.1a]#
>
> Libqt & libjpeg are showing as installed on my system! Help!
So what it says is it needs qt 2.2.2 in order to compile.
You probably have a newer version of qt on your system so the configure script
stops when it does not find the right version.
For libjpeg you are probably missing a devel file such as libjpeg-devel-xxxxx
HTH
Regards,
Dan Gordon
--
Mon Jul 19 11:11:15 EDT 2004
11:11:15 up 11:11, 0 users, load average: 0.21, 0.16, 0.07
I love ROCK 'N ROLL! I memorized the all WORDS to "WIPE-OUT" in
1965!!
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________