"Tim Trentham" <[EMAIL PROTECTED]> writes:
> Well, I started over on another machine (so as not to break my now hacked
> working nmake build) and tried building with gmake. Once again, I'm
> following the instructions at http://www.mozilla.org/build/win32.html and
> this is on a Win2k machine. 

That page is actually directed at building the entire mozilla lient;
if you just want to build the LDAP C SDK, you don't have to do all
that stuff.  In theory, the page that describes what you want to do is
<http://www.mozilla.org/directory/csdk.html>.  Unfortunately, that
page is fairly dated at the moment (though an updated version is being
worked on).

> The one thing that I didn't do in the gmake configuration is generate 
> a mozconfig file with the Unix Build Configurator
> (http://webtools.mozilla.org/build/config.cgi). It didn't seem necessary.

Right; that's just for the browser.

> Here's my results...
> 
> C:\cvshome\mozilla\directory>gmake -f ldapsdk.mk build
> cd ../nsprpub/config; gmake
> Path not found: No such file or directory
> gmake: *** [build] Error 2

ldapsdk.mk and .mak are both obsolete; I've filed bug
<http://bugzilla.mozilla.org/show_bug.cgi?id=144252> about removing
them so they're not around to confuse people.

> Sure enough, there's no directory called nsprpub at the same level as the
> "directory" directory. What now? Is it trying to find the config directory
> at C:\cvshome\mozilla\directory\c-sdk\config?

This is an artifact of the outdatedness of ldapsdk.*.  Try using
mozilla/directory/Makefile with gmake.

Dan


Reply via email to