java install bug

Alexandre Petit-Bianco apbianco@cygnus.com
Tue Jan 9 14:10:00 GMT 2001


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /