On Thu, 23 Apr 2009 08:52:44 +0200, Jens-Martin Groenne <[email protected]>
wrote:
>
> I get the following error when I try to start ASSP 1.5.1.2(1.0.10)
>
> syntax error at /usr/local/sbin/assp line 2026, near ") {"
> Execution of /usr/local/sbin/assp aborted due to compilation errors.
>
> It is this line:
> if ($hConfig->{enableSSL}) {
> $AvailIOSocketSSL = eval('use IO::Socket::SSL; 1'); # IO::Socket::SSL
> module installed
> }
>
A patch I sent yesterday was apparently (mis-)applied by hand! (Ahem,
Fritz!)
-jr
--- assp-1.5.1.2.1.0.10.pl.orig 2009-04-23 09:19:34.000000000 +0200
+++ assp-1.5.1.2.1.0.10.pl 2009-04-23 09:24:58.000000000 +0200
@@ -2021,10 +2021,8 @@
our $CanUseSysMemInfo = $AvailSysMemInfo;
our $AvailNetSMTP = eval('use Net::SMTP; 1'); # Net::SMTP module
installed
our $CanUseNetSMTP = $AvailNetSMTP;
-
-our $AvailIOSocketSSL,
+our $AvailIOSocketSSL;
if ($hConfig->{enableSSL}) {
$AvailIOSocketSSL = eval('use IO::Socket::SSL; 1'); # IO::Socket::SSL
module installed
}
our $CanUseIOSocketSSL = $AvailIOSocketSSL;
if ($CanUseIOSocketSSL) {
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test