[Po4a-devel]Local installation fails due to hard-coded paths

Danilo Piazzalunga danilopiazza@libero.it
Sat, 26 Feb 2005 15:59:08 +0100


Hello,

Build.PL contains hard-coded paths to '/usr/share/man' and 
'/usr/share/locale'. These prevent a local installation and affect the usage 
of the destdir option.

Example:

$ ./Build install destdir=/tmp
Installing /tmp/usr/local/man/man1/po4a-normalize.1p
[...]
Installing /tmp/usr/local/man/man3/Locale::Po4a::Po.3pm
Installing /tmp/usr/share/man/ca/man1/po4a-updatepo.1p.gz
[...]
Installing /tmp/usr/share/man/it/man3/Locale::Po4a::Common.3pm.gz
Installing /tmp/usr/share/man/man7/po4a.7.gz
Installing /tmp/usr/share/locale/ca/LC_MESSAGES/po4a.mo
Installing /tmp/usr/share/locale/es/LC_MESSAGES/po4a.mo
Installing /tmp/usr/share/locale/fr/LC_MESSAGES/po4a.mo
Installing /tmp/usr/share/locale/it/LC_MESSAGES/po4a.mo
Installing /tmp/usr/local/bin/po4a
[...]


Cheers,
Danilo