> -----Original Message-----
> From: Jack L. Stone [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 13, 2007 9:29 AM
> To: Michael Scheidell; [EMAIL PROTECTED]
> Cc: users@spamassassin.apache.org; [EMAIL PROTECTED]
> Subject: Re: Freebsd Port of SA 3.2.1
> 
> At 10:47 PM 6.12.2007 -0400, Michael Scheidell wrote:
> >If anyone wants a 'pre release' of the Freebsd sa 3.2.1 
> portfile, you 
> >can download it here:
> >
> >http://www.secnap.com/downloads/sa321.tgz
> 
> I am using FBSD-6.2 amd64 and ran into this problem when running make:
> .... bunch of other stuff all okay
> stopped here:
> Manifying blib/man3/Mail::SpamAssassin::Plugin::RelayCountry.3
> make -f spamc/Makefile spamc/libspamc.so gcc 
> -Wl,-R/usr/local/lib/perl5/5.8.8/mach/CORE spamc/libspamc.c 
> spamc/utils.c  -o spamc/libspamc.so -shared  -L/usr/local/lib -lz
> /usr/bin/ld: /var/tmp//cchaPM1S.o: relocation R_X86_64_32 can 
> not be used when making a shared object; recompile with -fPIC
> /var/tmp//cchaPM1S.o: could not read symbols: Bad value
> *** Error code 1

Give this a shot:

http://www.secnap.com/downloads/sa321.tgz

I added this to post-build: (mind the wrap)

 post-build:
+       @(cd ${BUILD_WRKSRC}/spamc; ${SED} -e '/^CCDLFLAGS/s/-Wl/-DPIC
-fPIC -Wl/' Makefile > Makefile.lib)

This based on other makefile with both -DPIC and -fPIC in it, and darn
if I know why spamc/Makefile doesn't have it there.


_________________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(tm).
For Information please see http://www.spammertrap.com
_________________________________________________________________________

Reply via email to