[gold-users] running Perl 5.10
ingmar
ingmar at ucar.edu
Wed Jul 21 08:17:16 MDT 2010
We are currently running gold-2.1.10.0. If this is fixed in the latest
version, we can upgrade to that. Question, when doing an upgrade, is
there a database script that needs be run for any updates in database
schema? Never done an upgrade to gold yet.
Thanks,
-ingmar
On 07/20/2010 05:28 PM, Scott Jackson wrote:
> Ingmar,
>
> What version are you running again?
>
> I'm thinking the Client.pm part was fixed in Gold 2.1.12.0. There were
> two things that contributed to this:
>
> $ svn diff -c 131
> Index: lib/Gold/Client.pm
> ===================================================================
> --- lib/Gold/Client.pm (revision 130)
> +++ lib/Gold/Client.pm (revision 131)
> @@ -263,6 +263,8 @@
> else
> {
> $currency_precision =
> $config->get_property("currency.precision") || 0;
> + if ($currency_precision =~ /^(\d+)$/) { $currency_precision =
> $1; }
> + else { die "Illegal characters were found in
> \$currency_precision ($currency_precision)\n"; }
> }
>
> # Raw format
>
>
> $ svn diff -c 217 Makefile.in
> Index: Makefile.in
> ===================================================================
> --- Makefile.in (revision 216)
> +++ Makefile.in (revision 217)
> @@ -106,7 +106,7 @@
> $(SBINS): Makefile
> -mkdir -p sbin
> basename=`echo $@ | sed -e 's#^.*/##'`; \
> - sed '1s%#!.*%#! $(PERL) -wT%' src/$${basename}.pl | sed "s%use lib
> .*%use lib qw(@libdir@ @libdir@/perl5);%">$@
> + sed '1s%#!.*%#! $(PERL) -w%' src/$${basename}.pl | sed "s%use lib
> .*%use lib qw(@libdir@ @libdir@/perl5);%">$@
> chmod 755 $@
>
> $(CGIBINS): Makefile
>
> This can be directly remedied by removing the -T switch from the perl
> magic header line in goldd.
>
> Gold 2.2 and higher already had this fix.
>
> Scott
>
>
> ingmar wrote:
>
>> Anyone seen this error when running Gold with Perl 5.10? I am getting
>> the error after changing the currency precision from 0 to 2.
>> Thanks,
>> -ingmar
>>
>> glsjob
>> Insecure dependency in sprintf while running with -T switch at
>> /usr/local/gold/lib/Gold/Client.pm line 325.
>> _______________________________________________
>> gold-users mailing list
>> gold-users at supercluster.org
>> http://www.supercluster.org/mailman/listinfo/gold-users
>>
>>
> _______________________________________________
> gold-users mailing list
> gold-users at supercluster.org
> http://www.supercluster.org/mailman/listinfo/gold-users
>
More information about the gold-users
mailing list