Menu

#6 configure fails on FreeBSD 4.3

open
nobody
None
5
2001-07-17
2001-07-17
Anonymous
No

i downloaded the tarball and ran (after a few tries)
./configure
--with-extra-includes=/usr/X11R6/include/qt2
--with-extra-libs=/usr/X11R6/lib

The Qt 2.2.4 libs and includes are present in the indicated
directories, but here's the tail end of configure.log:

configure:5432: rm -rf SunWS_cache; g++ -o conftest -O2
-fno-exceptions -fno-check-new -Wall -pedantic -W
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-Wno-long-long -Wnon-virtual-dtor -fno-builtin -INO
-I/usr/X11R6/include -LNONE -L/usr/X11R6/lib
conftest.C -lqt -lXext -lX11 -lSM -lICE 1>&5
conftest.C:2: qglobal.h: No such file or directory
conftest.C:3: qapplication.h: No such file or directory
conftest.C:4: qapp.h: No such file or directory
conftest.C:5: qobjcoll.h: No such file or directory
conftest.C:6: qevent.h: No such file or directory
conftest.C:7: qstring.h: No such file or directory
conftest.C:8: qstyle.h: No such file or directory
conftest.C:9: qiconview.h: No such file or directory
conftest.C:11: #error 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qapp.h>
#include <qobjcoll.h>
#include <qevent.h>
#include <qstring.h>
#include <qstyle.h>
#include <qiconview.h>
#if ! (QT_VERSION >= 222)
#error 1
#endif

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Notice that the compile command does not have an '-I' switch
    for the extra include directory, nor does it have a '-L' or
    '-R' switch for the extra lib.

     
  • Nobody/Anonymous

    Logged In: NO

    Notice the absence on the compile command of '-I' and
    '-L' or '-R' switches for the extra directories. Perhaps I specified
    the directories incorrectly?

     
  • lee doolan

    lee doolan - 2001-07-17

    Logged In: YES
    user_id=33756

    Those last comments were not quite correct. The '-L' switch
    appears correctly on the compile command, the '-I' switch,
    however, seems to be missing.

     

Log in to post a comment.