DJ Lucas wrote:

> 
> Though probably unrelated, I'm ripping out nss/nspr now and I'll be 
> using a separate nss and nspr.  Probably as the book should do too given 
> that nspr is moving along faster than nss.


And I fully agree with the first src_install comment in the Gentoo 
e-build for nspr...the mozilla build system is indeed f**** (as usual). 
  So after reviewing the build log and cleaning up the mess it made of 
my system, this is what I have come up with for a *working* installation 
of nspr-4.7.3.


patch -Np1 -i ../nspr-4.7.3-config-1.patch &&
cd mozilla/nsprpub &&
./configure --prefix=/usr --enable-optimize --disable-debug &&
make &&
install -v -d -m755 /usr/bin &&
install -v -d -m755 /usr/lib &&
install -v -d -m755 /usr/lib/pkgconfig &&
install -v -d -m755 /usr/share/aclocal &&
install -v -d -m755 /usr/include/nspr &&
install -v -d -m755 /usr/include/nspr/{md,private,obsolete} &&
install -v -m644 config/nspr.pc /usr/lib/pkgconfig &&
install -v -m755 config/nspr-config /usr/bin &&
install -v -m644 config/nspr.m4 /usr/share/aclocal &&
install -v -m644 pr/include/*.h /usr/include/nspr &&
install -v -m644 pr/include/md/_*.cfg /usr/include/nspr/md &&
cp -a /usr/include/nspr/md/_linux.cfg /usr/include/nspr/prcpucfg.h &&
install -v -m644 pr/include/private/*.h /usr/include/nspr/private &&
install -v -m644 pr/include/obsolete/*.h /usr/include/nspr/obsolete &&
install -v -m755 pr/src/libnspr4.{a,so} /usr/lib &&
install -v -m755 pr/src/misc/compile-et.pl /usr/bin &&
install -v -m644 lib/ds/*.h /usr/include/nspr &&
install -v -m755 lib/ds/libplds4.{a,so} /usr/lib &&
install -v -m644 lib/libc/include/*.h /usr/include/nspr &&
install -v -m755 lib/libc/src/libplc4.{a,so} /usr/lib
for file in /usr/lib/lib{nspr,plds,plc}4.so
do
     mv -v "${file}" "${file}.7" &&
     ln -v -s "${file}.7" "${file}"
done &&
ldconfig

Ken, Simon, anyone else that has messed with standalone nspr...do y'all 
have anything to add to the above?

This has become BLFS-Dev material so sent there as well.  It's late. 
I'll fiddle with nss tomorrow.

-- DJ Lucas

-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to