%general-entities; ]> $LastChangedBy$ $Date$ NSPR-&nspr-version; Netscape Portable Runtime Introduction to NSPR Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level and libc like functions. &lfs70_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &nspr-md5sum; Download size: &nspr-size; Estimated disk space required: &nspr-buildsize; Estimated build time: &nspr-time; Additional Downloads Required patch: User Notes: Installation of NSPR Install NSPR by running the following commands: patch -Np1 -i ../nspr-&nspr-version;-pkgconfig-2.patch && cd mozilla/nsprpub && sed -i 's#^\(RELEASE_BINS =\).*#\1#' pr/src/misc/Makefile.in && ./configure --prefix=/usr --with-mozilla --with-pthreads \ $([ $(arch) = x86_64 ] && echo --enable-64bit) && 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 Command Explanations --with-mozilla: This parameter adds Mozilla support to the libraries (required if you want to build any other Mozilla products and link them to these libraries). --with-pthreads: This parameter forces use of the system pthreads library. $([ $(arch) ... --enable-64bit: This parameter is required on an x86_64 system to prevent configure failing with a claim that this is a system without pthread support. It has no effect on a 32 bit system. sed -i 's#^\(RELEASE_BINS ...: This disables installing two unneeded scripts. If you don't want to compile and install the static versions of the libraries you can disable them with a sed: sed -i '/^TARGETS/s# $(LIBRARY)##' config/rules.mk Contents Installed Programs Installed Libraries Installed Directories nspr-config libnspr4.{a,so}, libplc4.{a,so}, and libplds4.{a.so} /usr/include/nspr Short Descriptions nspr-config provides compiler and linker options to other packages that use NSPR. nspr-config libnspr4.{so,a} contains functions that provide platform independence for non-GUI operating system facilities such as threads, thread synchronization, normal file and network I/O, interval timing and calendar time, basic memory management (malloc and free) and shared library linking. libnspr4.{so,a} libplc4.{so,a} contains functions that implement many of the features offered by libnspr4 libplc4.{so,a} libplds4.{so,a} contains functions that provide data structures. libplds4.{so,a}