[389-users] Problems compiling svrcore

Stefan-Michael Guenther 389ds at in-put.de
Mon Jul 12 10:52:52 UTC 2010


Hi,

I'm currently to compile and install the different components of the 
Directory Server on a Ubuntu 10.4 system:

Here are the commands that I have used so far:

cd /usr/src
export CVSROOT=:pserver:anonymous at cvs-mirror.mozilla.org:/cvsroot
cvs login
export BUILD_OPT=1
cvs -z3 co -r NSPR_4_8_RTM mozilla/nsprpub
mkdir target.debug
cd target.debug/
../mozilla/nsprpub/configure
make
cd pr/tests/
make

cd /usr/src
cvs -z3 co -r NSS_3_11_7_RTM mozilla/security/coreconf 
mozilla/security/nss mozilla/dbm mozilla/security/dbm

cd mozilla/security/nss/
make nss_build_all

cd /usr/src
cvs -z3 co -r SVRCORE_4_0_4_RTM mozilla/security/svrcore
cd mozilla/security/svrcore/
./configure --with-nss-inc=/usr/include/ --with-nss-lib=/usr/lib/nss 
--with-nspr-inc=/usr/local/include/nspr/ --with-nspr-lib=/usr/local/lib/
make

make stops with the following error:

  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/ 
-I/usr/local/include/nspr/ -g -O2 -MT libsvrcore_la-alt.lo -MD -MP -MF 
.deps/libsvrcore_la-alt.Tpo -c alt.c  -fPIC -DPIC -o 
.libs/libsvrcore_la-alt.o
In file included from alt.c:48:
./svrcore.h:41:22: error: seccomon.h: No such file or directory
./svrcore.h:42:22: error: pk11func.h: No such file or directory


find /usr/src/mozilla -name seccomon.h
/usr/src/mozilla/security/nss/lib/util/seccomon.h
/usr/src/mozilla/dist/public/nss/seccomon.h

find /usr/src/mozilla -name pk11func.h
/usr/src/mozilla/security/nss/lib/pk11wrap/pk11func.h
/usr/src/mozilla/dist/public/nss/pk11func.h

How to tell the system to use e.g. /usr/src/mozilla/dist/public/nss to 
find the files?
The parameter --with-nss=/usr/src/mozilla/dist/public/nss returns an error:

checking for --with-nss...
configure: error: /usr/src/mozilla/dist/public/nss not found

Thanks for any hints or suggestions,

Stefan






More information about the 389-users mailing list