[bt-devel] FreeBSD compile failure

Martin Gruner bt-devel@crosswire.org
Wed, 20 Mar 2002 17:02:54 +0100


Hello Bob,

I am no expert. But i guess your system has qt2 installed in /usr/X11R6/qt2, 
configure finds the headers correctly.
Try
configure --with-qt-dir=/usr/lib/X11R6/qt2

There is obviously a but in the configure script, because it does not check 
for this dir, instead it checks for /usr/lib/X11R6/lib twice.
You can also try --with-qt-libs.

hth, blessings,

Marin

> I am attempting to compile BibleTime under FreeBSD 4.5.  I have tried
> BibleTime 1.03 and 1.1beta1 with the exact same results.  Prior to
> attempting the compile, I installed sword 1.5.2 and kdelibs 2.2.2, which
> installed qt 2.3.1 as a dependency, so I was hopefully that a proper
> foundation had been laid.
>
> The failure is occurring when I run the .configure script.  Here is what
> I see:
>
> configure:7913: checking for Qt
> configure: 7973: /usr/lib/qt2/include/qstyle.h
> configure: 7973: /usr/lib/qt2/qstyle.h
> configure: 7973: /usr/lib/qt/include/qstyle.h
> configure: 7973: /usr/lib/qt/qstyle.h
> configure: 7973: /usr/local/qt/include/qstyle.h
> configure: 7973: /usr/include/qt/qstyle.h
> configure: 7973: /usr/include/qstyle.h
> configure: 7973: /usr/X11R6/include/X11/qt/qstyle.h
> configure: 7973: /usr/X11R6/include/qt/qstyle.h
> configure: 7973: /usr/X11R6/include/qt2/qstyle.h
> taking that
> tried NO
> 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
> configure:8065: rm -rf SunWS_cache; g++ -o conftest -O2 -fno-exceptions
> -fno-che
> ck-new -I/usr/X11R6/include/qt2 -I/usr/X11R6/include   -LNONE
> -L/usr/X11R6/lib
> conftest.cc  -lqt    -lXext -lX11 -lSM -lICE  1>&5
> /usr/libexec/elf/ld: cannot find -lqt
> configure:8068: $? = 1
>
> The qt libraries are installed in /usr/X11R6/lib
>
> Any help would be greatly appreciated!