On Fri, Feb 11, 2005, Matthias Kurz wrote: > To compile apache2-2.0.53 under Solaris, i used the following Hack (Patch1): > > Index: srclib/apr-util/configure > =================================================================== > RCS file: /cvs/opkg/vendor_stuff/apache2/srclib/apr-util/configure,v > retrieving revision 1.1.1.1 > diff -u -u -r1.1.1.1 configure > --- srclib/apr-util/configure 7 Feb 2005 17:23:32 -0000 1.1.1.1 > +++ srclib/apr-util/configure 10 Feb 2005 14:02:38 -0000 > @@ -1929,6 +1929,10 @@ > echo " setting apu_iconv_inbuf_const to \"1\"" > apu_iconv_inbuf_const="1" > fi > + if test -z "$apu_db_xtra_libs"; then > + echo " setting apu_db_xtra_libs to \"-lrt\"" > + apu_db_xtra_libs="-lrt" > + fi > > The problem is, that there is an unresolved reference in a config check > related to apr-util (-ldb also needs -lrt under Solaris, because of the > use of fdatasync).
Ok, but AFAIK this then means it is broken under non-Solaris where no librt.a exists, right? Hmmm... I think we have to add -lrt only for Solaris. I've now applied a workaround similar to what we have in the "openldap" package and it now builds fine under Solaris 10 for me. See http://cvs.openpkg.org/chngview?cn=21726 for details. Thanks for your feedback. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List openpkg-dev@openpkg.org