
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. and (perl -cw /opt/OpenTRS/bin/PostMaster.pl) web05# perl -cw /opt/OpenTRS/bin/PostMaster.pl syntax error at /opt/OpenTRS/bin/..//Kernel/Config.pm line 539, near "$_;" BEGIN failed--compilation aborted at /opt/OpenTRS/bin/PostMaster.pl line 41. This may be something stupid, But please forgive us we are not Unix programmers but we are trying. Thanks for any help you can offer. -Brian

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

I just downloaded the new version and this is what I get..
web05# perl -cw /opt/otrs/bin/cgi-bin/index.pl
Can't locate Kernel/Config.pm in @INC (@INC contains:
/opt/otrs/bin/cgi-bin/../../Kernel/cpan-lib /opt/otrs/bin/cgi-bin/../..
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503) at /opt/otrs/bin/cgi-bin/index.pl line 49.
BEGIN failed--compilation aborted at /opt/otrs/bin/cgi-bin/index.pl line 49.
Thanks
-Brian
----- Original Message -----
From: "Martin Edenhofer"
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
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Hi Brian, On Fri, Jan 10, 2003 at 01:37:17PM -0800, OTRS wrote:
I just downloaded the new version and this is what I get..
web05# perl -cw /opt/otrs/bin/cgi-bin/index.pl Can't locate Kernel/Config.pm in @INC (@INC contains: /opt/otrs/bin/cgi-bin/../../Kernel/cpan-lib /opt/otrs/bin/cgi-bin/../.. /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503) at /opt/otrs/bin/cgi-bin/index.pl line 49. BEGIN failed--compilation aborted at /opt/otrs/bin/cgi-bin/index.pl line 49.
Yes! It's new in 1.0. :) INSTALL [...] 4. Demo config files: ------------------ There are several OTRS demo config files in $OTRS_HOME/Kernel/*.dist and $OTRS_HOME/Kernel/Config/*.dist. Make copies of all demo config files: cp Kernel/Config.pm.dist Kernel/Config.pm cd Kernel/Config/ for foo in *.dist; do cp $foo `basename $foo .dist`; done [...] It's easier to update tar.gz - versions (e. g. on FreeBSD).
Thanks -Brian
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Old programmers never die. They just branch to a new address.

Hi Brian,
On Fri, Jan 10, 2003 at 01:37:17PM -0800, OTRS wrote:
I just downloaded the new version and this is what I get..
web05# perl -cw /opt/otrs/bin/cgi-bin/index.pl Can't locate Kernel/Config.pm in @INC (@INC contains: /opt/otrs/bin/cgi-bin/../../Kernel/cpan-lib /opt/otrs/bin/cgi-bin/../.. /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503) at /opt/otrs/bin/cgi-bin/index.pl line 49. BEGIN failed--compilation aborted at /opt/otrs/bin/cgi-bin/index.pl line
Okay this is going to sound stupid...
But what does this mean ?
cd Kernel/Config/
for foo in *.dist; do cp $foo `basename $foo .dist`; done
[...]
Thanks
-Brian
----- Original Message -----
From: "Martin Edenhofer"
Yes! It's new in 1.0. :)
INSTALL [...] 4. Demo config files: ------------------ There are several OTRS demo config files in $OTRS_HOME/Kernel/*.dist and $OTRS_HOME/Kernel/Config/*.dist. Make copies of all demo config
files:
cp Kernel/Config.pm.dist Kernel/Config.pm
cd Kernel/Config/ for foo in *.dist; do cp $foo `basename $foo .dist`; done [...]
It's easier to update tar.gz - versions (e. g. on FreeBSD).
Thanks -Brian
Martin
-- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Old programmers never die. They just branch to a new address.
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Hi Brian, On Sat, Jan 11, 2003 at 04:48:18PM -0800, OTRS wrote:
Okay this is going to sound stupid...
But what does this mean ? cd Kernel/Config/
-=> Go into the Kernel/Config/ directory.
for foo in *.dist; do cp $foo `basename $foo .dist`; done
-=> Copy each XYZ.pm.dist (example file) file to XYZ.pm (used file).
[...]
Thanks -Brian
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- nohl: 11:10am up 80 days, 13:45, 6 users, load average: 0.20, 0.20, 0.17
participants (3)
-
Brian Gallucci
-
Martin Edenhofer
-
OTRS