Subject: Re: x11/qt3-tools does not compile
To: Joe Reed <oki@netbsd.org>
From: Sverre Froyen <sverre@viewmark.com>
List: tech-pkg
Date: 01/06/2003 11:36:11
I had the same problem and bypassed it by placing symlinks for various 
libraries into the .buildlink directory (which is where ld is told to look).  
There are several in addition to -lqui.

Sverre


On Monday 06 January 2003 09:15, Joe Reed wrote:
> i updated libtool, made the change below to x11/qt3-libs/files/qmake.conf,
> rebuilt and reinstalled qt3-libs, and then attempted to rebuild qt3-tools.
>
> these seemed to solve the origional problem.  however, the build still
> fails when it tries to link the designer with the following:
>
> any ideas?
>  --joe
>
> ...snip...
> mv libqui.so.1.0.0 libqui.so libqui.so.1 libqui.so.1.0 ../../../lib/
> mv: rename libqui.so.1.0.0 to ../../../lib//libqui.so.1.0.0: No such file
> or directory
> gmake[3]: [../../../lib/libqui.so.1.0.0] Error 1 (ignored)
> gmake[3]: Leaving directory
> `/usr/pkgsrc/x11/qt3-tools/work.bork/qt-x11-free-3.0.6/tools/designer/uilib
>' cd designer && /usr/pkg/bin/gmake -f Makefile
> gmake[3]: Entering directory
> `/usr/pkgsrc/x11/qt3-tools/work.bork/qt-x11-free-3.0.6/tools/designer/desig
>n er'
> test -d ../../../bin/ || mkdir -p ../../../bin/
>
> ... large command ommitted for space it begins: libtool --mode=link c++ ..
>
> ld: cannot find -lqui
> gmake[3]: *** [../../../bin/designer] Error 1
> gmake[3]: Leaving directory
> `/usr/pkgsrc/x11/qt3-tools/work.bork/qt-x11-free-3.0.6/tools/designer/desig
>n er'
> gmake[2]: *** [sub-designer] Error 2
> gmake[2]: Leaving directory
> `/usr/pkgsrc/x11/qt3-tools/work.bork/qt-x11-free-3.0.6/tools/designer'
> gmake[1]: *** [sub-designer] Error 2
> gmake[1]: Leaving directory
> `/usr/pkgsrc/x11/qt3-tools/work.bork/qt-x11-free-3.0.6/tools'
> gmake: *** [sub-tools] Error 2
> *** Error code 2
>
> Stop.
> make: stopped in /usr/pkgsrc/x11/qt3-tools
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/x11/qt3-tools
>
> Masaru OKI writes:
> > On Mon, 6 Jan 2003 07:28:08 +0000
> > Subject: Re: x11/qt3-tools does not compile
> >
> > Nick Hudson <skrll@netbsd.org> wrote:
> >> On Monday 06 January 2003 12:40 am, Joe Reed wrote:
> >> > this just gets more and more interesting.  i rebuilt my system with
> >> > sources from mid-december( cvs update -PA -D 2002-12-15 ), and got the
> >> > exact same results.
> >>
> >> Try rebuilding your libtool - it needs to pick up the changes to the
> >> crt* files.
> >
> > pkgsrc/x11/qt3-libs/files/qmake.conf is outdated, maybe...
> > (QMAKE_DEL --> QMAKE_DEL_FILE and QMAKE_DEL_DIR)
> >
> > --
> > Masaru OKI <oki@netbsd.org>