I have moved all the SUN binutils out of the way in order to use the GNU binutils. For the most part this works flawlessly, but upon installing mozilla with openpkg it seems that the compile process assumes that it's dealing with SUN binutils from /usr/ccs/ and not openpkg GNU binutils from ~openpkg/. This is the error:
/opt/openpkg/2.2/bin/cc -o os_SunOS.o -I/opt/openpkg/2.2/include -I/opt/openpkg/2.2/include/glib -I/usr/openwin/include -I/opt/openpkg/2.2/include -I/usr/openwin/include -pipe -Wall -pthreads -O2 -fPIC -UDEBUG -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DXP_UNIX=1 -DSVR4=1 -DSYSV=1 -D__svr4=1 -D__svr4__=1 -DSOLARIS=1 -DHAVE_FCNTL_FILE_LOCKING=1 -D_PR_HAVE_OFF64_T=1 -D_LARGEFILE64_SOURCE=1 -D_PR_INET6=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_REENTRANT=1 -DHAVE_POINTER_LOCALTIME_R=1 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I/opt/openpkg/2.2/RPM/TMP/mozilla/dist/include/nspr -I../../../../pr/include -I../../../../pr/include/private -c os_SunOS.s /usr/ccs/bin/as -o os_SunOS_ultrasparc.o -K PIC -P -D_ASM -D__STDC__=0 -xarch=v8plus os_SunOS_ultrasparc.s /usr/ccs/bin/as: unrecognized option `-_ASM' gmake[6]: *** [os_SunOS_ultrasparc.o] Error 1 gmake[5]: *** [export] Error 2 gmake[4]: *** [export] Error 2 gmake[3]: *** [export] Error 2 gmake[2]: *** [export] Error 2 gmake[1]: *** [nspr] Error 2 make: *** [default] Error 2 error: Bad exit status from /opt/openpkg/2.2/RPM/TMP/rpm-tmp.8256 (%build) Regards... -- // Mark Gj�l I find the whole business of religion profoundly interesting. But it does mystify me that otherwise intelligent people take it seriously. - Douglas Adams -- http://b0rken.dk
signature.asc
Description: Digital signature
