Mail Archives: djgpp/2000/05/21/12:27:47
On Sun, 21 May 2000, Jason Green wrote:
> Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
>
> > > There was a problem in the way one of the scripts built the directory
> > > structure. This is an incompatibilty with the DJGPP /dev/env/DJDIR
> > > feature.
> >
> > Please tell more details about this problem.
>
> The makefile installs the libraries and headers to the djgpp tree. It
> knows which directories to install to (presumably from the configure
> script). It creates the directories if they do not exist.
>
> mkdir is no good for this because it requires top level directories to
> already be in place before creating the subdirectory, and that is not
> guaranteed, so a script is used to create the hierarchy. For example
> to create /foo/bar/baz, the script effectively executes: mkdir /foo;
> mkdir /foo/bar; mkdir /foo/bar/baz.
>
> The directory c:/djgpp/include/gl is required. This is actually known
> to the makefile as /dev/env/DJDIR/include/gl. The directory does not
> yet exist so the script is called. Because /dev is not found as a
> directory, the script creates it and from this point on it is doomed.
Generally, the installation directory is known to the Makefile as
${DJDIR}/include/gl. Maybe there's a problem with the way you edited the
configure script (if you did).
Prashant
- Raw text -