Re: [Module::Build] how about shared data
Status: Beta
Brought to you by:
kwilliams
|
From: Randy W. S. <Ra...@Th...> - 2004-01-19 21:51:36
|
On 01/19/04 12:28, Jaap Karssenberg wrote: > On Sat, 17 Jan 2004 15:18:03 -0500 Randy W. Sims wrote: > : On 1/15/2004 11:35 AM, Jaap Karssenberg wrote: > : > Sory to bother you again, but what happens if I need to install > : > stuff into "/usr/share/$program_name" ? I know perl has no config > : > value for this but it seems rather essential for packages that > : > contain a complete program. > : > : Have you read the section "How Installation Paths are Determined" in > : the Module::Build manpage? Be aware that not all platforms have a > : '/usr/share/' directory structure to install into. > > I read the man page and I'm also aware of the portability issues. I need > a place to install data files and this should default to "share" on unix > systems. I now added "share", "etc" and "docs" install paths to an > overloaded version of Module::Build. Maybe I missed the point of your original message. Is this _package_ a perl module or a perl application? If the latter, then you should not be using any of the values that Module::Build provides to select an installation point. On my debian system, perl is in '/usr/bin/perl', but the FHS says application should NOT install in '/usr/' which is what M::B will do. M::B does not have any support for installing applications (yet?). Randy. |