Hi,

On Mon, 14 Jan 2008, Juanma Barranquero wrote:

> On Jan 14, 2008 4:51 PM, Johannes Schindelin <[EMAIL PROTECTED]> wrote:
> 
> > Windows experience is, and how to compile Perl modules for Windows.
> 
> Not much experience compiling Perl modules (outside of "perl 
> Makefile.PL; make; make test; make install"), but I have experience as a 
> C and Perl programmer on Windows. I can try. Where to start from?

First, get a full clone of msysgit.git (or update it if you have a partial 
one).

I uploaded an intermediate state (not to be integrated as-is) to tmp/msys.  
But beware: you have to start msys.bat again after checking out tmp/msys, 
otherwise you will still be in a MinGW system, not an MSys one.

After that, you can go to /src/perl and fetch&make&install perl 5.8.8 (For 
some strange reason, perl < 5.8 is not good enough for subversion).

The next steps are to fetch&make&install expat, get subversion and 
subversion-deps, adjust subversion so it compiles with MSys (not MinGW), 
then make it, make "swig-pl-lib", "install-swig-pl-lib", and then the fun 
starts:

In subversion/bindings/swig/perl/native, run "perl Makefile.PL".  Find out 
why it creates the Makefiles in ../libswig_perl_lib/.libs/, or move them 
to the correct directory, and adjust them, because libsvn_* was not built 
shared, but static.

Or find out how to build libsvn_* shared, not static, and then build the 
module.

If you succeed building the module, write /src/subversion/release.sh a la 
/src/perl/release.sh to fetch&build&install it automatically.

Be a hero.

Ciao,
Dscho

Reply via email to