[Orca-users] Re: Problem create Graph's on Solaris 10

Bernd Kuhls bernd.kuhls at informatik.uni-oldenburg.de
Thu May 12 04:52:19 PDT 2005


Christoph.Baumann at coop.ch wrote:

> 
> I try to install orcallator on Solaris 10.

Hi,

I had exactly the same problem. Don't know why it happened but I
solved it by editing lib/Orca/ImageFile.pm:

added line

use POSIX qw(strftime);

after

use vars            qw($VERSION);

and changed line

       'COMMENT:Last data entered at ' . localtime($plot_end_time) . '.';

to

'COMMENT:Last data entered at ' . (strftime "%a, %e. %b %Y, %H.%M.%S", 
localtime($plot_end_time)) . '.';

I am sure there is an easier solution but the code I used was the first 
which Google spit out and I could adapt;-)

HTH, Bernd




More information about the Orca-users mailing list