On Wed, Oct 19, 2005, Stuart Shelton wrote: > I current have openpkg-20050920-20050920 installed, and tried upgrading > with: > > /usr/openpkg/bin/openpkg rpm --rebuild > ftp://ftp.openpkg.org/release/2.5/SRC/openpkg-2.5.0-2.5.0.src.rpm > > ... which fails with: > > cc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/openpkg/lib\" -I. -I. -I.. -g -c > argp-help.c > cc-1028 cc: ERROR File = argp-help.c, Line = 1058 > The expression used must have a constant value. > > struct pentry_state pest = { entry, stream, hhstate, 1, state }; > ^ > > cc-1028 cc: ERROR File = argp-help.c, Line = 1058 > The expression used must have a constant value. > > struct pentry_state pest = { entry, stream, hhstate, 1, state }; > ^ > > cc-1028 cc: ERROR File = argp-help.c, Line = 1058 > The expression used must have a constant value. > > struct pentry_state pest = { entry, stream, hhstate, 1, state }; > ^ > > cc-1028 cc: ERROR File = argp-help.c, Line = 1058 > The expression used must have a constant value. > > struct pentry_state pest = { entry, stream, hhstate, 1, state }; > ^ > > 4 errors detected in the compilation of "argp-help.c". > make[3]: *** [argp-help.o] Error 2 > make[3]: Leaving directory > `/usr/openpkg/RPM/TMP/openpkg-2.5.0/tar-1.15.1/lib' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/usr/openpkg/RPM/TMP/openpkg-2.5.0/tar-1.15.1/lib' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/openpkg/RPM/TMP/openpkg-2.5.0/tar-1.15.1' > make: *** [all] Error 2 > + exit 2 > + exit 2 > error: Bad exit status from /usr/openpkg/RPM/TMP/rpm-tmp.752 (%prep) > > RPM build errors: > Bad exit status from /usr/openpkg/RPM/TMP/rpm-tmp.752 (%prep) > > Any thoughts or patches from the IRIX guys?
Well, SGI IRIX is still not supported by OpenPKG -- mainly because the OpenPKG Foundation still doesn't have an SGI IRIX box available. But AFAIK OpenPKG works to some extend under IRIX if you bootstrap with a third-party GCC installation. You are bootstrapping with the SGI IRIX compiler if I deduce it correctly from the above outputs. Try to install GCC from some IRIX resources on the net and bootstrap with this compiler instead. This should allow you to install at least OpenPKG CORE AFAIK. But any IRIX guys available which can give some help here, too? Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List openpkg-dev@openpkg.org