This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: java install bug



Martin Kahlert writes:

>         -o gnu/gcj/convert/.libs/JIS0208_to_Unicode.o
> .deps/JIS0208_to_Unicode.pp: No such file or directory

I'm seeing this too. It's been reported to the relevant PR (1586.) As
a temporary work around, I propose what's below. It seems to let me do
clean builds.

./A

Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/libjava/Makefile.in,v
retrieving revision 1.135
diff -u -p -r1.135 Makefile.in
--- Makefile.in 2001/01/09 07:07:51     1.135
+++ Makefile.in 2001/01/09 22:08:09
@@ -1772,13 +1772,7 @@ clean-local:
 
 $(nat_files) $(x_nat_files): %.lo: %.cc
        @echo '$(LTCXXCOMPILE) -c -o $@ $<'; \
-       $(LTCXXCOMPILE) -M -MF .deps/$(*F).pp -c -o $@ $<
-       @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
-         < .deps/$(*F).pp > .deps/$(*F).P; \
-       tr ' ' '\012' < .deps/$(*F).pp \
-         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
-           >> .deps/$(*F).P; \
-       rm -f .deps/$(*F).pp
+       $(LTCXXCOMPILE) -c -o $@ $<
 
 $(c_files): %.lo: %.c
        $(LTCOMPILE) -c -o $@ $<
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/egcs/libjava/Makefile.am,v
retrieving revision 1.126
diff -u -p -r1.126 Makefile.am
--- Makefile.am 2001/01/09 07:07:51     1.126
+++ Makefile.am 2001/01/09 22:08:13
@@ -238,13 +238,7 @@ SUFFIXES = .class .java .h
 ## subdirs.  FIXME.
 $(nat_files) $(x_nat_files): %.lo: %.cc
        @echo '$(LTCXXCOMPILE) -c -o $@ $<'; \
-       $(LTCXXCOMPILE) -M -MF .deps/$(*F).pp -c -o $@ $<
-       @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
-         < .deps/$(*F).pp > .deps/$(*F).P; \
-       tr ' ' '\012' < .deps/$(*F).pp \
-         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
-           >> .deps/$(*F).P; \
-       rm -f .deps/$(*F).pp
+       $(LTCXXCOMPILE) -c -o $@ $<
 
 ## FIXME: GNU make.
 $(c_files): %.lo: %.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]