Re: Compiling6.0.3 LDAP SDK with configure

Rich Megginson <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
Stu wrote:
> On Jul 11, 10:36 am, Anton Bobrov <[email protected]> wrote:
>> nsinstall is part of moztools available here:http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/
>>
>>
>>
>> Stu wrote:
>>> make[2]: nsinstall: Command not found
>>> make[2]: *** [../../../../dist/public/ldap] Error 127
>>> make[2]: Leaving directory `/cygdrive/e/tmp/mozilla/mozilla/directory/
>>> c-sdk/ldap
>>> /include'
>>> make[1]: *** [export] Error 2
>>> make[1]: Leaving directory `/cygdrive/e/tmp/mozilla/mozilla/directory/
>>> c-sdk/ldap
>>> '
>>> make: *** [export] Error 2
>>> If make is the correct thing to run I can download msinstall from some
>>> where but I jsut want to make sure I am on the right track
>>> Any help would be greatly appreciated.- Hide quoted text -
>> - Show quoted text -
> 
> Rich,
> 
> Thanks for your help so far. The gmake process appaears to be hanging
> at the perl command for the past 1/2 hour though I tried editing
> Makefile and Makefile.in to use different versions of perl. Any ideas?

Sorry about that.  If you are using cygwin, the only mozilla build 
program you can use is nsinstall.exe.  So just remove everything in 
c:\mozilla-build except for nsinstall.exe.

> 
> Now you see why I was pusing for .dsp and .dsw files, much easier to
> use on windows :-)

Well, yes, but most of the development for the past several years has 
been focused on linux/unix.  None of the current developers have much 
interest in Windows development.  However, we would welcome any patches 
or Windows build files.

> 
> 
> $ gmake
> cd config; C:/cygwin/bin/gmake.exe BUILD_DEBUG=full export
> C:\cygwin\bin\gmake.exe[1]: Entering directory `e:/tmp/mozilla/mozilla/
> directory
> /c-sdk/config'
> gcc -mno-cygwin -o now.o -c     -pipe -g   -UNDEBUG -DDEBUG_phartman  -
> DDEBUG=1
> -DXP_PC=1 -DWIN32=1 -D_WINDOWS=1 -DWINNT=1 -D_X86_=1 -
> DHAVE_STRERROR=1  -DFORCE_
> PR_LOG   now.c
> gcc -mno-cygwin  now.o  -o now.exe
> C:\cygwin\bin\gmake.exe[1]: Leaving directory `e:/tmp/mozilla/mozilla/
> directory/
> c-sdk/config'
> cd ldap; C:/cygwin/bin/gmake.exe BUILD_DEBUG=full export
> C:\cygwin\bin\gmake.exe[1]: Entering directory `e:/tmp/mozilla/mozilla/
> directory
> /c-sdk/ldap'
> cd include; C:/cygwin/bin/gmake.exe BUILD_DEBUG=full export
> C:\cygwin\bin\gmake.exe[2]: Entering directory `e:/tmp/mozilla/mozilla/
> directory
> /c-sdk/ldap/include'
> nsinstall -D ../../../../dist/public/ldap
> c:/mozilla-build/msys/bin/perl.exe ./../build/replace.pl \
>         LDAP_VENDOR_NAME="mozilla.org" \
>                 LDAP_VENDOR_VERSION="603" \
>                 < ldap-standard-tmpl.h > ../../../../dist/public/ldap/
> ldap-stand
> ard.h
>
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.