Subject: Re: cannot compile xcolors under Linux with native X11
To: Jeremy C. Reed <reed@reedmedia.net>
From: Aleksey Cheusov <cheusov@tut.by>
List: pkgsrc-users
Date: 05/02/2006 01:22:21
 >> /usr/bin/ld: cannot find -lXaw
> ...
 >> Xaw and X11 libraries are in /usr/X11R6/lib directory:

> pkgsrc uses the buildlinking (and x11-links in your case) not 
> /usr/X11R6/lib directly.

> Make sure your work/.buildlink/lib directory has this.

> Also make sure your x11-links package provides it.
I found the problem. x11-links package was installed incorrectly.
Note that in the following log awk failed but exit status of bmake is
zero :(

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0 x11-links>bmake install
===> Checking for vulnerabilities in x11-links-0.30
===> Installing for x11-links-0.30
===> Becoming root@cheh to install x11-links.
/bin/su Password: 
/usr/bin/install -d -o root -g root -m 755 /usr/pkg/share/x11-links
cd /mnt/hdb4/ftp/pub/pkgsrc/pkgtools/x11-links/work/share/x11-links && /usr/pkg/bin/pax -rw . /usr/pkg/share/x11-links
awk: run time error: regular expression compile failed (Invalid content of \{\})
\${LOWER_VENDOR}
        FILENAME="-" FNR=1 NR=1
===> [Automatic manual page handling]
===> Registering installation for x11-links-0.30
0 x11-links>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Temporary switching to gawk and rebuilding x11-links solved the problem.
Can you show me that failed regexp?

-- 
Best regards, Aleksey Cheusov.