FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

LinkBack Thread Tools
Old 11-21-2007, 11:37 PM
Russ Allbery
Default Bug#452316: Packages with empty directories

Neil Williams <codehelp@debian.org> writes:

> The only problem with the patch is that /usr/lib/perl5/ is often
> included just by creating a perl package. I've tried to get rid of it
> but it *is* created during 'make install' by use ExtUtils::MakeMaker;
> but it is not necessarily used by package files. Another problem is that
> the creation of the directory often doesn't show up in the build log - I
> can force it by running make install without sudo or a prefix:
> Warning: You do not have permissions to install into
> /usr/local/lib/perl/5.8.8 at /usr/share/perl/5.8/ExtUtils/Install.pm
> line 114.
> mkdir /usr/local/share/perl/5.8.8/XML: Permission denied at
> /usr/share/perl/5.8/ExtUtils/Install.pm line 176
> It seems that ExtUtils::MakeMaker insists on using both /usr/lib/perl5
> and /usr/share/perl5 whether the module itself uses them or not.

Currently you have to remove the empty directory yourself in debian/rules
after running make install. It's one of the standard things that we do
for Perl packages. It would be nice to fix ExtUtils::MakeMaker to not
create it in the first place, but so far as I know, no one has written a

Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>

To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Thread Tools

All times are GMT. The time now is 07:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org