Frank,

On Mon, Jun 14, 2004 at 10:16, Frank Torres wrote:
> I trying to build subversion with mod_dav_svn has anybody got it compile
> with shared libraries on solaris 9/sparc systems. 

No experience with it on Solaris, but I do in RH.  Should be similar
since it's OpenPKG, supposed to be platform independant, right? :)

I had to fiddle around with the spec file in order to get the shared
libs and the dynamic module built for apache2.  Here are the main 
changes that I made:

< BuildPreReq:  libxml, db, openssl, zlib
< PreReq:       libxml, db, openssl, zlib
---
> BuildPreReq:  libxml, db, openssl, zlib, apache2, libiconv, swig, neon >= 0.24.6
> PreReq:       libxml, db, openssl, zlib, apache2, libiconv, swig, neon >= 0.24.6

<     %{l_shtool} subst \
<         -e 's;\($ac_abs_srcdir/configure\) $ac_configure_args;\1 --disable-shared;' \
<         configure
---
> #    %{l_shtool} subst \
> #        -e 's;\($ac_abs_srcdir/configure\) $ac_configure_args;\1 --disable-shared;' 
> \
> #        configure
> 

<     LDFLAGS="%{l_ldflags}" \
---
>     LDFLAGS="%{l_ldflags} -liconv -L$RPM_BUILD_ROOT%{l_prefix}/lib" \

(don't ask me why I had to do that, for some reason the linking didn't 
 work properly without it)

<         --disable-shared
---
>         --enable-shared 


I might have done a myriad of other things to the dependancy packages 
that I haven't mentioned here, but see how far these basic changes
get you..  

        ~paul
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to