[Fedora-directory-users] notes on building fds in etch and a failed build question

Rich Megginson rmeggins at redhat.com
Fri Feb 22 20:42:20 UTC 2008


Ryan Braun wrote:
> On Wednesday 20 February 2008 10:18 pm, Rich Megginson wrote:
>   
>>> Sure enough,  there is no /usr/src/dsbuild/ds/jss directory.
>>>
>>> If I go ahead and create the directory it still fails.  I guess it's
>>> looking for more then just a directory
>>>
>>> ==> Building ds/jss as a dependency
>>> make[1]: Entering directory `/usr/src/dsbuild/ds/jss'
>>> make[1]: *** No rule to make target `install'.  Stop.
>>> make[1]: Leaving directory `/usr/src/dsbuild/ds/jss'
>>> make: *** [dep-../../ds/jss] Error 2
>>>
>>>
>>> Thanks for all the help Rich.
>>>       
>> You're now past the point where I gave up :P  But you now should have
>> the core directory server.  What's left is the console and the admin
>> server components.
>>
>> You can build the admin server stuff with
>> make ... BUILD_DS_ADMIN=1 ADMINUTIL_SOURCE=1 MOD_NSS_SOURCE=1
>> ADMINSERVER_SOURCE=1
>>
>> The java components will be more tricky.
>>
>> For ldapjdk, it would be nice to be able to build from source in
>> dsbuild, but the jar file is cross platform and stable.
>>
>> JSS is different because it has some JNI code and should be compiled.
>> There are binaries available from ftp.mozilla.org but I don't know how
>> well they will work.
>>
>> None of the other java components listed at
>> http://directory.fedoraproject.org/wiki/Source and
>> http://directory.fedoraproject.org/wiki/BuildingConsole have been rolled
>> into dsbuild.
>>     
>
> Ok java components we'll come back to later,  I'm having trouble building 
> mod_nss now.
>
> infinity:/usr/src/dsbuild/meta/ds# make BUILD_DS_ADMIN=1 ADMINUTIL_SOURCE=1 
> MOD_NSS_SOURCE=1 ADMINSERVER_SOURCE=1 SVRCORE_SOURCE=1 MOZLDAP_SOURCE=1 
> PERLDAP_SOURCE=1
>   
Add APXS=/usr/bin/apxs2 HTTPD=/usr/sbin/apache2

Make sure you have the apache2-mpm-worker and apache2-threaded-dev 
packages installed.
> [===== NOW BUILDING:     ds-1.1.0       =====]
>         [fetch] complete for ds.
>         [checksum] complete for ds.
>         [extract] complete for ds.
>         [patch] complete for ds.
>  ==> Building ds/svrcore as a dependency
>  ==> Building ds/mozldap as a dependency
>  ==> Building ds/perldap as a dependency
>  ==> Building ds/ldapserver as a dependency
>  ==> Building ds/adminutil as a dependency
>  ==> Building ds/mod_nss as a dependency
> cat: /etc/redhat-release: No such file or directory
> make[1]: Entering directory `/usr/src/dsbuild/ds/mod_nss'
> [===== NOW BUILDING:     mod_nss-1.0.7  =====]
>   
<snip>

> make[2]: *** [mod_nss.lo] Error 1
> make[2]: Leaving directory `/usr/src/dsbuild/ds/mod_nss/work/mod_nss-1.0.7'
> make[1]: *** [build-work/mod_nss-1.0.7/Makefile] Error 2
> make[1]: Leaving directory `/usr/src/dsbuild/ds/mod_nss'
> make: *** [dep-../../ds/mod_nss] Error 2
> infinity:/usr/src/dsbuild/meta/ds#
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20080222/2e783865/attachment.bin>


More information about the 389-users mailing list