On 04 October 2007 22:13, Siegfried Heintze wrote: > Siegfried wrote: > OK, I tried that. See below for the results. Looks like we have the same > problem.
> mkdir //usr > mkdir: cannot create directory `//usr': No such host or network path > mkdir //usr/local > mkdir: cannot create directory `//usr/local': No such host or network path > mkdir //usr/local/share > mkdir: cannot create directory `//usr/local/share': No such host or network > path > make[1]: *** [install-data-yes] Error 1 > make[1]: Leaving directory `/usr/src/grep-2.5.1a-4/po' > make: *** [install-recursive] Error 1 I whipped this up against grep-2.5.1a-3. It might just apply cleanly to the version you're working with; make sure it gets all the "$(DESTDIR)/" instances and changes them to "$DDSLASH". It WFM: '" '"'---' /usr/src/grep-2.5.1a-3 $ cd po @_______. . ( /"\ ||--||(___) '" '"'---' /usr/src/grep-2.5.1a-3/po $ make install 2>&1 | tee inst.log if test -n "" ; then \ DDSLASH="/" ; \ else \ DDSLASH="" ; \ fi if test -r ".././mkinstalldirs"; then \ .././mkinstalldirs $DDSLASH/usr/local/share; \ else \ /bin/sh ../mkinstalldirs $DDSLASH/usr/local/share; \ fi mkdir /usr/local/share/locale/cs mkdir /usr/local/share/locale/cs/LC_MESSAGES installing cs.gmo as /usr/local/share/locale/cs/LC_MESSAGES/grep.mo installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/grep.mo installing el.gmo as /usr/local/share/locale/el/LC_MESSAGES/grep.mo mkdir /usr/local/share/locale/eo mkdir /usr/local/share/locale/eo/LC_MESSAGES installing eo.gmo as /usr/local/share/locale/eo/LC_MESSAGES/grep.mo installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/grep.mo mkdir /usr/local/share/locale/et mkdir /usr/local/share/locale/et/LC_MESSAGES installing et.gmo as /usr/local/share/locale/et/LC_MESSAGES/grep.mo installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/grep.mo mkdir /usr/local/share/locale/gl mkdir /usr/local/share/locale/gl/LC_MESSAGES installing gl.gmo as /usr/local/share/locale/gl/LC_MESSAGES/grep.mo mkdir /usr/local/share/locale/hr mkdir /usr/local/share/locale/hr/LC_MESSAGES installing hr.gmo as /usr/local/share/locale/hr/LC_MESSAGES/grep.mo installing id.gmo as /usr/local/share/locale/id/LC_MESSAGES/grep.mo installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/grep.mo installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/grep.mo installing ko.gmo as /usr/local/share/locale/ko/LC_MESSAGES/grep.mo installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/grep.mo mkdir /usr/local/share/locale/no mkdir /usr/local/share/locale/no/LC_MESSAGES installing no.gmo as /usr/local/share/locale/no/LC_MESSAGES/grep.mo installing pl.gmo as /usr/local/share/locale/pl/LC_MESSAGES/grep.mo installing pt_BR.gmo as /usr/local/share/locale/pt_BR/LC_MESSAGES/grep.mo installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/grep.mo mkdir /usr/local/share/locale/sl mkdir /usr/local/share/locale/sl/LC_MESSAGES installing sl.gmo as /usr/local/share/locale/sl/LC_MESSAGES/grep.mo installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/grep.mo if test "grep" = "gettext"; then \ if test -r ".././mkinstalldirs"; then \ .././mkinstalldirs $DDSLASH/usr/local/share/gettext/po; \ else \ /bin/sh ../mkinstalldirs $DDSLASH/usr/local/share/gettext/po; \ fi; \ /usr/bin/install -c -m 644 ./Makefile.in.in \ $DDSLASH/usr/local/share/gettext/po/Makefile.in.in; \ else \ : ; \ fi cheers, DaveK -- Can't think of a witty .sigline today....
diff -pu po.orig/Makefile.in.in po/Makefile.in.in --- po.orig/Makefile.in.in 2002-03-26 14:38:46.001000000 +0000 +++ po/Makefile.in.in 2007-10-04 22:31:11.260792100 +0100 @@ -110,10 +110,15 @@ install-exec: install-data: [EMAIL PROTECTED]@ install-data-no: all install-data-yes: all + if test -n "$(DESTDIR)" ; then \ + DDSLASH="$(DESTDIR)/" ; \ + else \ + DDSLASH="" ; \ + fi if test -r "$(MKINSTALLDIRS)"; then \ - $(MKINSTALLDIRS) $(DESTDIR)/$(datadir); \ + $(MKINSTALLDIRS) $$DDSLASH$(datadir); \ else \ - $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(datadir); \ + $(SHELL) $(top_srcdir)/mkinstalldirs $$DDSLASH$(datadir); \ fi @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ @@ -125,27 +130,27 @@ install-data-yes: all lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ dir=$$destdir/$$lang/LC_MESSAGES; \ if test -r "$(MKINSTALLDIRS)"; then \ - $(MKINSTALLDIRS) $(DESTDIR)/$$dir; \ + $(MKINSTALLDIRS) $$DDSLASH$$dir; \ else \ - $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)/$$dir; \ + $(SHELL) $(top_srcdir)/mkinstalldirs $$DDSLASH$$dir; \ fi; \ if test -r $$cat; then \ - $(INSTALL_DATA) $$cat $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT); \ - echo "installing $$cat as $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT)"; \ + $(INSTALL_DATA) $$cat $$DDSLASH$$dir/$(PACKAGE)$(INSTOBJEXT); \ + echo "installing $$cat as $$DDSLASH$$dir/$(PACKAGE)$(INSTOBJEXT)"; \ else \ - $(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT); \ + $(INSTALL_DATA) $(srcdir)/$$cat $$DDSLASH$$dir/$(PACKAGE)$(INSTOBJEXT); \ echo "installing $(srcdir)/$$cat as" \ "$$dir/$(PACKAGE)$(INSTOBJEXT)"; \ fi; \ if test -r $$cat.m; then \ - $(INSTALL_DATA) $$cat.m $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT).m; \ - echo "installing $$cat.m as $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ + $(INSTALL_DATA) $$cat.m $$DDSLASH$$dir/$(PACKAGE)$(INSTOBJEXT).m; \ + echo "installing $$cat.m as $$DDSLASH$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ else \ if test -r $(srcdir)/$$cat.m ; then \ $(INSTALL_DATA) $(srcdir)/$$cat.m \ - $(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT).m; \ + $$DDSLASH$$dir/$(PACKAGE)$(INSTOBJEXT).m; \ echo "installing $(srcdir)/$$cat as" \ - "$(DESTDIR)/$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ + "$$DDSLASH$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ else \ true; \ fi; \ @@ -153,12 +158,12 @@ install-data-yes: all done if test "$(PACKAGE)" = "gettext"; then \ if test -r "$(MKINSTALLDIRS)"; then \ - $(MKINSTALLDIRS) $(DESTDIR)/$(gettextsrcdir); \ + $(MKINSTALLDIRS) $$DDSLASH$(gettextsrcdir); \ else \ - $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(gettextsrcdir); \ + $(SHELL) $(top_srcdir)/mkinstalldirs $$DDSLASH$(gettextsrcdir); \ fi; \ $(INSTALL_DATA) $(srcdir)/Makefile.in.in \ - $(DESTDIR)/$(gettextsrcdir)/Makefile.in.in; \ + $$DDSLASH$(gettextsrcdir)/Makefile.in.in; \ else \ : ; \ fi
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/