[SA-exim] Build for Debian Woody help

Marc MERLIN marc at merlins.org
Wed Nov 3 19:55:34 PST 2004


On Mon, Nov 01, 2004 at 11:02:45AM +0100, mollo wrote:
> I build with patching the sources, but I got :
> 
> 2004-11-01 10:28:08 1COYTw-0007Cl-RW local_scan() library doesn't contain
> local_scan_version_major() function - message temporarily rejected
> 
> 2004-11-01 10:28:08 1COYTw-0007Cl-RW local_scan() function crashed with
> signal 11 - message temporarily rejected (size 2241)
 
This actually crashed inside exim, it complains that your sa-exim module
didn't export LOCAL_SCAN_ABI_VERSION_MAJOR.

See if your binary was built properly:
gandalf:~$ strings /usr/lib/exim4/local_scan/sa-exim.so | grep -i local_scan
local_scan_version_major
local_scan_version_minor
local_scan

> Build Notes:
> -I extract exim4.34 somewhere
> -I patch using localscan_dlopen_exim_4.20_or_better.patch 

I can confirm that you did patch this in, since the error message you got came from there:
"local_scan() library doesn't contain local_scan_version_major() function"

> -Because updating the SA-exim Makefile with
> EXIM_SRC=/home/<xxx>/exim-4.34/src don't work (make don't see any file), I
> just copy the files local_scan.h, and so from exim tree.

Mmmh, ok.

> -Build work with some warning and give the 'sa-exim'

The warnings might matter.

So, does strings on sa-exim.so return the same stuff than on mine?

On Mon, Nov 01, 2004 at 11:20:50AM +0100, mollo wrote:
> > For all I know, the Exim backports made by Andreas Metzler for Woody
> > *already* have dlopen support built in, so you shouldn't need to patch
> > anything, and instead just run make in the sa-exim sourcetree, and move
> > the resulting accept.so, sa-exim.so and sa-exim.conf to the apropriate
> > directories...
> 
> 'make' works if done with ROOT access..
> 
> Don't know why 'make' wont work if run with normal user.

Uh?
It builds fine as a user for me.

You're going to have to give some error messages and more details :)

Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/   |   Finger marc_f at merlins.org for PGP key



More information about the SA-Exim mailing list