Samuel Smith wrote:
> The only place I can see Makefile.proto referenced is in
> /sw/src/xfree86-base-4.2.0-11/xc/config/makedepend/Imakefile
It is also mentioned in the top Makefile
/sw/src/xfree86-base-4.2.0-11/xc/Makefile, where the actual command is
found that produces Makefile.proto:
$(DEPENDSRC)/Makefile.proto: imake.proto
$(IMAKE_CMD) -s $(DEPENDSRC)/Makefile.proto -f
$(DEPENDSRC)/Imakefile -D TOPDIR=$(DEPENDTOP) -DCURDIR=$(DEPENDSRC)
This translates to the command that you also quoted in your first error log:
./config/imake/imake -I./config/cf -s
./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile
-DTOPDIR=../.. -DCURDIR=./config/makedepend
It invokes the just previously compiled command "imake" (see its source
config/imake/imake.c for an explanation of what it is supposed to do).
The "-s" flag indicates the ouput file.
You could try to execute this line by hand inside
/sw/src/xfree86-base-4.2.0-11/xc/ and see what it gives. Maybe replace
"-s ./config/makedepend/Makefile.proto" by "-s someotherfile" and then
look if "someotherfile" still contains the same garbage as before.
If it does, one of the files taking part in this conspiration must be
broken. They are: config/cf/Imake.tmpl, config/makedepend/Imakefile,
config/imake/imake.c, /usr/bin/cpp, plus several header files and some
temporary file /tmp/Imakefile.c or something like that.
I have no idea how such a file as you are seeing can be produced. Maybe
you'll find out.
BTW, you aren't doing this on a UFS partition, do you?
--
Martin
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users