Subject: | wishlist: Better suggestion on installing libexpat1-dev / expat-devel |
Date: | Fri, 12 Jul 2013 13:52:04 +0200 |
To: | <bug-XML-Parser [...] rt.cpan.org> |
From: | alois.mahdal [...] zxcvb.cz |
Hi,
it's longer time ago, but looking at code, I can see that this
has not changed:
I was trying to build XML::Parser on Debian, but I stumbled on
this message:
Show quoted text
> Expat must be installed prior to building XML::Parser and
> I can't find it in the standard library directories. Install
> 'expat-devel' package with your OS package manager. See 'README'.
The problem is that in Debian repo, the necessary package is called
libexpat1-dev.
Thanks [to Stackoverflow][1], I have already resolved the problem,
but there might be others stumbling unnecessarily.
[1]:
http://stackoverflow.com/questions/9693031/how-to-install-xmlparser-without-expat-devel
So is it possible to give better hint here? Either change the name
based on current distro, or simply say both names?
The message is twice in Makefile.pl, for 2.41-1 it's [line 41][2]
and [line 101][3].
[2]:
http://sources.debian.net/src/libxml-parser-perl/2.41-1/Makefile.PL?hl=41#L41
[3]:
http://sources.debian.net/src/libxml-parser-perl/2.41-1/Makefile.PL?hl=101#L101
Thanks,
aL.
--
Alois Mahdal