Subject: Re: pkg/35877: current tightvncviewer fails to build on current NetBSD/amd64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Thomas Klausner <wiz@NetBSD.org>
List: pkgsrc-bugs
Date: 03/01/2007 03:20:03
The following reply was made to PR pkg/35877; it has been noted by GNATS.
From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/35877: current tightvncviewer fails to build on current NetBSD/amd64
Date: Thu, 1 Mar 2007 04:18:48 +0100
On Wed, Feb 28, 2007 at 10:20:01PM +0000, szilagyi@acer.szilagyi wrote:
> I've never been able to build tightvncviewer on amd64,
> gettings errors like this:
>
> ===> Building for tightvncviewer-1.2.9nb2
> make: don't know how to make <built-in>. Stop
> make: stopped in /usr/pkgsrc/net/tightvncviewer/work/vnc_unixsrc/libvncauth
> make: stopped in /usr/pkgsrc/net/tightvncviewer
Builds fine for me and 4.99.13/amd64:
=> Checking for portability problems in extracted files
imake -DUseInstalled -I/usr/pkg/lib/X11/config -I/usr/X11R6/lib/X11/config
make Makefiles
make includes
make depend
rm -f .depend
gccmakedep -f- -- -I. -I../include -I/usr/pkg/include -I/usr/X11R6/include -DCSRG_BASED -D__AMD64__ -DFUNCPROTO=15 -DNARROWPROTO -- vncauth.c d3des.c > .depend
imake -DUseInstalled -I/usr/pkg/lib/X11/config -I/usr/X11R6/lib/X11/config
make Makefiles
make includes
make depend
rm -f .depend
gccmakedep -f- -- -I../include -I. -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/pkg/include -I/usr/X11R6/include -DCSRG_BASED -D__AMD64__ -DFUNCPROTO=15 -DNARROWPROTO -- argsresources.c colour.c cursor.c desktop.c dialogs.c fullscreen.c listen.c misc.c
popup.c rfbproto.c selection.c shm.c sockets.c tunnel.c vncviewer.c > .depend
===> Building for tightvncviewer-1.2.9nb2
cc -O2 -fno-strict-aliasing -I. -I../include -I/usr/pkg/include -I/usr/X11R6/include -DCSRG_BASED -D__AMD64__ -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -I/usr/include -c vncauth.c
cc -O2 -fno-strict-aliasing -I. -I../include -I/usr/pkg/include -I/usr/X11R6/include -DCSRG_BASED -D__AMD64__ -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -I/usr/include -c d3des.c
rm -f libvncauth.a
ar clq libvncauth.a vncauth.o d3des.o
ranlib libvncauth.a
cc -O2 -fno-strict-aliasing -I../include -I. -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/pkg/include -I/usr/X11R6/include -DCSRG_BASED -D__AMD64__ -DFUNCPROTO=15 -DNARROWPROTO -I/usr/pkg/include -I/usr/include -c argsresources.c
...
rm -f vncviewer
cc -o vncviewer -O2 -fno-strict-aliasing -L/usr/pkg/lib -L/usr/X11R6/lib argsresources.o colour.o cursor.o desktop.o dialogs.o fullscreen.o listen.o misc.o popup.o rfbproto.o selection.o shm.o sockets.o tunnel.o vncviewer.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 ../libvncauth/libvncauth.a -L/usr/local/lib -lz -L/usr/local/lib -ljpeg -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/pkg/lib:/usr/X11R6/lib
rm -f vncviewer._man
cd `dirname vncviewer` && ln -s `basename vncviewer.man` `basename vncviewer._man`
=> Unwrapping files-to-be-installed.
#
Any particular settings in /etc/mk.conf?
What X are you using, /usr/xsrc or pkgsrc X.org?
Thomas