[SA-exim] Exim 4.120/SA-Exim 3.0 running

Thomas Kinghorn thomask at mtnns.net
Fri May 16 14:14:18 PDT 2003


AARRGGGHHHH

another error........

downloads/sa-exim-3.0# make sa-exim-3.0.so

Building sa-exim-3.0.so
gcc -I../exim-4.14/src -I./eximinc -DDLOPEN_LOCAL_SCAN
-DSPAMASSASSIN_CONF=\"/usr/exim/spamassassin.conf\"
-DSPAMC_LOCATION=\"/usr/bin/spamc\" -O2 -Wall -shared -o sa-exim-3.0.so
sa-exim.c
sa-exim.c: In function `local_scan_version_major':
sa-exim.c:38: `LOCAL_SCAN_ABI_VERSION_MAJOR' undeclared (first use in this
function)
sa-exim.c:38: (Each undeclared identifier is reported only once
sa-exim.c:38: for each function it appears in.)
sa-exim.c: In function `local_scan_version_minor':
sa-exim.c:43: `LOCAL_SCAN_ABI_VERSION_MINOR' undeclared (first use in this
function)
sa-exim.c:427:2: warning: #warning you should not worry about the "might be
clobbered by longjmp", see source
make: *** [sa-exim-3.0.so] Error 1

any idea's.

sorry to bug everyone.

thanks for all the help.

Tom




-----Original Message-----
From: ODHIAMBO Washington [mailto:wash at wananchi.com]
Sent: 16 May 2003 11:38
To: sa-exim at lists.merlins.org
Subject: Re: [SA-exim] Exim 4.120/SA-Exim 3.0 running


* Tony Earnshaw <tonni at billy.demon.nl> [20030514 20:56]: wrote:
> Just in case people think that it never works :)
> 
> Red Hat Linux 7.2, kernel 2.4.19/ACPI, many system updates.
> 
> Did the patch and install according to Marc's instructions, apart from
> copying Local/* from my Exim 4.14 to 4.20/Local after checking
> srsc/EDITME to see that there was no difference (didn't use the 4.20
> patched EDITME.).
> 
> sa-exim-3.0.so wasn't changed or recompiled; I'm using the one compiled
> for Exim 4.14.
> 
> I can't understand Thomas' or Wash's troubles. Wash should know to copy
> the SA-Exim-patched src/EDITME to Local and do any final adjustments
> there before compiling? I don't have to tell him that ;) If the patches
> have been applied correctly, Exim *must* know what local_scan_path is.


;-/

Hmm, that was it. I did everything correctly but instead of using the
patched EDITME for Local/Makefile, I used my custom Makefile that I have
always kept, because I had sdiff-ed it with the one for exim-4.20 and saw
there was no change!! Stupid me, the patch changed stuff a bit.


Okay, so the instructions for FreeBSD (4.8) users should be like this:

FreeBSD-4.8 here ;-)
   

cd exim-4.20
patch -p1 < ../duncanthrax.net/exiscan/exiscan-4.20-26.patch
patch -p1 < ../SA-EXIM/sa-exim-3.0/localscan_dlopen.patch
   
cp src/EDITME Local/Makefile	# make the changes desired here, then
make
make install
   
cd ../SA-EXIM/sa-exim-3.0/
vi Makefile to change the EXIM_SRC
   
gmake

mkdir -p /usr/lib/exim4/local_scan
cp *.so /usr/lib/exim4/local_scan/


Thanks Tony!

I am wondering why you had to go the Postfix way. Is it for fun (and two
lives
in the MTA world) or is there something PostFix does better than Exim?



-Wash

-- 
Odhiambo Washington   <wash at wananchi.com>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922         so I installed FreeBSD."   
GSM: +254 72 743223   +254 733 744121       This sig is McQ!  :-)


Dimensions will always be expressed in the least usable term.
Velocity, for example, will be expressed in furlongs per fortnight.

_______________________________________________
SA-Exim mailing list
SA-Exim at lists.merlins.org
http://lists.merlins.org/lists/listinfo/sa-exim



More information about the SA-Exim mailing list