gscan2pdf 0.9.31 doesn't work

Torfinn Ingolfsen tingox at gmail.com
Sat Sep 25 16:15:38 UTC 2010


New test, the machine is now upgraded to FreeBSD 8.1-stable:
tingo at kg-v2$ uname -a
FreeBSD kg-v2.kg4.no 8.1-STABLE FreeBSD 8.1-STABLE #3: Thu Sep 16 22:18:48
CEST 2010     root at kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
Perl is upgraded to 5.10 (and all ports depnding on it reinstalled as per
/usr/ports/UPDATING):
root at kg-v2# portversion -v | grep ^perl
perl-5.10.1_2               =  up-to-date with port
perltidy-20090616           =  up-to-date with port

the latest version of gsnan2pdf is installed:
root at kg-v2# portversion -v | grep gscan2pdf
gscan2pdf-0.9.31            =  up-to-date with port

When I start gscan2pdf, I get this:
tingo at kg-v2$ gscan2pdf
Constant subroutine main::LC_CTYPE redefined at
/usr/local/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/local/bin/gscan2pdf line 165
Prototype mismatch: sub main::LC_CTYPE () vs none at
/usr/local/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/local/bin/gscan2pdf line 165
Constant subroutine main::LC_NUMERIC redefined at
/usr/local/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/local/bin/gscan2pdf line 165
Prototype mismatch: sub main::LC_NUMERIC () vs none at
/usr/local/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/local/bin/gscan2pdf line 165
Constant subroutine main::LC_TIME redefined at
/usr/local/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/local/bin/gscan2pdf line 165
Prototype mismatch: sub main::LC_TIME () vs none at
/usr/local/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/local/bin/gscan2pdf line 165
Constant subroutine main::LC_COLLATE redefined at
/usr/local/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/local/bin/gscan2pdf line 165
Prototype mismatch: sub main::LC_COLLATE () vs none at
/usr/local/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/local/bin/gscan2pdf line 165
Constant subroutine main::LC_MONETARY redefined at
/usr/local/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/local/bin/gscan2pdf line 165
Prototype mismatch: sub main::LC_MONETARY () vs none at
/usr/local/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/local/bin/gscan2pdf line 165
Constant subroutine main::LC_MESSAGES redefined at
/usr/local/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/local/bin/gscan2pdf line 165
Prototype mismatch: sub main::LC_MESSAGES () vs none at
/usr/local/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/local/bin/gscan2pdf line 165
Constant subroutine main::LC_ALL redefined at
/usr/local/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/local/bin/gscan2pdf line 165
Prototype mismatch: sub main::LC_ALL () vs none at
/usr/local/lib/perl5/5.10.1/Exporter.pm line 67.
 at /usr/local/bin/gscan2pdf line 165
Bareword found where operator expected at /usr/local/bin/gscan2pdf line
8849, near "'button"
  (Might be a runaway multi-line '' string starting on line 8723)
    (Missing operator before button?)
syntax error at /usr/local/bin/gscan2pdf line 8849, near "'button"
Bad name after event' at /usr/local/bin/gscan2pdf line 8849.

Does nayone know how to fix this?

Have a nice day.
-- 
Regards,
Torfinn Ingolfsen


More information about the freebsd-ports mailing list