[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

interesting problem in perl vs perl5-lib\d+



-----BEGIN PGP SIGNED MESSAGE-----

I've got a slight problem that I "fixed" in a not completely elegant
manner.  There is a new libperl5.so.\d+ in the latest set of Perl
packages.  This means that if you just need to embed Perl into an
application and you don't need all the libraries or the executable, you
can; it's not dependent on the perl package.  The perl package is also
not dependent on the perl5-lib\d+ package since /usr/bin/perl is still
linked with a static libperl.a.  The quandary arises because of the
/usr/lib/perl5.so symbolic link that needs to be provided.  Perl already 
has many packages; I don't want to split off YAP that just contains a
few header files and a symbolic link for perl5-dev.  The perl package is 
the development package for perl5-lib\d+.  Unfortunately, this leaves me 
with a dangling symlink in /usr/lib.  This shouldn't be a problem unless 
someone links shared with -lperl5 at which point they'll be told it
doesn't work.  But the only way you could do that would be to handcraft
an appropriate Makefile rather than using MakeMaker since the Config.pm
is still correct in thinking that it's still libperl.a.

Right now, I can only think of two solutions.
1) Have a dangling symlink in the perl package.   (current practice -
						   rather inelegant)
2) Make a perl5-lib-dev package that includes a	  (I don't want YAPP.)
   few header files and the symlink.

Any ideas?

Darren
- -- 
<torin@daft.com> <http://www.daft.com/~torin> <torin@debian.org> <torin@io.com>
Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-800-921-4996
@ Sysadmin, webweaver, postmaster for hire.  C/Perl/CGI programmer and tutor. @
@		     Make a little hot-tub in your soul.		      @

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3
Charset: noconv
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBNIfn344wrq++1Ls5AQGlyAP8CFfbIONqQCVpRukccKw+FDmaR9VNGDk3
eZY+BgMSrE8fTk3pAbqicHcpDMdx6QmKKkzZfUQCt+QW7JnY6Gs54HJWpXS8Jyu3
A28K3ku+bKnFuOxH9cTm/oXqEjUO5VpF1xxFmCyAMdMarOSJ/wFOSlfJBqgmlAhn
UU6/1XP+WLY=
=gztE
-----END PGP SIGNATURE-----


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: