This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Possible bug in gcc/Makefile.in


When trying to build GCC 3.1 on Solaris, we get the following error:

[...]
test -d po || mkdir po
: --statistics po/sv.po -o po/sv.gmo
/bin/sh ./move-if-change po/sv.gmo ./po/sv.gmo
mv: cannot access po/sv.gmo
make: *** [po/sv.gmo] Error 2

Which seems to be due to the following excerpt in gcc/Makefile.in:

# Update files in $(srcdir) atomically.
.po.gmo:    
	test -d po || mkdir po
	$(GMSGFMT) --statistics $< -o $@
	$(SHELL) $(srcdir)/move-if-change $@ $(srcdir)/$@

When GMSGFMT is replaced by ':' by configure (no gnu msgfmt available),
this rule will still try to execute move-if-change which will fail, since
there is no .gmo file generated.

Arno


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