In article <[EMAIL PROTECTED]> you wrote:
> Platform is Solaris 8 + MU 7 + recent R&S including all the usual build
> packages.
>
> Building mozilla-0.9.9-20020312.src.rpm with "rpm --rebuild" as user "cw"
> fails as follows:
>
> ----8<----
> Building deps for nsinstall.c
> /cw/bin/cc -o nsinstall.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -DOJI
>-I../dist/include -I../dist/include
>-I/usr/local/OpenPKG/RPM/TMP/mozilla/dist/include/nspr -I/usr/include -fPIC
>-I/usr/include -Wno-long-long -O2 -pipe -I/cw/include -pthreads -pipe -DNDEBUG
>-DTRIMMED -I/usr/include -include ../config-defs.h -DMOZILLA_CLIENT nsinstall.c
> nsinstall.c: In function `main':
> nsinstall.c:372: `optarg' undeclared (first use in this function)
> nsinstall.c:372: (Each undeclared identifier is reported only once
> nsinstall.c:372: for each function it appears in.)
> nsinstall.c:415: `optind' undeclared (first use in this function)
> make[3]: *** [nsinstall.o] Error 1
> make[2]: *** [../config/mkdepend/mkdepend] Error 2
> make[1]: *** [tier_0] Error 2
> make: *** [default] Error 2
> error: Bad exit status from /cw/RPM/TMP/rpm-tmp.29400 (%build)
> ----8<----
Hmmmm... looks like Solaris 8 doesn't know (or at least Mozilla does not
know because it doesn't include the corresponding headers) about getopt,
because these are two global getopt-related variables. Puhhh... I love
Mozilla, but I really hate it for being such a beast in source. I'll
look at this if I find time and our Solaris box is fast enough to come
to this compile point in a reasonable time... ;)
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]