NSPR build

"Vinu" <[email protected]> Wed, 27 May 2009 18:04:49 -0400
Newsgroups gmane.comp.mozilla.devel.nspr
Organization Pass
Message-ID <[email protected]>
Hi,

I just downloaded the sources for NSPR 4.7.4 for a Solaris build.

I unzipped and untarred the file and then

cd mozilla/nsprpub
./configure

Here it tries to use the Sun C compiler, but I want to use gcc, So i did

./configure NS_USE_GCC=1
Now i get "checking host system type... Invalid configuration 
`NS_USE_GCC=1': machine `NS_USE_GCC=1' not recognized"
but configure starts to use gcc as the default compiler. I cannot understand 
how configure figured this out.

Anyways configure continues and makes all the make file.

Then i do

make NS_USE_GCC=1

Now it get the error

make[3]: Entering directory 
`/space/xxs/tmp/nspr-4.7.4/mozilla/nsprpub/pr/include/md'
../../../config/./nsinstall -R -m 444 ./_aix32.cfg ./_aix64.cfg ./_beos.cfg 
./_bsdi.cfg ./_darwin.cfg ./_dgux.cfg ./_freebsd.cfg ./_hpux32.cfg 
./_hpux64.cfg ./_irix32.cfg ./_irix64.cfg ./_linux.cfg ./_ncr.cfg ./_nec.cfg 
./_netbsd.cfg ./_nextstep.cfg ./_nto.cfg ./_openbsd.cfg ./_openvms.cfg 
./_os2.cfg ./_osf1.cfg ./_qnx.cfg ./_reliantunix.cfg ./_riscos.cfg 
./_scoos.cfg ./_solaris.cfg ./_sony.cfg ./_sunos4.cfg ./_symbian.cfg 
./_unixware.cfg ./_unixware7.cfg ./_win16.cfg ./_win95.cfg ./_winnt.cfg 
../../../dist/include/nspr/md
../../../config/./nsinstall -R -m 444 ./ ../../../dist/include/nspr
../../../config/./nsinstall: cannot make symbolic link 
/space/xxs/tmp/nspr-4.7.4/mozilla/nsprpub/dist/include/nspr/.: Invalid 
argument



Has anyone who built NSPR successfully on Solaris 8 for Sparc throw light on 
this!!!!

Thanks
Vinu