Subject: Re: qt3-lib on OS X
To: None <tech-pkg@netbsd.org>
From: MLH <mlh@goathill.org>
List: tech-pkg
Date: 04/15/2005 12:55:36
Manuel Bouyer wrote:

> On Thu, Apr 14, 2005 at 10:12:56AM -0700, Jeremy C. Reed wrote:
>> I see you already committed. I will have to give this a try.
... 
>> How is it working for you?
> 
> Quite well. I've been able to compile others qt3 packages without much
> troubles.
... 
>> Now I see the qt-x11-free in pkgsrc is now 3.3.4. That probably fixed
>> these problems. I forgot that was done in February -- thanks Adam.
> 
> Maybe. I didn't have anything else to patch than this. And it looks like
> Darwin is officially supported in qt.

qt3-libs-3.3.4 build for me on OS/X with your changes. I can't get
qt3-tools to build though.

/usr/pkg/bin/libtool --mode=link g++  -L/usr/pkg/lib -L/usr/pkg/qt3/lib -L/usr/lib -L/usr/X11R6/lib -L/opt/pkgsrc/x11/qt3-tools/work.belgium/qt-x11-free-3.3.4/lib -fno-exceptions  -L/usr/pkg/lib  -L/usr/pkg/qt3/lib -o ../../../bin/designer .obj/release-shared-mt/main.o    -L/usr/pkg/lib -L/usr/pkg/qt3/lib -L/usr/lib -L/usr/X11R6/lib -L/usr/pkg/qt3/lib -L/usr/pkg/lib -L/opt/pkgsrc/x11/qt3-tools/work.belgium/qt-x11-free-3.3.4/lib -L/usr/pkg/lib -L/usr/X11R6/lib -ldesignercore -L/opt/pkgsrc/x11/qt3-tools/work.belgium/qt-x11-free-3.3.4/lib -L/usr/pkg/lib -L/usr/pkg/qt3/lib -L/usr/lib -L/usr/X11R6/lib -lqui -lqassistantclient -lqt-mt -lpng -lz -lGLU -lGL -lXmu -lXrender -lXrandr -lXcursor -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lICE -lSM -lpthread
g++ -fno-exceptions -o ../../../bin/.libs/designer .obj/release-shared-mt/main.o -Wl,-bind_at_load  -L/usr/pkg/lib -L/usr/pkg/qt3/lib -L/usr/lib -L/usr/X11R6/lib -L/opt/pkgsrc/x11/qt3-tools/work.belgium/qt-x11-free-3.3.4/lib -ldesignercore /opt/pkgsrc/x11/qt3-tools/work.belgium/qt-x11-free-3.3.4/lib/.libs/libqui.dylib -L/opt/pkgsrc/x11/qt3-libs/work.belgium/qt-x11-free-3.3.4/lib /opt/pkgsrc/x11/qt3-tools/work.belgium/qt-x11-free-3.3.4/lib/.libs/libqassistantclient.dylib /usr/pkg/qt3/lib/libqt-mt.dylib /usr/pkg/lib/libpng.dylib /usr/pkg/lib/libGLU.dylib /usr/pkg/lib/libGL.dylib -lXmu /usr/pkg/lib/libXrandr.dylib /usr/pkg/lib/libXcursor.dylib /usr/pkg/lib/libXfixes.dylib /usr/pkg/lib/libXft.dylib /usr/pkg/lib/libXrender.dylib /usr/pkg/lib/libfontconfig.dylib /usr/pkg/lib/libfreetype.dylib /usr/pkg/lib/libz.dylib /usr/pkg/lib/libexpat.dylib /usr/lib/libiconv.dylib -lXext -lX11 -lm -lICE
-lSM -lpthread
ld: archive: /opt/pkgsrc/x11/qt3-tools/work.belgium/qt-x11-free-3.3.4/lib/libdesignercore.a has no table of contents, add one with ranlib(1) (can't load from it)
gnumake[3]: *** [../../../bin/designer] Error 1
gnumake[2]: *** [sub-app] Error 2
gnumake[1]: *** [sub-designer] Error 2
gnumake: *** [sub-tools] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/x11/qt3-tools