[Expat-bugs] [ expat-Bugs-1073661 ] Expat-1.95.8 win32bin mingw32 libraries

SourceForge.net noreply at sourceforge.net
Sat Jan 29 03:35:23 CET 2005


Bugs item #1073661, was opened at 2004-11-26 05:28
Message generated for change (Comment added) made by fdrake
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1073661&group_id=10127

>Category: Build control
>Group: Platform Specific
Status: Open
Resolution: None
>Priority: 4
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Karl Waclawek (kwaclaw)
Summary: Expat-1.95.8 win32bin mingw32 libraries

Initial Comment:
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 at be_reached@at_host-[_gmx.net

----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2005-01-28 21:35

Message:
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.


----------------------------------------------------------------------

Comment By: Karl Waclawek (kwaclaw)
Date: 2004-11-26 08:56

Message:
Logged In: YES 
user_id=290026

Why don't you provide a ready-made patch?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1073661&group_id=10127


More information about the Expat-bugs mailing list