Re: Subversion Question

2004-06-22 Thread Paul Vlaar
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 Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Subversion Question

2004-06-14 Thread Frank Torres
I trying to build subversion with mod_dav_svn has anybody got it compile
with shared libraries on solaris 9/sparc systems. 

Thanks,
Frank


signature.asc
Description: This is a digitally signed message part


Re: Subversion Question

2004-06-14 Thread Aaron Bostick
Frank,

I tried compiling it with swig python support to get ViewCVS working
with it and ran into issues with the static only build.  It's been a
while but I think I ran into linking issues.   I haven't pursued it much
further, but would like to know the results of your efforts.  I too
would like to see mod_dav_svn under OpenPKG.  

BTW, my tests were on Solaris 8.

Aaron

On Mon, 2004-06-14 at 12: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. 
 
 Thanks,
 Frank

__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]