Runtime error from Log4perl PatternLayout, no Time::HiRes::gettimeofday

59 views
Skip to first unread message

ickphum

unread,
May 14, 2009, 1:56:53 AM5/14/09
to Cava Packager
Hi,

I'm just having my first attempt at packaging our wxPerl application
using Cava. Haven't done anything other than:
add script
add executable
add 3 local Perl Library directories for our modules

I then scan the script & build.

After build, I choose to run the application and I get an error :

Undefined subroutine &Log::Log4perl::Logger::cleanup called at Log/
Log4perl.pm line 5
END failed--call queue aborted.
Undefined subroutine &Time::HiRes::gettimeofday called at Log/Log4perl/
Layout/PatternLayout.pm line 34.
BEGIN failed--compilation aborted at Log/Log4perl/Layout/
PatternLayout.pm line 45.
Compilation failed in require at Log/Log4perl/Layout.pm line 5.
...etc

The Time::HiRes::gettimeofday call seems to be the root problem; this
module is included in the Scanned Modules list. I think this call is
autoloaded if that makes a difference.

Thanks,
Ian Macdonald
Australia

DFJoe

unread,
Jun 10, 2009, 5:12:54 AM6/10/09
to Cava Packager
Hi, I am also getting this error, Has anyone successfully built a Cava
project that requires log4perl?
cheers,
Paul Dancer

Ian Macdonald

unread,
Jun 10, 2009, 8:16:59 PM6/10/09
to cava-p...@googlegroups.com
I ended up just using SimpleLayout when running as a Cava app, that works ok, but it might not suit your requirements.

Ian Macdonald
--
Ian Macdonald
Reply all
Reply to author
Forward
0 new messages