Re: problems building mozldap-6.0.3 on White Box Enterprise Linux release 3.0 with kernel version 2.4.21-27.EL

Rich Megginson <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
Mark Wood-Patrick wrote:
> I'm trying to build mozldap-6.0.3 on White Box Enterprise Linux release 3.0 
> with kernel version 2.4.21-27.EL and I'm getting the following errors, does 
> anyone know what I'm doing wrong
> 
>     make[3]: Leaving directory 
> `/local/src/ldap/mozldap-6.0.3/mozilla/directory/c-sdk/ldap/libraries/libldap'
> cd libprldap; make BUILD_DEBUG=full export
> make[3]: Entering directory 
> `/local/src/ldap/mozldap-6.0.3/mozilla/directory/c-sdk/ldap/libraries/libprldap'
> gcc -o 
> dappr-dns.o -c     -pipe -ansi -Wall -pthread -g -fno-inline -fPIC  -DDEBUG_root 
>   -DDEBUG=1 -DXP_UNIX=1 -D_POSIX_SOURCE=1 -D_BSD_SOURCE=1 -D_SVID_SOURCE=1 -D_LARGEFILE64_SOURCE=1 
>  -DHAVE_FCNTL_FILE_LOCKING=1 -DLINUX=1 -Dlinux=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 
>  -D_REENTRANT=1  -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -DUSE_WAITPID 
>  -DNEEDPROTOS -DLDAP_DEBUG  -DNET_SSL  -DNO_LIBLCACHE -DLDAP_REFERRALS     -DNS_DOMESTIC 
>   -DLINUX2_0 -DLINUX1_2 -DLINUX2_1 -I../../../../../dist/public/ldap -I../../../ldap/include 
>  -I../../../../../dist/./include   ldappr-dns.c
> In file included from ldappr-dns.c:44:
> ldappr-int.h:45:18: nspr.h: No such file or directory
> In file included from ldappr-int.h:46,
>                  from ldappr-dns.c:44:
> ../../../../../dist/public/ldap/ldappr.h:41:18: nspr.h: No such file or 
> directory

You are missing nspr.h, which is in the nspr package.

The following packages are required to build mozldap: nspr, nss, svrcore 
(optional), cyrus sasl (2.1 or later)

Where did you get the source?  ftp site or cvs?  Which build 
instructions are you following?  What arguments did you use with configure?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.