On Mon, Apr 04, 2011 at 03:55:24PM +0200, Simon Ruderich wrote: >>> I'm using Module::Build 0.340201 on Debian Squeeze. > >> You might want to upgrade to a more recent version of Module::Build. >> «apt-get install libmodule-build-perl» should upgrade it to 0.3607. >> CPAN will upgrade it to 0.38. It might solve your problems. > > Retried with 0.38, same problem.
Sorry, wrong version. I retried it with 0.36. >> The general solution looks something like this: >> >> use File::Spec 'catdir'; >> … >> $build->add_build_element('locale'); >> $build->install_base_relpaths(locale => catdir('share', 'locale')); >> $build->prefix_relpaths($_, locale => catdir('share', 'locale')) for >> qw/core vendor site/; >> $build->install_sets($_, 'locale', >> catdir($build->original_prefix($_)), 'share', 'locale')) for qw/core >> vendor site/; It would be great if this could get added to the cookbook. Regards, Simon -- + privacy is necessary + using gnupg http://gnupg.org + public key id: 0x92FEFDB7E44C32F9
pgpf6191oJxal.pgp
Description: PGP signature