Subject: trouble building xscreensaver from libxml2
To: None <tech-pkg@netbsd.org>
From: James Wetterau <jwjr@panix.com>
List: tech-pkg
Date: 02/11/2005 16:05:54
I've updated my pkgsrc with a fresh copy within the last couple of
hours.  Tried CVS updating a couple of times just in case I was
missing anything.

Building xscreensaver on my -current from Dec. 20 (NetBSD 2.99.11 on
Dec 20 2004) fails on building libxml2 with:

checking for C compiler default output file name... configure: error:
C compiler cannot create executables
See `config.log' for more details.
*** Error code 77

Stop.
make: stopped in /usr/pkgsrc/textproc/libxml2
===> 
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===>      * config.log
===>      * /usr/pkgsrc/textproc/libxml2/work/.work.log


In config.log, I see the following error messages.  I have no idea why
it's looking for a file by that name, and gcc can in fact actually
compile programs on my machine.  I note that in addition to missing
white space, it also seems to be looking for gcc as a file starting
with /usr/bin/i386*.  I have no matches for such on my machine.  I'm
not out of diskspace.  

Any suggestions for next steps in fixing are greatly appreciated:

gcc: couldn't run
`/usr/bin/i386--netbsdelf-gcc--I/usr/pkgsrc/textproc/libxml2/w
ork/.buildlink/include': No such file or directory
configure:2390: $? = 1
configure:2413: checking for C compiler default output file name
configure:2416: cc -O2
-DXML_SGML_DEFAULT_CATALOG=\"\\\"/usr/pkg/etc/sgml/catalo
g\\\"\" -DXML_XML_DEFAULT_CATALOG=\"\\\"/usr/pkg/etc/xml/catalog\\\"\"
-I/usr/in
clude -I/usr/pkg/include   -I/usr/include -I/usr/pkg/include
-L/usr/lib -Wl,-R/
usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib conftest.c  >&5
<command line>:4:27: missing terminating " character
<command line>:5:26: missing terminating " character
configure:2419: $? = 1