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

Mark Wood-Patrick <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
Is there a Mozilla Source Code tarballs which I can use to get all the 
needed source to build LDAP or do I need to use CVS?
Rich Megginson wrote:
> Mark Wood-Patrick wrote:
>> Thanks for the info I'm using the mozilla ftp site 
>> ftp://ftp.mozilla.org/pub/mozilla.org/ I could not find any docs on 
>> the dependancies/build for LDAP where should I look? I did not specify 
>> any configure args (it was not clear to me I needed any)
> 
> http://wiki.mozilla.org/LDAP_C_SDK#Checking_Out_the_Source_Code
> 
> nss and nspr are required if you want to use any SSL/TLS.  I believe 
> nspr is now required for IPv6 support.  I don't think there is any way 
> presently to build without nspr.  You'd have to hack some code to do 
> that, probably not very much.
> 
>>
>> Rich Megginson wrote:
>>> 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.