ispCP - Board - Support
Fehler bei der aktuellen SVN ? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+--- Thread: Fehler bei der aktuellen SVN ? (/thread-1931.html)



Fehler bei der aktuellen SVN ? - Slowman - 12-03-2007 11:50 PM

Die aktuelle SVN macht bei mir Probleme bei der Installation, vielleicht kann mir Jemand einen Rat geben, wie ich es gebacken bekomme.

Danke

Quote:debian:/var/www/ispcp/engine/setup# ./ispcp-setup
Bareword found where operator expected at ./ispcp-setup line 2504, near "my $gui_root_dir = "$main::cfg{'ROOT_DIR'}/gui"
(Do you need to predeclare my?)
String found where operator expected at ./ispcp-setup line 2506, near "$cmd = ""
(Might be a runaway multi-line "" string starting on line 2504)
(Missing semicolon on previous line?)
Scalar found where operator expected at ./ispcp-setup line 2506, near "$cmd = "$main::cfg"
(Missing operator before $main::cfg?)
String found where operator expected at ./ispcp-setup line 2516, near "sys_command_rs(""
(Might be a runaway multi-line "" string starting on line 2506)
(Missing semicolon on previous line?)
Scalar found where operator expected at ./ispcp-setup line 2516, near "sys_command_rs("$main::cfg"
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.



RE: Fehler bei der aktuellen SVN ? - Daniel - 12-03-2007 11:54 PM

http://www.isp-control.net/forum/many-perl-errors-t-1927.html

2 Zeichen ändern und schon geht es. Das Problem hatte ich heute Vormittag ebenso.


RE: Fehler bei der aktuellen SVN ? - Slowman - 12-03-2007 11:58 PM

Kannste mir das mal übersetzen Sad


RE: Fehler bei der aktuellen SVN ? - Daniel - 12-04-2007 12:06 AM

Ähm, du wirst doch wohl den vorletzten Beitrag übersetzten können?
Aber ich will mal nicht so sein.

Zeile 2492 von ipscp-setup durch folgende ersetzten:
Code:
$rdata =~ s/sharedscripts/sharedscripts\n\tprerotate\n\t\t$main::cfg{'AWSTATS_ROOT_DIR'}\/awstats_updateal/gi;
Es ist eigentlich nur das letzte $-Zeichen duch /gi ersetzt worden.


RE: Fehler bei der aktuellen SVN ? - Slowman - 12-04-2007 12:14 AM

Danke


RE: Fehler bei der aktuellen SVN ? - RatS - 12-04-2007 09:17 AM

Code:
$rdata =~ s/sharedscripts/sharedscripts\n\tprerotate\n\t\t$main::cfg{'AWSTATS_ROOT_DIR'}\/awstats_updateall\.pl/gi;

is correct!