po4a icon indicating copy to clipboard operation
po4a copied to clipboard

Cannot change install directory

Open JL2210 opened this issue 6 years ago • 4 comments

Use of uninitialized value $Text::WrapI18N::charmap in pattern match (m//) at /usr/local/lib/perl5/site_perl/5.26.1/Text/WrapI18N.pm line 137. Use of uninitialized value $Text::WrapI18N::charmap in pattern match (m//) at /usr/local/lib/perl5/site_perl/5.26.1/Text/WrapI18N.pm line 155. Can't exec "/usr/bin/locale": No such file or directory at /usr/local/lib/perl5/site_perl/5.26.1/Text/WrapI18N.pm line 134. I cannot change the install directory. When I try to build, this error shows. How do I change it to /usr/local so locale runs correctly?

JL2210 avatar May 21 '18 23:05 JL2210

Hello, thanks for the feedback.

Could you please elaborate on how you tried to change the install directory, and which command led to the outlined error message, please?

Thanks, Mt.

mquinson avatar May 23 '18 21:05 mquinson

I tried to change the install directory by running Build.PL with destdir=/usr/local and with --install_base /usr/local. I was running perl Build when that error came up.

JL2210 avatar May 28 '18 13:05 JL2210

Have you figured anything out about this?

JL2210 avatar Sep 29 '18 22:09 JL2210

Unfortunately not. Any help would be really welcome, as po4a is best maintained by its users, nowadays. Thanks in advance,

mquinson avatar Sep 30 '18 22:09 mquinson

Hello,

looking again at the logs, the issue is (1) probably not related to your usage of destdir (2) coming from Text::WrapI18N and not po4a itself. The important part is Can't exec "/usr/bin/locale": No such file or directory

Text::WrapI18N fails to determine the prefered locale on your system, and as a last resort, it tries to call the /usr/bin/locale binary to determine this. Are you on Linux or Windows?

Sorry for the delay, I don't have much time to devote to po4a these years...

Mt

mquinson avatar Jan 05 '24 01:01 mquinson

I'm closing this bug report as it seems invalid to me. @JL2210 please feel free to reopen it with a comment if you disagree.

mquinson avatar Jan 05 '24 15:01 mquinson