Subject: cannot compile xcolors under Linux with native X11
To: None <pkgsrc-users@netbsd.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: pkgsrc-users
Date: 04/30/2006 15:23:41
Hi all.
I cannot compile x11/xcolors under Linux/Debian with native X11.
X11_TYPE is not set in /etc/mk.conf, i.e. it should default
to native.
xpkgwedge-1.15 and x11-links-0.30 are installed.
Log:
==========================================================================
1 xcolors>bmake clean
===> Cleaning for xcolors-1.3nb2
0 xcolors>bmake
===> Checking for vulnerabilities in xcolors-1.3nb2
=> Checksum SHA1 OK for xcolors.tar.gz.
=> Checksum RMD160 OK for xcolors.tar.gz.
===> Extracting for xcolors-1.3nb2
===> Required installed package xpkgwedge>=1.15: xpkgwedge-1.15 found
===> Required installed package x11-links>=0.25: x11-links-0.30 found
===> Patching for xcolors-1.3nb2
===> Applying pkgsrc patches for xcolors-1.3nb2
===> Overriding tools for xcolors-1.3nb2
===> Creating toolchain wrappers for xcolors-1.3nb2
===> Configuring for xcolors-1.3nb2
imake -DUseInstalled -I/usr/pkg/lib/X11/config -I/usr/X11R6/lib/X11/config
make Makefiles
make includes
make depend
gccmakedep -- -I/usr/pkg/include -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DRGB_TXT=\"/usr/X11R6/lib/X11/rgb.txt\" -- xcolors.c
===> Building for xcolors-1.3nb2
gcc -g -O2 -fno-strict-aliasing -I/usr/pkg/include -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DRGB_TXT=\"/usr/X11R6/lib/X11/rgb.txt\" -I/usr/pkg/include -c -o xcolors.o xcolors.c
rm -f xcolors
gcc -o xcolors -g -O2 -fno-strict-aliasing -L/usr/pkg/lib -L/usr/X11R6/lib xcolors.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -L/usr/X11R6/lib -lm
/usr/bin/ld: cannot find -lXaw
collect2: ld returned 1 exit status
make: *** [xcolors] Error 1
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/x11/xcolors
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /mnt/hdb4/ftp/pub/pkgsrc/x11/xcolors/work/.work.log
===>
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/x11/xcolors
1 xcolors>
==========================================================================
Latest lines of /mnt/hdb4/ftp/pub/pkgsrc/x11/xcolors/work/.work.log
(cmd-sink) pop: -lSM
(cmd-sink) pop: -lICE
(cmd-sink) pop: -lXpm
(cmd-sink) pop: -lXext
(cmd-sink) pop: -lX11
(cmd-sink) pop: -L/mnt/hdb4/ftp/pub/pkgsrc/x11/xcolors/work/.x11-buildlink/lib
(cmd-sink) pop: -lm
(cmd-sink) pop: -I/mnt/hdb4/ftp/pub/pkgsrc/x11/xcolors/work/.buildlink/include
(cmd-sink) pop: -L/mnt/hdb4/ftp/pub/pkgsrc/x11/xcolors/work/.buildlink/lib
<.> /mnt/hdb4/ftp/pub/pkgsrc/x11/xcolors/work/.gcc/bin/gcc -o xcolors -g -O2 -fno-strict-aliasing -L/mnt/hdb4/ftp/pub/pkgsrc/x11/xcolors/work/.buildlink/lib -L/mnt/hdb4/ftp/pub/pkgsrc/x11/xcolors/work/.x11-buildlink/lib xcolors.o -I/mnt/hdb4/ftp/pub/pkgsrc/x11/xcolors/work/.buildlink/include -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lm
==========================================================================
Xaw and X11 libraries are in /usr/X11R6/lib directory:
0 xcolors>/bin/ls -a /usr/X11R6/lib/lib{X11,Xaw}*
/usr/X11R6/lib/libX11.a /usr/X11R6/lib/libXaw.a
/usr/X11R6/lib/libX11.so /usr/X11R6/lib/libXaw.so
/usr/X11R6/lib/libX11.so.6 /usr/X11R6/lib/libXaw.so.6
/usr/X11R6/lib/libX11.so.6.2 /usr/X11R6/lib/libXaw.so.6.1
/usr/X11R6/lib/libXaw3d.so.6 /usr/X11R6/lib/libXaw.so.7
/usr/X11R6/lib/libXaw3d.so.6.1 /usr/X11R6/lib/libXaw.so.7.0
0 xcolors>
==========================================================================
--
Best regards, Aleksey Cheusov.