Re: [Exim] Bug in makefile?

Top Page
Delete this message
Reply to this message
Author: Jim Knoble
Date:  
To: exim-users
Subject: Re: [Exim] Bug in makefile?
What platform are you compiling on? Which `make' are you using?

I've seen various vendor-supplied makes keep whitespace after the value
assigned to a variable. Try lines like this and see if they work as
well:

CONFIGURE_FILE=/usr/local/exim/configure# Location of configure file

I recommend two things:

  (1) Don't put whitespace or comments following values you assign to a
      variable.


(2) Use GNU make version 3.75 or later.

--
jim knoble
jmknoble@???

På 1999-Dec-31 klokka 15:36:43 -0000 skrivet Jonathan Hunter:

: My comments were of the following form, which I would have thought would be
: OK...? :
: AUTH_CRAM_MD5=yes    # JMH
: AUTH_PLAINTEXT=yes    # JMH
: 
: However, when compiling Exim I got the following error:
: 
: /bin/sh ../scripts/Configure-eximon
: sed -e s?CONFIGURE_FILE?/usr/local/exim/configure       ? \
:   -e s?BIN_DIRECTORY?/usr/local/exim/bin        ? \
:   -e s?BASENAME_COMMAND?look_for_it? \
:   -e s?HOSTNAME_COMMAND?/bin/hostname? \
:   -e s?X11_LD_LIBRARY?/usr/X11R6/lib? \
:   ../src/eximon.src >> eximon
: sed: -e expression #1, char 42: Unterminated `s' command
: make[1]: *** [eximon] Error 1
: make[1]: Leaving directory `/usr/src/exim-3.12/build-Linux-i386'
: 
: As a quick fix, I commented out the EXIM_MONITOR line in Local/Makefile,
: thinking that perhaps there was a small bug in the eximon configuration
: script, and was then greeted with the following error:
: 
: sed -e s?CONFIGURE_FILE?/usr/local/exim/configure       ? \
:   -e s?BIN_DIRECTORY?/usr/local/exim/bin        ? \
:   -e s?EXICYCLOG_MAX?99 ? \
:   -e s?COMPRESS_COMMAND?/bin/gzip       ? \
:   -e s?COMPRESS_SUFFIX?gz? \
:   -e s?CHOWN_COMMAND?/usr/bin/chown? \
:   -e s?CHGRP_COMMAND?/usr/bin/chgrp? \
:   -e s?MV_COMMAND?/bin/mv? \
:   -e s?RM_COMMAND?/bin/rm? \
:   ../src/exicyclog.src > exicyclog-t
: sed: -e expression #1, char 42: Unterminated `s' command
: make[1]: *** [exicyclog] Error 1
: make[1]: Leaving directory `/usr/src/exim-3.12/build-Linux-i386'
: 
: At this point, I gave up and moved all my comments onto seperate lines. Then
: all was well and it compiled perfectly! :-)