Re: [EXIM] Another test release

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Vadim Vygonets
Dátum:  
Címzett: exim-users
Tárgy: Re: [EXIM] Another test release
Sent to Philip only by mistake... Re-sending.

Quoth Philip Hazel on Wed, Nov 25, 1998:
> ftp://ftp.cus.cam.ac.uk/pub/software/programs/exim/Testing/exim-testing-2.054.tar.gz


Now, I got a problem, which was too easy to fix. I already
posted here about the problem with linking exim with libperl.so
on ELF system which use GNU ld(1) and ldd(1) (Linux-style), like
BSDI 4.0 (and later, heheh). Here is a portion of my
Local/Makefile-BSDI:

----- Cut somewhere else -----
PERL_COMMAND=/usr/local/bin/perl5
EXIM_PERL=perl.o

bsdosver    != uname -r
.if ${bsdosver} >= 4.0
PERL_LIBS_TMP    != ${PERL_COMMAND} -MExtUtils::Embed -e ldopts
PERL_LIBS    = ${PERL_LIBS_TMP:M-L*:S/^-L/-Wl,-rpath,/g} ${PERL_LIBS_TMP}
.endif
----- Cut somewhere else -----


When the thing between .if and .endif was NOT commented out, the
variables PERL_CC, PERL_CFLAGS and PERL_LIBS were NOT defined in
build-BSDI*/Makefile. The problem was with the
scripts/Configure-Makefile script. Here is the patch:

----- Cut somewhere else -----
--- scripts/Configure-Makefile.orig    Mon Nov 23 16:26:52 1998
+++ scripts/Configure-Makefile    Thu Nov 26 02:08:15 1998
@@ -105,7 +105,7 @@
 EXIM_PERL=`grep EXIM_PERL $mft`


 if [ "${EXIM_PERL}" != "" ] ; then
-  PERL_COMMAND=`grep PERL_COMMAND $mft | tail -1 | sed "s/^[^=]*=[$st]*//"`
+  PERL_COMMAND=`grep '^PERL_COMMAND' $mft | tail -1 | sed "s/^[^=]*=[$st]*//"`
   if [ -x "${PERL_COMMAND}" ] ; then
     mv $mft $mftt
     echo "PERL_CC=`${PERL_COMMAND} -MConfig -e 'print $Config{cc}'`" >>$mft
----- Cut somewhere else -----


This fixed the problem. I'll report my experiences with the new
exim, if there will be anything interesting.

Vadik.

-- 
It was state of the art, he said.
The art in this case was probably pottery.
    -- Terry Pratchett and Neil Gaiman, "Good Omens"


--
*** Exim information can be found at http://www.exim.org/ ***