Subject: pkgsrc mozilla 1.3 - problem with cc
To: None <netbsd-help@netbsd.org>
From: Lubos Vrbka <shnek@ncbr.chemi.muni.cz>
List: netbsd-help
Date: 04/08/2003 11:53:08
hi guys,

i encountered quite big problem. today i tried to recompile (update) mozilla 1.2.x to 1.3. i got the newest pkg directory via cvs. after make update everything was proceeding ok - extracting, patching and buildlinking (files .buildlink_done .extract_done and .patch_done are present in the work directory). but then, there comes a BIG problem :o(

===> Configuring for mozilla-1.3
cd /usr/pkgsrc/www/mozilla/work/mozilla && /usr/pkg/bin/autoconf-2.13
configure.in:279: AC_PROG_CPP was called before AC_PROG_CC
configure.in:308: AC_PROG_CPP was called before AC_PROG_CC
cd /usr/pkgsrc/www/mozilla/work/mozilla/nsprpub && /usr/pkg/bin/autoconf-2.13
creating cache ./config.cache
checking host system type... i386--netbsdelf
checking target system type... i386--netbsdelf
checking build system type... i386--netbsdelf
checking for gcc... cc
checking whether the C compiler (cc -O2 -I/usr/pkg/include -I/usr/X11R6/include  -Wl,/usr/X11R6/lib/mozilla  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/mozilla
*** Error code 1

does anyone know what to do now? am i doing something bad? should i send-pr this (probably with critical priority) - but it's possible that the problem lies only here... is there any way how to test whether cc works ok?

i tested the line that failed (checking whether the C compiler works) - it complains that there's no /usr/X11R6/lib/mozilla directory. is there an error in makefile? i'm not skilled enough to find the problem by myself... :o(

thanx for any help...
lubos