Automake VPATH, error pages install, and a parallell make race

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 27 Oct 2001 01:30:11 +0200

Meant to send this here, not squid-bugs...

-------- Original Message --------
Subject: Automake VPATH, error pages install, and a parallell make race
Date: Sat, 27 Oct 2001 00:35:23 +0200
From: Henrik Nordstrom <hno@squid-cache.org>
To: squid-bugs@squid-cache.org

The error pages install target cannot handle VPATH correctly.

There also seems to be some race conditions if running a parallell
install. Tried "make -j 4 install" and it crashed on the first attempt
when installing mime.conf, second attempt went just fine but then
directory structure was already created, partly populated etc..

The error seen was:

/opt/sfw/bin/ginstall: cannot create regular file
`/home/users/h/hn/hno/sol-sunpro-gnu/etc/mime.conf': No such file or
directory

which should be from the following command

  /opt/sfw/bin/ginstall -c squid
/home/users/h/hn/hno/sol-sunpro-gnu/bin/squid
/opt/sfw/bin/ginstall -c -m 644 ../../../squid/src/mime.conf.default
/home/users/h/hn/hno/sol-sunpro-gnu/etc/mime.conf

Probably is missing some dependency there to ensure mime.conf is
installed after mime.conf.default.

Regards
Henrik
Received on Fri Oct 26 2001 - 17:34:12 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:35 MST