Bug#492815: bogus dependencies when building pelr modules, missing dependency in libperl-dev
Marc Lehmann
schmorp at schmorp.de
Thu Nov 4 20:49:22 UTC 2010
On Thu, Nov 04, 2010 at 09:46:15PM +0200, Niko Tyni <ntyni at debian.org> wrote:
> I'm not seeing this behaviour, and it would be a serious problem for our
> autobuilders so they aren't either. Does it still happen for you?
No, this has been fixed since then.
> > But libperl-dev lacks these depencies, so one has to install those manually.
>
> The libperl-dev package is only needed for linking against libperl.so itself,
> its dependencies aren't really related to what ExtUtils::MakeMaker needs.
Of course they are - if I install perl I cannot build xs-modules, I need
libperl-dev, and since perl requires linking against -lgdbm (or did so in the
past), *something* has to depend on libgdbm-dev, and the obvious place for
this is libperl-dev. The same is true for any other library perl is required
to link against when building your own perl binaries or modules.
> Maybe you mean ExtUtils::Embed? That does list -lcrypt but not -lgdbm here.
No, back then, -lgdbm was in the set of libraries required for linking in
Config.pm, right now (5.10.1-14), it's only -lpthread.
Same princpiple applies - there must be a debian package which depends on
pthread.h and other development files because without it, building perl
modules isn't possible.
That doesn't need to be libperl-dev, but it would be the logical place for
that. I don't currently see the dependency anywhere (but I didn't look very
hard).
Without the dependency there is no way to build perl
extensions/binaries/modules without manually installing perl-dev
dependencies (currently only libc-dev).
Or maybe debian doesn't support ExtUtils::MakeMaker? Or maybe debian requires
one to install build-dependencies for perl to install modules?
All possible, and if true, just ignore/close this bugreport, and sorry for
the noise in that case (or actually, good that the original bug has been
fixed by now).
Greetings,
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
More information about the Perl-maintainers
mailing list