Skip Menu |

This queue is for tickets about the SAVI-Perl CPAN distribution.

Report information
The Basics
Id: 13089
Status: open
Priority: 0/
Queue: SAVI-Perl

People
Owner: Nobody in particular
Requestors: mailscanner [...] ecs.soton.ac.uk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.30
Fixed in: (no value)



Subject: x86_64 problems
Attempting to instal on AMD64 (x86_64) architecture results in the following output from "make": [root@karla 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 -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m64 -DVERSION=\"0.30\" -DXS_VERSION=\"0.30\" -fPIC "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE" SAVI.c In file included from sav_if/compute.h:18, from sav_if/savitype.h:18, from sav_if/csavi2c.h:20, from sav_if/csavi3c.h:18, from SAVI.xs:20: sav_if/s_comput.h:662:4: #error Unsupported GNU C/C++ target hardware platform make: *** [SAVI.o] Error 1
From: norman [...] CherniakSoftware.com
On Sat Jun 04 11:52:57 2005, guest wrote: Show quoted text
> Attempting to instal on AMD64 (x86_64) architecture results in the > following output from "make":
In an effort to compile I made the following changes: sav_if/s_comput.h /* * Clear everything to start with, apart from * those things that the build environment must * define by hand. These are: * __SOPHOS_BANYAN_VINES__ * __SOPHOS_WINNT__ * __SOPHOS_WIN95__ */ #define __SOPHOS_X86_64__ <---- added . . . In the GCC section: /* * Hardware platform. */ # if defined(__SOPHOS_X86_64__) <---- added # define __SOPHOS_I386__ <---- added # elif defined(__i386__) <---- changed # define __SOPHOS_I386__ In the Makefile generated by perl Makefile.PL I changed -m64 to -m32. Still get this error: gcc -c -I. -m32 -D_REENTRANT -D_GNU_SOURCE -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 -DVERSION=\"0.30\" -DXS_VERSION=\"0.30\" -fPIC "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE" SAVI.c Running Mkbootstrap for SAVI () chmod 644 SAVI.bs rm -f blib/arch/auto/SAVI/SAVI.so gcc -shared SAVI.o -o blib/arch/auto/SAVI/SAVI.so -L/usr/local/lib -R/usr/local/lib -lsavi gcc: unrecognized option `-R/usr/local/lib' /usr/bin/ld: skipping incompatible /usr/local/lib/libsavi.so when searching for -lsavi /usr/bin/ld: skipping incompatible /usr/local/lib/libsavi.so when searching for -lsavi /usr/bin/ld: cannot find -lsavi collect2: ld returned 1 exit status make: *** [blib/arch/auto/SAVI/SAVI.so] Error
Subject: Re: [rt.cpan.org #13089] x86_64 problems
Date: Sun, 19 Mar 2006 21:40:06 +0000
To: bug-SAVI-Perl [...] rt.cpan.org
From: Julian Field <MailScanner [...] ecs.soton.ac.uk>
The SAVI Sophos engine library is only available for i386 architecture, they don't (yet) produce any 64-bit versions of the library. So you can't use "sophossavi" on x86_64 machines, you will have to use "sophos" instead. Sorry, but there is nothing I can do about it, it is entirely in Sophos's hands. You may want to email them and ask when they are planning to release a 64-bit version of the SAVI library. You aren't the only person who has hit this problem, I wish I could get it too! Regards, Jules. Guest via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=13089 > > > On Sat Jun 04 11:52:57 2005, guest wrote: >
>> Attempting to instal on AMD64 (x86_64) architecture results in the >> following output from "make": >>
> In an effort to compile I made the following changes: > sav_if/s_comput.h > > /* > * Clear everything to start with, apart from > * those things that the build environment must > * define by hand. These are: > * __SOPHOS_BANYAN_VINES__ > * __SOPHOS_WINNT__ > * __SOPHOS_WIN95__ > */ > #define __SOPHOS_X86_64__ <---- added > . > . > . > > In the GCC section: > /* > * Hardware platform. > */ > > # if defined(__SOPHOS_X86_64__) <---- added > # define __SOPHOS_I386__ <---- added > # elif defined(__i386__) <---- changed > # define __SOPHOS_I386__ > > In the Makefile generated by > perl Makefile.PL > I changed -m64 to -m32. > > Still get this error: > gcc -c -I. -m32 -D_REENTRANT -D_GNU_SOURCE -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 > -DVERSION=\"0.30\" -DXS_VERSION=\"0.30\" -fPIC > "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE" SAVI.c > Running Mkbootstrap for SAVI () > chmod 644 SAVI.bs > rm -f blib/arch/auto/SAVI/SAVI.so > gcc -shared SAVI.o -o blib/arch/auto/SAVI/SAVI.so -L/usr/local/lib > -R/usr/local/lib -lsavi > gcc: unrecognized option `-R/usr/local/lib' > /usr/bin/ld: skipping incompatible /usr/local/lib/libsavi.so when > searching for -lsavi > /usr/bin/ld: skipping incompatible /usr/local/lib/libsavi.so when > searching for -lsavi > /usr/bin/ld: cannot find -lsavi > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/SAVI/SAVI.so] Error > > >
-- Julian Field www.MailScanner.info Buy the MailScanner book at www.MailScanner.info/store Professional Support Services at www.MailScanner.biz MailScanner thanks transtec Computers for their support PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.