|
Date: 9/6/2008 12:30 pm · Subject: global symbol error when executing preload.perl · Rating: 0
For the longest time I've been getting a stream of errors whenever I execute preload.perl (as a result of starting Apache or from the CL). WebGUI has continued to function but I figure I need to get off my duff and fix this.
Can anybody offer me some direction on how to resolve this? My guess is that they're all the same issue, so fixing it once would clear all of this out...
I've edited this output for the sake of brevity:
[root@MyServer sbin]# perl ./preload.perl Error loading WebGUI::URL! - Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/URL.pm line 125. Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/URL.pm line <various line numbers>. Compilation failed in require at ./preload.perl line 57.
Error loading WebGUI::Grouping! - Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/Grouping.pm line 76. Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/Grouping.pm line <various line numbers>. Compilation failed in require at ./preload.perl line 57.
Error loading WebGUI::HTTP! - Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/Style.pm line 61. Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/Style.pm line <various line numbers>. Compilation failed in require at /data/WebGUI/lib/WebGUI/HTTP.pm line 22. BEGIN failed--compilation aborted at /data/WebGUI/lib/WebGUI/HTTP.pm line 22. Compilation failed in require at ./preload.perl line 57.
Error loading WebGUI::Privilege! - Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/Privilege.pm line 91. Compilation failed in require at ./preload.perl line 57.
Error loading WebGUI::Icon! - Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/Icon.pm line 75. Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/Icon.pm line <various line numbers>. Compilation failed in require at ./preload.perl line 57.
Error loading WebGUI::MessageLog! - Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/Mail.pm line 87. Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/Mail.pm line <various line numbers>. Compilation failed in require at /data/WebGUI/lib/WebGUI/MessageLog.pm line 24.
BEGIN failed--compilation aborted at /data/WebGUI/lib/WebGUI/MessageLog.pm line 24. Compilation failed in require at ./preload.perl line 57.
Error loading WebGUI::Operation::MessageLog! - Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/Operation/MessageLog.pm line 36. Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/Operation/MessageLog.pm line <various line numbers>. Compilation failed in require at ./preload.perl line 57.
Error loading WebGUI::Macro::DateParse! - Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/Macro/DateParse.pm line 26. Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/Macro/DateParse.pm line 26. Compilation failed in require at ./preload.perl line 57.
Error loading WebGUI::Asset::Wobject::IndexedSearch! - Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/Asset/Wobject/IndexedSearch.pm line 190. Global symbol "%session" requires explicit package name at /data/WebGUI/lib/WebGUI/Asset/Wobject/IndexedSearch.pm line<various line numbers>. Compilation failed in require at ./preload.perl line 57.
Can't locate object method "server" via package "Apache2::ServerUtil" at ./preload.perl line 69.
--- (Edited on 9/6/2008 12:30 pm [GMT-0500] by chrisjscott) ---
|