Hello,

I received this error using your configure:

checking for Qt library (version >= 200)... no
configure: warning:
*** Could not run Qt test program, checking why...
*** Configure discovered/uses these settings:
*** Qt libraries: /usr/lib/qt3/lib
*** Qt headers: /usr/lib/qt3/include
*** Note:
***    Compilation of Qt utilities also might be turned off (if not wanted).
***    If you are experiencing problems which will not be described
***    bellow please report then on '[EMAIL PROTECTED]' mailing list
***    (i.e. some misdetection or omitted path)

configure: error:
*** Qt test program compiled, but did not run. This usually means
*** that the run-time linker is not finding Qt library or finding the wrong
*** version of Qt. If it is not finding Qt, you will need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system.
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
*** i.e. bash> export LD_LIBRARY_PATH=/usr/lib/qt3/lib:$LD_LIBRARY_PATH

There are lots of things inherently broken with this script that the
simple sticking '/usr/lib/qt3/lib/' in front of $LD_LIBRARY_PATH

First, if you look at the top of this output, I believe you want to
check for Qt Library 2.00 or greater, not 200.

Second for qt3, it uses pkg-config to get its version library number. 
Thus, configure needs to take this into account.  In fact, I do not see
how the heck it gets a version number in the first place!  So here is my
little hack to get around this:

(inside configure)
min_qt_version=2.00
echo "jay after: " $min_qt_version
echo "Jay ac_c " $ac_c
echo "Jay ac_cv_qt_version: " $ac_cv_qt_version
echo "Jay LIBS " $LIBS

ac_cv_qt_version=`pkg-config --modversion qt-mt`

# I don't understand this code block at all so I did not touch it
if test x$ac_have_qt = xyes ; then
    echo $ac_n "checking for Qt library (version >= $min_qt_version)""... $ac_c"
 1>&6
echo "configure:10209: checking for Qt library (version >= $min_qt_version)" >&5
    if eval "test \"`echo '$''{'ac_cv_qt_version'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6

So now I get a print-out as follows:
jay after:  2.00
Jay ac_c
Jay ac_cv_qt_version:
Jay LIBS  -lnsl -ldl
checking for Qt library (version >= 2.00)... (cached) found qt-mt version 3.2.2,
  libraries /usr/lib/qt3/lib, headers /usr/lib/qt3/include

In conclusion, 2.00, not 200, and re-do the configure so it uses pkg-config 
for qt3 and above (which anyone who wants to use k3b under KDE3+ with the
avifile program will need qt3+ anyways).

Jay Freyensee




_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to