Many Perl-Errors - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: Many Perl-Errors (/thread-1927.html) Pages: 1 2 |
Many Perl-Errors - Daniel - 12-03-2007 08:21 PM I would install the nightly-build from today, but there are many perl-errors. Code: root@server:/var/www/ispcp/engine/setup# perl ./ispcp-setup Bareword found where operator expected at ./ispcp-setup line 2516, near "/tmp/ispcp" (Missing operator before pcp?) Scalar found where operator expected at ./ispcp-setup line 2532, near "my $cfg_dir = "$main::cfg" (Might be a runaway multi-line "" string starting on line 2516) (Do you need to predeclare my?) Global symbol "$gui_root_dir" requires explicit package name at ./ispcp-setup line 2492. syntax error at ./ispcp-setup line 2504, near "my $gui_root_dir = "$main::cfg{'ROOT_DIR'}/gui" syntax error at ./ispcp-setup line 2506, near "}:" Global symbol "$gui_root_dir" requires explicit package name at ./ispcp-setup line 2506. syntax error at ./ispcp-setup line 2516, near "sys_command_rs("" syntax error at ./ispcp-setup line 2516, near "&>" Global symbol "$rs" requires explicit package name at ./ispcp-setup line 2516. Global symbol "$rdata" requires explicit package name at ./ispcp-setup line 2516. Global symbol "$cfg_dir" requires explicit package name at ./ispcp-setup line 2516. Execution of ./ispcp-setup aborted due to compilation errors. [/code] RE: Many Perl-Errors - gOOvER - 12-03-2007 08:40 PM Which Distro do you use? RE: Many Perl-Errors - Daniel - 12-03-2007 08:44 PM Debian etch RE: Many Perl-Errors - joximu - 12-03-2007 09:10 PM This is strange - there were several changes but not in this part - just a few lines before (line 2470...). This ticket 835 will cost us alot of time... Let's check this! /J RE: Many Perl-Errors - joximu - 12-03-2007 10:18 PM The errors are not in 2504 and following - it's the code before -> so we have to look at it again. I'll open the old ticket again... /J RE: Many Perl-Errors - joximu - 12-03-2007 10:29 PM Hi Daniel could you test this correction for us? in ispcp-setup line 2492 change the end of the line so it look like this Code: $rdata =~ s/sharedscripts/sharedscripts\n\tprerotate\n\t\t$main::cfg{'AWSTATS_ROOT_DIR'}\/awstats_updateal/gi; instead of a "$" at the end, better a "/gi"... with this correction the setup compiles and runs - but I don't know if it works as expected (should put a logrotate entry in the apache-logrotate file if awstat is enabled... - or something like this...) Feedback welcome! /J RE: Many Perl-Errors - Daniel - 12-03-2007 11:13 PM It works. Thank you. RE: Many Perl-Errors - joximu - 12-04-2007 12:37 AM Could you post the file /etc/logrotate.d/apache(2) ? after running the setup? Thanx RE: Many Perl-Errors - RatS - 12-04-2007 09:18 AM the same: http://www.isp-control.net/forum/fehler-bei-der-aktuellen-svn-t-1931.html#pid17638 RE: Many Perl-Errors - Daniel - 12-05-2007 06:02 PM joximu Wrote:Could you post the file /etc/logrotate.d/apache(2) ? after running the setup? Code: /var/log/apache2/*.log { |