There is a very little problem with the binary distribution of Expat-1.95.8.
I've been building from scratch perl 5.8.5 on win32, and encountered the same problem across several modules.
Most modules depend on external libraries. Most library distributions provide binary versions, some provide binaries.
Expat provides both dll and libraries. The problem is that libraries are for vc++ or bc, not for mingw.
The following procedure generates mingw dinamic libraries:
pexports libexpat.dll > expat.def
pexports libexpatw.dll > expatw.def
dlltool -d expat.def -l libexpat.a
dlltool -d expatw.def -l libexpatw.a
The *.a files are mingw libraries.
May be you can include them in the binary distribution.
You NEED to put the *.dll in your %PATH%.
Now you can just point XML-Parser instalation to your expat binary distribution:
whatever\XML-Parser-2.34>perl Makefile.pl EXPATLIBPATH=whatever2\Expat-1.95.8\Lib
s EXPATINCPATH=whatever2\Expat-1.95.8\Source\lib
dmake
dmake test
dmake install
Everything should run smoothly.
Greets
Bruno Diaz Briere
bruno.diaz-[@can@be_reached@at_host-[_gmx.net
Logged In: YES
user_id=290026
Why don't you provide a ready-made patch?
Logged In: YES
user_id=3066
Karl: Unless you want to do this, I'm inclined to reject
this. If this is easy for a MinGW user to do, it's
something that's reasonable for them to do themselves.
That's simply part of using a minority compiler on a
majority-centric platform.
Assigning to you for a decision.
Logged In: YES
user_id=290026
As far as I can tell, the .a files are import libraries which
help the linker link against the actual Win32 Dll.
I don't think we should include any mingw specific binaries,
but I'll see if I can add the instructions to the Win32 docs.
Logged In: YES
user_id=290026
Added instructions to README.txt in the Win32 directory.
Closing this issue.