[gold-users] Antwort: Re: running Perl 5.10

RNothdurft at spirit21.de RNothdurft at spirit21.de
Wed Jul 21 09:07:05 MDT 2010


Hi,

in version 2.2.0.0 there's a upgrade-script to migrate the dbfrom v2.1.x.x 
to 2.2.x.x. (test/bank_2.1_to_2.2.pl), see the contained releasenotes for 
migration process.

I wanted to upgrade gold from v2.1.12.2 to 2.2.0.0 just to check a normal 
upgrade process for my evaluation, but couldn't find how to do. So i tried 
to compile and install the new version above the old one, hoping that this 
would be the correct process :) gold is still running (with 2.2.0.0 now), 
so i think this procedure was correct.

Would it be possible to add a new chapter for general update/upgrade 
process to the users guide? That would be very helpful for those, who are 
new to gold (like me).
The chapter could contain something like:
"General Update/Upgrade Process
If there is no further information in the release note, update/-grade gold 
by following the steps in "Chapter 2. Installation" with executing 
subchapters Configuration, Compilation and Installation, like doing a new 
installation."

Kind regards,
Richard


Richard Nothdurft
DHBW-Student der SPIRIT/21 AG
Otto-Lilienthal-Str. 36, 71034 Böblingen
Mobil: 0177/7427024
E-Mail: rnothdurft at spirit21.de
Internet: http://www.spirit21.de




ingmar <ingmar at ucar.edu> 
Gesendet von: gold-users-bounces at supercluster.org
21.07.2010 16:17
Bitte antworten an
Gold Users Mailing List <gold-users at supercluster.org>


An
Gold Users Mailing List <gold-users at supercluster.org>
Kopie

Thema
Re: [gold-users] running Perl 5.10






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
> 

_______________________________________________
gold-users mailing list
gold-users at supercluster.org
http://www.supercluster.org/mailman/listinfo/gold-users



SPIRIT/21 AG

Sitz der Gesellschaft: Böblingen
Vorstand: Dietmar Wendt (Vorsitzender), Philipp Steffen, Joachim Gutheil
Vorsitzender des Aufsichtsrates: Siegfried J. Althaus
Registergericht: Amtsgericht Stuttgart, Registernummer: HRB 244681
Umsatzsteuer-Identifikationsnummer: DE 198412560
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/gold-users/attachments/20100721/a7bf1f7a/attachment.html 


More information about the gold-users mailing list