Someone else may have reported this already. If so, I apologize for the
repeat.
I was trying to compile 3.02 on my Linux (Debian) box. Seems
bash (v2.02.1(1)-release) choked on a few bits in the top Makefile.
'make makefile' gave the following error:
>>> Creating links to source files...
/bin/sh: -c: line 1: syntax error near unexpected token `../scripts/Configure-Makefile'
/bin/sh: -c: line 1: `cd build-${build:-`/bin/sh scripts/os-type`-`/bin/sh scripts/arch-type`}; /bin/rm -f Makefile; (HELL) ../scripts/Configure-Makefile'
make: *** [makefile] Error 2
The error is in exim-3.02.tar.gz currently on the ftp site not sure about
3.00 or 3.01) and was not in 2.12. The patch is ...
--- Makefile.orig Wed Jun 2 04:31:49 1999
+++ Makefile Fri Jun 11 03:22:46 1999
@@ -41,7 +41,7 @@
@builddir=build-$(buildname); \
case "$$builddir" in *UnKnown*) exit 1;; esac; \
$(SHELL) -c "test -d $$builddir || \
- (mkdir $$builddir; cd $$builddir; $(SHELL) ../scripts/MakeLinks)";
+ (mkdir $$builddir; cd $$builddir; $(SHELL) ../scripts/MakeLinks)";
# The "configure" target ensures that the build directory exists, then arranges
# to build the main makefile from inside the build directory, by calling the
@@ -56,7 +56,7 @@
makefile: build-directory
@cd build-$(buildname); /bin/rm -f Makefile; \
- ($SHELL) ../scripts/Configure-Makefile
+ $(SHELL) ../scripts/Configure-Makefile
# Go to the build directory and do the business
Guess earlier versions of bash aren't so picky.
bob
--
bob billson email: bob@??? ham: kc2wz
(\ /)
{|||8- beekeeper ...3 years -8|||} Linux! Because there is
(/ 60,000 head of livestock \) no place like $HOME.
"CIA terrorist NSA bomb spy KGB drugs nuclear agent war GCHQ... Hi Echelon!"
--
*** Exim information can be found at
http://www.exim.org/ ***