Mail Archives: djgpp-workers/2000/04/27/05:43:22
Hello.
I've started trying to port fileutils 4.0. I've hit a couple of problems:
1. The main top-level Makefile is 'GNUmakefile'. This uses the following
to detect whether configure has been run:
[Quoted from GNUmakefile]
have-Makefile := $(shell test -f Makefile && echo yes)
# If the user runs GNU make but has not yet run ./configure,
# give them a diagnostic.
ifeq ($(have-Makefile),yes)
include Makefile
include $(srcdir)/Makefile.maint
else
all:
@echo There seems to be no Makefile in this directory.
@echo "You must run ./configure before running \`make'."
@exit 1
endif
[End quoted from GNUmakefile]
I have run configure, but when I try running 'make', I get the following
error:
c:/djgpp/bin/test.exe: too many arguments
There seems to be no Makefile in this directory.
You must run ./configure before running \`make'.
This was run from bash. I am running with DJGPP 2.03, bash 2.03,
shellutils 1.12. This is not really a problem, since the GNUmakefile and
Makefile.maint are non-vital - I can build using 'make -f Makefile'.
2. src/chgrp.c seems to require lstat(). I looked at the fileutils 3.16
port and chgrp.c seems unchanged. Since the readme describes chgrp as
being a no-op program, I was wondering how you made it so, Eli?
configure seems to complete OK and finds $PREFIX, $SHAREDIR, etc.
automatically - this /dev/env feature is very nice! I ran configure with
'--disable-nls' - is there any point attempting to build with NLS, given
the recent discussion?
BTW, Eli, I had to upgrade to texinfo 4.0 to read the info docs supplied
with make 3.79. Is this expected? Until I did this, I could not access the
section on $(shell ...) from the menu, even though all the info files were
present.
Thanks, bye,
--
Richard Dawe
richdawe AT bigfoot DOT com ICQ 47595498 http://www.bigfoot.com/~richdawe/
- Raw text -