Subject: Re: xentools3 not installing
To: None <port-xen@NetBSD.org>
From: Joe Seegmiller <joeseegmiller@fiber.net>
List: port-xen
Date: 06/27/2007 17:19:55
I'm running NetBSD 3.1, and while trying to install sysutils/xentools3 
in preparation for running xen3, it returned the following errors:

echo "*** FATAL BUILD ERROR: " "Xen requires at least gcc-3.4" >&2; exit 
1; -I/usr/pkg/include/python2.4 -I/usr/include -I/usr/pkg/include -O2 
-I/usr/pkg/include/python2.4 -I/usr/include -I/usr/pkg/include -m32 
-march=i686 -DNDEBUG -std=gnu99 -Wall -Wstrict-prototypes 
-Wno-unused-value n  -D__XEN_TOOLS__  -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE n -m32 -march=i686 -DNDEBUG -std=gnu99 -Wall 
-Wstrict-prototypes -Wno-unused-value n  -D__XEN_TOOLS__  
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE n -Werror -Wmissing-prototypes 
-fno-strict-aliasing  -I. -I../xenstore -Wp,-MD,.build.d -m32 
-march=i686 -DNDEBUG -std=gnu99 -Wall -Wstrict-prototypes 
-Wno-unused-value n  -D__XEN_TOOLS__  -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE n -Werror -Wmissing-prototypes 
-fno-strict-aliasing  -I. -I../xenstore -Wp,-MD,.xc_core.o.d -c -o 
xc_core.o xc_core.c
getconf: LFS_CFLAGS: unknown variable
getconf: LFS_LDFLAGS: unknown variable
*** FATAL BUILD ERROR:  Xen requires at least gcc-3.4
gmake[2]: *** [xc_core.o] Error 1
gmake[2]: Leaving directory 
`/usr/pkgsrc/sysutils/xentools3/work/xen-3.1.0-src/tools/libxc'
gmake[1]: *** [build] Error 2
gmake[1]: Leaving directory 
`/usr/pkgsrc/sysutils/xentools3/work/xen-3.1.0-src/tools/libxc'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/sysutils/xentools3
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/xentools3



I'm confused because it says that it needs gcc-3.4, but I have installed 
gcc34, and it still gives this error. Here's the output of pkg_info 
(trying to show that I'm not crazy):

digest-20060826     Message digest wrapper utility
tcsh-6.15.00        Extended C-shell with many useful features
bash-3.2.9          The GNU Bourne Again Shell
gmake-3.81          GNU version of 'make' utility
grub-0.97nb7        GRand Unified Bootloader -- Boots *BSD, Linux, groks 
ffs, FA
perl-5.8.8nb4       Practical Extraction and Report Language
libtool-base-1.5.22nb4 Generic shared library support script (the script 
itself)
readline-5.2        GNU library that can recall and edit previous input
python24-2.4.4      Interpreted, interactive, object-oriented 
programming langua
py24-readline-0nb2  Line editing support for Python
expat-2.0.1         XML parser library written in C
py24-xml-0.8.4nb2   Collection of libraries to process XML with Python
gcc34-3.4.6nb1      This is the gcc 3.4 compiler

Does anyone have ideas on how to solve this? Am I missing something else?

-Joe Seegmiller