[Apachetoolbox-devel] ATB 1.5.61: install-item doesn't create leading paths
Brought to you by:
bryanandrews
From: Toni M. <su...@oe...> - 2002-09-19 10:36:13
|
Hi, I tend to compile Apaches using the ATB like this: path = /usr/local/stow/something, or: path = /usr/local/stow/something/apache-<version>-<subversion> Apache install-path = /usr/local/stow/something/apache-<version>-<subversion> with subversion being a number that should mean something to me, like which config file I selected when building, or so, to be able to generate completely independent versions of Apache along with their individual environments. (later on: tar the whole tree up and move it to a production box...) However, the install script fails to generate any directories in between. Eg if /usr/local/stow/something/apache-<version>-<subversion> exists and it wants to install <path>/include/gd.h (as an example), it barfs if .../include doesn't already exist. Perhaps you can use the system's install program for that and/or automatically create all required paths in between that are below, say, "path" (someone is always the first to step on unclaimed grounds). The X11R6 contains the script "mkdirhier" that could be useful, and most "modern" BSD-style "mkdir"s understand -p which would then create intermediate directories as required. There are also some other scripts floating around fixing this... What's the consensus about this? Best, --Toni++ |