Date: Sun, 21 May 2000 21:54:36 +0530 (IST) From: Prashant TR X-Sender: tr AT vsnl DOT net DOT in To: Jason Green cc: djgpp AT delorie DOT com Subject: Re: MESA3D compiling problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 21 May 2000, Jason Green wrote: > Eli Zaretskii 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