when you have a another release as 2.30 you should dojherrinike wrote:I am still getting this when I try to run pancho.
Global symbol "$config_file" requires explicit package name at /usr/local/bin/pancho line 84.
......
Global symbol "$config_file" requires explicit package name at /usr/local/bin/pancho line 101.
Execution of /usr/local/bin/pancho aborted due to compilation errors.I think it is a problem of a missing package as we discuss at http://forums.cacti.net/viewtopic.php?t ... c&start=60.
It should be "Config-IniFiles-2.30" when you are using the makefile in pancho/modules, but I am working with the 2.38 installed in my perl.
Have you check your ppm ? You should have 2.30 (I have 2.38)"ppm> query Config-IniFiles
Querying target 1 (ActivePerl 5.8.6.811)
1. Config-IniFiles [2.38] A module for reading .ini-style configuration file"
+ change
- makefile.pl, ('Config::IniFiles' => '2.30',)
- execute it, "perl makefile.pl"
- start the makefile
+ or change directly the makefile you have now or search in your makefile "IniFiles.pm" and put it where pancho expect it to find. (for example something like pancho/blib/lib/InitFiles.pm)
(I am not a makefile specialist ...)
PS: what do you have at /usr/local/bin/pancho line 84?
PS: I think I will integrate the snmp-request (like in pancho) directly in the configmanager in order to bypass pancho. At this time I have no time, but I think it is now a need.