Hi all,
I recently upgraded from NetBSD 3.x to 4.0 using the cd upgrade method. Everything seemed to work OK. I managed to get the new pkgsrc tree using csup.
When I run:
Code:
#pkg_chk -a -u -s -L /var/log/pkgchk.2008-05-19.log
It fails complaining about a missing c++ compiler. This is a snip of the log.
Code:
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=32
checking whether cc is gcc... yes
checking compiler cc -O2 ... yes
checking compiler cc -O2 has sizeof(long)==4... yes
checking for i386--netbsdelf-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for cc option to accept ISO C99... none needed
checking for cc option to accept ISO Standard C... (cached) none needed
checking how to run the C preprocessor... cc -E
checking build system compiler cc... yes
checking for build system preprocessor... cc -E
checking for build system executable suffix...
checking whether build system compiler is ANSI... yes
checking for build system compiler math library... -lm
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking C++ compiler c++ -O2... no, std iostream
configure: error: C++ compiler not available, see config.log for details
make: stopped in /usr/pkgsrc/devel/gmp
make: stopped in /usr/pkgsrc/devel/gmp
make: stopped in /usr/pkgsrc/devel/gmp
** 'cd /usr/pkgsrc/devel/gmp && /usr/bin/make update CLEANDEPENDS=yes' failed
*** ** 'cd /usr/pkgsrc/devel/gmp && /usr/bin/make update CLEANDEPENDS=yes' failed
If I navigate to that directory '/usr/pkgsrc/devel/gmp' and run 'make' I get the same error.
I tried installing gcc from '/usr/pkgsrc/lang/gcc' but I still get the error. I am stumped and have nothing on the system as pkg_chk removed everything first
. Any ideas would be greatly appreciated.
Cheers,
Troy