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

Rich Megginson rmeggins at redhat.com
Wed Feb 20 22:18:47 UTC 2008


Ryan Braun wrote:
> On Wednesday 20 February 2008 9:05 pm, Rich Megginson wrote:
>   
>>> CONFIGURE_ARGS = $(DS_CONFIGURE_ARGS) --enable-bundle
>>> DS_CONFIGURE_ENV += CPPFLAGS=-DNETSNMP_USE_INLINE=1
>>>       
>> Try CONFIGURE_ENV instead of DS_CONFIGURE_ENV - then remove work and
>> cookies and try again
>>     
>
> Ok,  that worked.  the ldapserver finished building.  Next stop on the bug the 
> the bug bashing train.
>   
>
> make[2]: *** [http//directory.fedoraproject.org/sources/ldapjdk.jar] Error 1
> make[2]: Leaving directory `/usr/src/dsbuild/ds/ldapjdk'
>         ==> Trying http//directory.fedoraproject.org/download/ldapjdk.jar
> make[2]: Entering directory `/usr/src/dsbuild/ds/ldapjdk'
> --15:41:29--  http://directory.fedoraproject.org/download/ldapjdk.jar
>            => `download/ldapjdk.jar'
> Resolving xxxproxy.xxx.ec.gc.ca... 
> Connecting to xxxproxy.xxx.ec.gc.ca||:8080... connected.
> Proxy request sent, awaiting response... 200 OK
> Length: 264,659 (258K) [application/x-java-archive]
>
> 100%[===============================================================================================================================================================================================>] 
> 264,659      150.17K/s
>
> 15:41:31 (149.65 KB/s) - `download/ldapjdk.jar' saved [264659/264659]
>
> make[2]: Leaving directory `/usr/src/dsbuild/ds/ldapjdk'
>         [fetch] complete for ldapjdk.
> install -d cookies
>  ==> Running checksum on ldapjdk.jar
> 200020a78145bda8401b71cd08c7756c  download/ldapjdk.jar
> file ldapjdk.jar passes checksum test!
>         [checksum] complete for ldapjdk.
> install -d work
>         [extract] complete for ldapjdk.
> install -d work/ldapjdk-4.17
>         [patch] complete for ldapjdk.
>         [configure] complete for ldapjdk.
>         [build] complete for ldapjdk.
> mkdir -p cookies/. && date >> cookies/install-custom
>         [install] complete for ldapjdk.
> make[1]: Leaving directory `/usr/src/dsbuild/ds/ldapjdk'
>  ==> Building ds/jss as a dependency
> make: *** ../../ds/jss: No such file or directory.  Stop.
> make: *** [dep-../../ds/jss] Error 2
> ywgbuild:/usr/src/dsbuild/meta/ds#                        
>
> 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.
> Ryan Braun
> Informatics Operations
> Aviation and Defence Services Division 
> Chief Information Officer Branch, Environment Canada 
> CIV: (204) 833-2500x2824 CSN: 257-2824  FAX: (204) 833-2524
> E-Mail: Ryan.Braun at ec.gc.ca
>
> --
> 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/20080220/c0970324/attachment.bin>


More information about the 389-users mailing list