-
Notifications
You must be signed in to change notification settings - Fork 178
Q0115
What does Can't open ../scripts/newer*: No such file or directory* mean? I got it while trying to build Exim.
You are using FreeBSD, or another OS that has a make command which tries to optimize the running of commands. Exim's Makefile contains targets with sequential commands like this:
buildpcre:
@cd pcre; $(MAKE) SHELL=$(SHELL) AR="$(AR)" $(MFLAGS) CC="$(CC)" \
CFLAGS="$(CFLAGS) $(PCRE_CFLAGS)" \
RANLIB="$(RANLIB)" HDRS="$(PHDRS)" \
INCLUDE="$(INCLUDE) $(IPV6_INCLUDE) $(TLS_INCLUDE)"
@if $(SHELL) $(SCRIPTS)/newer pcre/libpcre.a exim; then \
/bin/rm -f exim eximon.bin; fi
The second command assumes that the cd pcre
in the first command is no
longer in effect. If you have -j3
in your default set of MAKEFLAGS
,
FreeBSD make tries to optimize, and ends up up with both commands in
the same shell process. The result is that $(SCRIPTS)
(which has a
value of ../scripts
) is not found. The simplest solution is to force
make to use backwards compatibility mode with each command in its own
shell, by using the -B
flag. To ensure that this happens throughout
the build, it's best to export it in your environment:
MAKEFLAGS='-B'
ort MAKEFLAGS
e
- I'm having a problem with an Exim RPM.
- I can't get Exim to compile with Berkeley DB version 2.x or 3.x.
- I'm getting an undefined symbol error for
hosts_ctl
when I try to - I'm about to upgrade no se to a new Exim release. Do I need to ensure
- What does the error install-info: command not found mean?
- Exim doesn't seem to be recognizing my operating system type correctly,
- Exim fails to build, complaining about the absence of the
killpg
- I'm getting an unresolved symbol
ldap_is_ldap_url
when trying to build - I'm getting an unresolved symbol
mysql_close
when trying to build - I'm trying to build Exim with PAM support. I have included
-lpam
in - I'm getting the error db.h: No such file or directory when I try to
- I'm getting the error /usr/bin/ld: cannot find -ldb when I try to
- I've compiled Exim and I've managed to start it but there was one
- How can I remove Sendmail from my system? I've built Exim and run
- What does Can't open ../scripts/newer*: No such file or directory*
- I have tried to build Exim with Berkeley DB 3 and 4, but I always get
- Is there a quick walk-through of an Exim install from source anywhere?
- I've set
LOOKUP_INCLUDE=-I/client/include
in Local/Makefile, but the - I know there are some 3rd-party patches for Exim, for exiscan and other
- I'm trying to compile with LOOKUP_WHOSON, but I keep getting *In