
Hi Brian, On Fri, Jan 10, 2003 at 11:50:01AM -0800, Brian Gallucci wrote:
We are running FreeBSD 4.6 web05# uname -a FreeBSD web05.expnet.net 4.6-STABLE FreeBSD 4.6-STABLE
We have downloaded (otrs-0.5-BETA8.tar) and we are following the steps in the INSTALL file and here what we get..
Step 1. Install all the perl mods / Done Good
Check if all needed modules are installed: ------------------------------------------ $shell:~> perl -cw /opt/OpenTRS/bin/cgi-bin/index.pl /opt/OpenTRS/bin/cgi-bin/index.pl syntax OK $shell:~> perl -cw /opt/OpenTRS/bin/PostMaster.pl /opt/OpenTRS/bin/PostMaster.pl syntax OK $shell:~>
If you get "syntax OK" it seems to be Ok. Go ahead.
Well when we run (perl -cw /opt/OpenTRS/bin/cgi-bin/index.pl) this is what we get..
web05# perl -cw /opt/OpenTRS/bin/cgi-bin/index.pl syntax error at /opt/OpenTRS/bin/cgi-bin/../../Kernel/Config.pm line 539, near "$_;" BEGIN failed--compilation aborted at /opt/OpenTRS/bin/cgi-bin/index.pl line 48. [...] This may be something stupid, But please forgive us we are not Unix programmers but we are trying.
It is not stupid. :) It is a bug in 0.5 Beta8 with Perl 5.0 (see http://bugs.otrs.org/show_bug.cgi?id=54). Change the following in Kernel/Config.pm ~ line 539: [...] push (@ISA, $Self->{SubConfigs}->{$_}); $Self->$_; [...] to: [...] push (@ISA, $Self->{SubConfigs}->{$_}); $Self->$_() [...] and it will work. PS: OTRS 1.0 RC1 is released (ftp://ftp.gwdg.de/pub/misc/otrs/)! :)
-Brian
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "The number of Unix installations has grown to 10, with more expected." The Unix Programmer's Manual, 2nd Edition, June 1972