Subject: Unable to build firefox under Solaris
To: None <tech-pkg@NetBSD.org>
From: Rob Quinn <rquinn@sec.sprint.net>
List: tech-pkg
Date: 09/24/2004 12:04:13
  I'm trying to build the latest pkgsrc firefox 0.10 on my Solaris2.8 box, but
it fails:

   [...]
   /usr/pkg/bin/gmake -C config export
   gmake[2]: Entering directory `/usr/obj/pkg/www/firefox/work/mozilla/config'
   gmake[3]: Entering directory `/usr/obj/pkg/www/firefox/work/mozilla/config/mkdepend'
   cppsetup.c
   o host_cppsetup.o -c -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".\"   -I/include/mkdepend -I/include   cppsetup.c
   gmake[3]: o: Command not found
   gmake[3]: [host_cppsetup.o] Error 127 (ignored)
   ifparser.c
   o host_ifparser.o -c -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".\"   -I/include/mkdepend -I/include   ifparser.c
   gmake[3]: o: Command not found
   gmake[3]: [host_ifparser.o] Error 127 (ignored)
   [etc etc...]

 
  A google search turns up two other people complaining of the same problem,
but one is in Italian and the other French (I think, I can't find it now):

    http://lists.debian.org/debian-italian/2004/03/msg00811.html
    http://lists.debian.org/debian-italian/2004/03/msg00841.html


  I'm not sure what it means, but HOST_CC is empty in mozilla/config/rules.mk.
If I run "HOST_CC=gcc bmake" then I get a little further along before something
else fails:

    gmake[3]: Nothing to be done for `export'.
    gmake[3]: Leaving directory `/usr/obj/pkg/www/firefox/work/mozilla/config/mkdepend'
    I. ./bdate.pl build_number 
    gmake[2]: I.: Command not found
    gmake[2]: [build_number] Error 127 (ignored)
    rm -f nsBuildID.h
    I. ./aboutime.pl -m ./milestone.txt nsBuildID.h build_number ./nsBuildID.h.in
    gmake[2]: I.: Command not found
    gmake[2]: [nsBuildID.h] Error 127 (ignored)


 Any ideas or suggestions?