From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Rebuilding Fileutils 3.16 [was: MESA3D compiling problem] Date: Tue, 30 May 2000 14:33:22 +0100 Organization: Customer of Planet Online Lines: 90 Message-ID: References: NNTP-Posting-Host: modem-241.xenon.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news5.svr.pol.co.uk 959693731 4699 62.136.45.241 (30 May 2000 13:35:31 GMT) NNTP-Posting-Date: 30 May 2000 13:35:31 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I rebuilt fileutils again and MESA now builds without error but I can report some things about fileutils 3.16. The file `po\Makefile.in-in' exists and is used by djgpp\config.bat but makefile uses the file `po\Makefile.in.in', copying the file to the new name appears to allow a successful build so that is what I did. In `djgpp\Readme', GNU Diffutils are not listed as required tools but djgpp\config issues an error that it cannot find cmp.exe, although it then continues to successfully complete. djgpp\Readme says: }How to build }============ } }Unzip the distribution preserving the directory structure (use -d }switch if you do that with PKUNZIP). On Windows 9x, be sure to use an }unzip program that supports long filenames, or set LFN=n before you }run Make. } }Then issue these two commands: } } djgpp\config } make } }That's all! This is technically correct, but maybe it would be good to say something about `make install' too! ;-) Eli Zaretskii wrote: > Try the following command and tell if it created a directory `foo' > under your main DJGPP installation directory: > > gmkdir /dev/env/DJDIR/foo Yes that works. But there appears to be a problem with ginstall. It fails when invoked under DOS, or from make under DOS or BASH. Doing `set SHELL=d:\djgpp\bin\bash.exe' in DOS or adding a `SHELL=/bin/sh' line to the makefile produces the same results. D:\>gmkdir /dev/env/DJDIR/foo D:\>touch bar D:\>d:\djgpp\bin\ginstall bar /dev/env/DJDIR/foo d:/djgpp/bin/ginstall: /dev/env/DJDIR/foo: No such file or directory (ENOENT) D:\>bash ~ $ /dev/env/DJDIR/bin/ginstall bar /dev/env/DJDIR/foo ~ $ ls -l /dev/env/DJDIR/foo total 0 -rw-r--r-- 1 dosuser root 0 May 30 14:19 bar ~ $ exit D:\>type makefile prefix = /dev/env/DJDIR install: bar $(prefix)/bin/gmkdir $(prefix)/foo $(prefix)/bin/ginstall bar $(prefix)/foo bar: touch bar clean: rm -fr $(prefix)/foo D:\>make clean rm -fr /dev/env/DJDIR/foo D:\>make /dev/env/DJDIR/bin/gmkdir /dev/env/DJDIR/foo /dev/env/DJDIR/bin/ginstall bar /dev/env/DJDIR/foo /dev/env/DJDIR/bin/ginstall: /dev/env/DJDIR/foo: No such file or directory (ENOENT) make.exe: *** [install] Error 1 D:\>bash ~ $ make clean rm -fr /dev/env/DJDIR/foo ~ $ make /dev/env/DJDIR/bin/gmkdir /dev/env/DJDIR/foo /dev/env/DJDIR/bin/ginstall bar /dev/env/DJDIR/foo /dev/env/DJDIR/bin/ginstall: /dev/env/DJDIR/foo: No such file or directory (ENOENT) make.exe: *** [install] Error 1 ~ $