[Fedora-directory-users] Source build failure on Solaris 10

Richard Megginson rmeggins at redhat.com
Mon Mar 6 15:28:33 UTC 2006


Graham Leggett wrote:

> Hi all,
>
> When trying to use the automated dsbuild to try and build DS v1.0.2 on 
> Solaris 10, I get an error with a patch that does not apply cleanly.

You must have a complete GNU tool chain in order to build DS on Solaris, 
and you must use the latest versions.  You can usually get these from 
www.sunfreeware.com.  This includes:
make
md5sum
patch
install
grep
pcre
libiconv

If you want to do a native 64 bit build, you must also have a native 64 
bit perl (the one included with Solaris - sparc anyway - is 32 bit and 
will not work) so you will probably have to build that for yourself.

You must also have Apache, and you cannot use the Apache from 
www.sunfreeware.com because it does not include support for multi 
threaded mode, so you have to build it yourself.  Note that you can 
probably use the one from www.sunfreeware.com to _build_ FDS but it will 
not work at _runtime_.

>
> Does anyone know what this patch is for, or how to get rid of it?

Are you using the latest GNU patch?

>
> bash-3.00# gmake
> [===== NOW BUILDING:         ds-1.0.2     =====]
>         [fetch] complete for ds.
>         [checksum] complete for ds.
>         [extract] complete for ds.
>         [patch] complete for ds.
>  ==> Building ds/mozilla as a dependency
> gmake[1]: Entering directory 
> `/root/src/ldap/auto/dsbuild-fds102/ds/mozilla'
> [===== NOW BUILDING:         mozilla-     =====]
>         [fetch] complete for mozilla.
>         [checksum] complete for mozilla.
>  ==> Extracting download/mozilla-components-1.0.2.tar.gz
>  ==> Copying download/sysfdtable.patch
>  ==> Copying download/sysfdtable2.patch
>         [extract] complete for mozilla.
> install -d work/mozilla-
> cat download/sysfdtable.patch download/sysfdtable2.patch | ( cd work ; 
> patch -p0 )
>   Looks like a unified context diff.
> Hunk #1 failed at line 159.
> 1 out of 1 hunks failed: saving rejects to 
> mozilla/nsprpub/pr/include/obsolete/probslet.h.rej
>   The next patch looks like a unified context diff.
>   The next patch looks like a unified context diff.
> done
> gmake[1]: *** [post-patch] Error 1
> gmake[1]: Leaving directory 
> `/root/src/ldap/auto/dsbuild-fds102/ds/mozilla'
> gmake: *** [dep-../../ds/mozilla] Error 2
> bash-3.00# less mozilla/nsprpub/pr/include/obsolete/probslet.h.rej
> mozilla/nsprpub/pr/include/obsolete/probslet.h.rej: No such file or 
> directory
>
> Regards,
> Graham
> -- 
>
>------------------------------------------------------------------------
>
>--
>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: 3178 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20060306/224da71e/attachment.bin>


More information about the Fedora-directory-users mailing list