Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level and libc like functions.
Download (HTTP): http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.8.2/src/nspr-4.8.2.tar.gz
Download (FTP): ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.8.2/src/nspr-4.8.2.tar.gz
Download MD5 sum: 2a6fbfa56c9760ed3651d527272249c7
Download size: 1.2 MB
Estimated disk space required: 12.4 MB
Estimated build time: 0.2 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/nspr
Install NSPR by running the following commands:
patch -Np1 -i ../nspr-4.8.2-pkgconfig-1.patch &&
cd mozilla/nsprpub &&
./configure --prefix=/usr \
--with-mozilla \
--with-pthreads &&
make
This package does not come with a test suite.
Now, as the root user:
make install && cp -v -LR dist/include/nspr /usr/include
--with-mozilla: This
parameter adds Mozilla supprt to the libraries (required if you
want to build any Mozilla products).
--with-pthreads: This
parameter forces use of the system pthreads library.
Last updated on 2009-11-14 05:57:22 +0000