Package: po4a Version: 0.41-1 Severity: important The subject pretty much says it all. I have a custom perlbrew-based perl installed in my $PATH and when I start po4a it gives:
$ po4a Can't locate Locale/Po4a/Chooser.pm [...] This is because the shebang specifies the perl from the environment. Instead it should hardcode the path to the Debian-maintained perl. This is what the vast majority of Perl programs that come with Debian do to avoid this issue: $ cd /usr/bin && for i in *; do head -n 1 $i | grep perl; done | sort | uniq -c | sort -nr 122 #!/usr/bin/perl -w 92 #!/usr/bin/perl 28 #! /usr/bin/perl -w 16 #! /usr/bin/perl 6 #! /usr/bin/env perl 4 #!/usr/bin/perl -wT 1 #!/usr/bin/perl -w -pi.old 1 #!/usr/bin/env perl 1 #! /usr/bin/env perl -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (900, 'testing'), (800, 'unstable'), (700, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.39-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages po4a depends on: ii gettext 0.18.1.1-5 ii libsgmls-perl 1.03ii-32 ii perl 5.14.2-5 ii perl-modules 5.14.2-5 ii sp 1.3.4-1.2.1-47.1 Versions of packages po4a recommends: ii liblocale-gettext-perl 1.05-7+b1 ii libterm-readkey-perl 2.30-4+b2 ii libtext-wrapi18n-perl 0.06-7 po4a suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org