sophossavi make test failed
ius
ius at ALPHA.RBRANA.CO.ID
Wed Feb 23 10:19:35 GMT 2005
[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Julian Field wrote:
> Did you make the correct changes to the Makefile.PL file as instructed
> on http://www.sng.ecs.soton.ac.uk/mailscanner/install/SAVI.shtml
> ?
>
> ius wrote:
>
>> ius wrote:
>>
>>> Hi,
>>>
>>> I'm trying to install SAVI for MS, i got problem when make test :
>>>
>>> [root at alpha SAVI-Perl-0.30]# perl Makefile.PL
>>> Checking if your kit is complete...
>>> Looks good
>>> Writing Makefile for SAVI
>>> [root at alpha SAVI-Perl-0.30]# make test
>>> cp SAVI.pm blib/lib/SAVI.pm
>>> AutoSplitting blib/lib/SAVI.pm (blib/lib/auto/SAVI)
>>> /usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap
>>> /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap SAVI.xs >
>>> SAVI.xsc && mv SAVI.xsc SAVI.c
>>> Please specify prototyping behavior for SAVI.xs (see perlxs manual)
>>> gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
>>> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
>>> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32
>>> -march=i386
>>> -mtune=pentium4 -DVERSION=\"0.30\" -DXS_VERSION=\"0.30\" -fPIC
>>> "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" SAVI.c
>>> Running Mkbootstrap for SAVI ()
>>> chmod 644 SAVI.bs
>>> rm -f blib/arch/auto/SAVI/SAVI.so
>>> gcc -shared -L/usr/local/lib SAVI.o -o blib/arch/auto/SAVI/SAVI.so
>>> -L/usr/local/Sophos/lib -R/usr/local/Sophos/lib -lsavi
>>> gcc: unrecognized option `-R/usr/local/Sophos/lib'
>>> chmod 755 blib/arch/auto/SAVI/SAVI.so
>>> cp SAVI.bs blib/arch/auto/SAVI/SAVI.bs
>>> chmod 644 blib/arch/auto/SAVI/SAVI.bs
>>> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
>>> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>>> t/use....Can't load
>>> '/root/src/SAVI-Perl-0.30/blib/arch/auto/SAVI/SAVI.so' for module SAVI:
>>> libsavi.so.3: cannot open shared object file: No such file or directory
>>> at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
>>> at t/use.t line 8
>>> Compilation failed in require at t/use.t line 8.
>>> BEGIN failed--compilation aborted at t/use.t line 8.
>>> t/use....dubious
>>> Test returned status 255 (wstat 65280, 0xff00)
>>> DIED. FAILED test 1
>>> Failed 1/1 tests, 0.00% okay
>>> Failed Test Stat Wstat Total Fail Failed List of Failed
>>> -------------------------------------------------------------------------------
>>>
>>>
>>>
>>> t/use.t 255 65280 1 2 200.00% 1
>>> Failed 1/1 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay.
>>> make: *** [test_dynamic] Error 2
>>>
>>> what could be wrong ?
>>>
>>> Thanks a lot
>>> ius
>>>
>>> ------------------------ MailScanner list ------------------------
>>> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>>> 'leave mailscanner' in the body of the email.
>>> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
>>> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>>>
>>> Support MailScanner development - buy the book off the website!
>>
>>
>>
>> addition, forgot to do make (sorry) :
>>
>> o such file or directory at
>> /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
>> at t/use.t line 8
>> Compilation failed in require at t/use.t line 8.
>> BEGIN failed--compilation aborted at t/use.t line 8.
>> t/use....dubious
>> Test returned status 255 (wstat 65280, 0xff00)
>> DIED. FAILED test 1
>> Failed 1/1 tests, 0.00% okay
>> Failed Test Stat Wstat Total Fail Failed List of Failed
>> -------------------------------------------------------------------------------
>>
>>
>> t/use.t 255 65280 1 2 200.00% 1
>> Failed 1/1 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay.
>> make: *** [test_dynamic] Error 2
>>
>> Thanks again
>> ius
>>
>> ------------------------ MailScanner list ------------------------
>> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>> 'leave mailscanner' in the body of the email.
>> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
>> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>>
>> Support MailScanner development - buy the book off the website!
>>
>
> --
> Julian Field
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store
>
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
I found it when i do make after perl Makefile.pl :
perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for SAVI
[root at alpha SAVI-Perl-0.30]# make
cp SAVI.pm blib/lib/SAVI.pm
AutoSplitting blib/lib/SAVI.pm (blib/lib/auto/SAVI)
/usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.
5/ExtUtils/typemap -typemap typemap SAVI.xs > SAVI.xsc && mv SAVI.xsc
SAVI.c
Please specify prototyping behavior for SAVI.xs (see perlxs manual)
gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-stri
ct-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=6
4 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4
-DVERSION=
\"0.30\" -DXS_VERSION=\"0.30\" -fPIC
"-I/usr/lib/perl5/5.8.5/i386-linux-thread-m
ulti/CORE" SAVI.c
Running Mkbootstrap for SAVI ()
chmod 644 SAVI.bs
rm -f blib/arch/auto/SAVI/SAVI.so
gcc -shared -L/usr/local/lib SAVI.o -o blib/arch/auto/SAVI/SAVI.so
-L/usr/lo
cal/Sophos/lib -R/usr/local/Sophos/lib -lsavi
_gcc: unrecognized option `-R/usr/local/Sophos/lib'
_chmod 755 blib/arch/auto/SAVI/SAVI.so
cp SAVI.bs blib/arch/auto/SAVI/SAVI.bs
chmod 644 blib/arch/auto/SAVI/SAVI.bs
Manifying blib/man3/SAVI.3pm
pls take a look at underlined text, could that be the problem ?
Thx julian
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list