Ok I think I sorted it myself, but not sure how to update buildtool.pl in
the cvs
Change
use Config::General 2.15;
to
use Config::General qw(ParseConfig SaveConfig SaveConfigString);
in buildtool.pl when using the newer version of Config::General
>From upstream ChangeLog for Config::General
o the functions ParseConfig SaveConfig SaveConfigString must
now imported implicitly. This might break existing code, but
is easily to fix.
So with 2.32, one needs to do something like "use Config::General
qw(ParseConfig) ; ParseConfig(...)", or perl -MConfig::General=ParseConfig
-e
'ParseConfig(...)'.
Hope that helps others
Cheers
Ad
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam
Niedzwiedzki
Sent: Wednesday, 18 July 2007 8:02 AM
To: [email protected]
Subject: [leaf-user] Problem with buildtool.pl and Config::General
Hi guys,
I've just run up a bare debian-40r0 machine and grabbed buildtool from cvs.
When I try and run buildtool.pl build buildenv I get the following error
debian:~/src/bering-uclibc/buildtool> ./buildtool.pl build buildenv
Undefined subroutine &main::ParseConfig called at ./buildtool.pl line 48.
I made sure I installed Config::General
perl -MCPAN -e 'install Config::General'
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 16 Jul 2007 11:50:42 GMT
Config::General is up to date.
Any ideas where I can go from here?
Cheers
Ad
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/