Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#2858 closed enhancement (duplicate)

nspr-4.8.0

Reported by: Sven Hankel Owned by: DJ Lucas
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

there is no combined tarball, so I made my own (attached) The modifyed *.pc-files and nss-config are included. Unfortunately, it is to big for an attachement.

to make it, simply unpack nss-3.12.3.tar.gz and nspr-4.8.tar.gz and copy the content from one directory to the other. Because the redhat-patch does not really work, You have to create the *.pc-files by Your own or You can use the attached ones.

Hint: If You want to utilise sqlite3 on Your system, You should install it before nss+nspr.

Then change the build instructions:

bash

export WORKINGDIR=$PWD &&
export BUILD_OPT=1 &&
export NSS_USE_SYSTEM_SQLITE=1  &&

cd mozilla/security/nss &&
make nss_build_all &&
cd ../.. &&

export NSS_LINUXDIR=$(basename `ls -d $WORKINGDIR/mozilla/dist/Linux*`)

go on in setup as described in the book...

this ensures, that the components are linked against the installed sqlite3, otherwise, it will overwrite files from sqlite3 and compromise Your system (unresolved symbols in sqlite3 and so on)

test summaries: PASSED: 5344 FAILED: 6

Attachments (1)

pc-files.tar.bz2 (1.3 KB ) - added by Sven Hankel 15 years ago.

Download all attachments as: .zip

Change History (8)

by Sven Hankel, 15 years ago

Attachment: pc-files.tar.bz2 added

comment:1 by Randy McMurchy, 15 years ago

Milestone: 6.46.5

Modified milestone from 6.4 to 6.5

comment:2 by ken@…, 15 years ago

Didn't see the comemnts in this until I'd already built nss. I've using my own patches and scripting derived from fedora to get the -config and .pc files correct. FWIW there seems to be a problem getting nss to find the nspr headers. I used to use [ WHERE is the prefix ]

echo "INCLUDES += -I${WHERE}/include/nspr" >>mozilla/security/coreconf/headers.mk

but now I'm using the following (first noticed this at gobolinux

export NSPR_INCLUDE_DIR=${WHERE}/include/nspr

Also still using

export USE_SYSTEM_ZLIB=1
export ZLIB_LIBS=-lz

comment:3 by Guy Dalziel, 15 years ago

Summary: upgrade for nss-3.12.3 + nspr-4.8upgrade for nss-3.12.3.1 + nspr-4.8

NSS contains an internal copy of sqlite, it calls this file libsqlite3.so which is then copied in to /usr/lib. Doing this overwrites the system sqlite which has a library of the same name, and this causes firefox 3.5 to fail compilation. If someone has sqlite installed then they will need to use 'export NSS_USE_SYSTEM_SQLITE=1'.

comment:4 by DJ Lucas, 15 years ago

Owner: changed from blfs-book@… to DJ Lucas
Status: newassigned

I think I'm going to recommend the use of system sqlite3 for the reason above. Instructions will be tailored for it so that users don't bork their system.

comment:5 by DJ Lucas, 15 years ago

Summary: upgrade for nss-3.12.3.1 + nspr-4.8nspr-4.8.0

comment:6 by DJ Lucas, 15 years ago

Resolution: duplicate
Status: assignedclosed

Duplicate of #2718 and #2882.

comment:7 by (none), 14 years ago

Milestone: 6.5

Milestone 6.5 deleted

Note: See TracTickets for help on using tickets.