This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problems compiling grep and friends


Siegfried wrote:
OK, I tried that. See below for the results. Looks like we have the same
problem.
Thanks,
Siegfried

Brian wrote:
So as a
workaround, try "make install DESTDIR=/" which would result in
"///foo/bar" which is the POSIX-sanctioned way of dealing with
filesystems that reserve // for network paths.  Or, you could actually
use DESTDIR in the way it's designed (which is probably why this was
never noticed when e.g. creating the grep packages.)

Also, knock this off:

> cd c:/cygwin/usr/src/grep-2.5.1a-4/

cd /usr/src/grep-2.5.1a-4/
make install DESTDIR=/
Making install in intl
make[1]: Entering directory `/usr/src/grep-2.5.1a-4/intl'
if test "grep" = "gettext" \
	   && test '' = 'intl-compat.o'; then \
	  /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;;
*) echo ".././mkinstalldirs" ;; esac` //usr/local/lib //usr/local/include; \
	  /usr/bin/install -c -m 644 libintl.h
//usr/local/include/libintl.h; \
	  @LIBTOOL@ --mode=install \
	    /usr/bin/install -c -m 644 libintl.a //usr/local/lib/libintl.a;
\
	else \
	  : ; \
	fi
if test 'no' = yes; then \
	  test no != no || /bin/sh `case "./mkinstalldirs" in /*) echo
"./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` //usr/local/lib;
\
	  temp=//usr/local/lib/t-charset.alias; \
	  dest=//usr/local/lib/charset.alias; \
	  if test -f //usr/local/lib/charset.alias; then \
	    orig=//usr/local/lib/charset.alias; \
	    sed -f ref-add.sed $orig > $temp; \
	    /usr/bin/install -c -m 644 $temp $dest; \
	    rm -f $temp; \
	  else \
	    if test no = no; then \
	      orig=charset.alias; \
	      sed -f ref-add.sed $orig > $temp; \
	      /usr/bin/install -c -m 644 $temp $dest; \
	      rm -f $temp; \
	    fi; \
	  fi; \
	  /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;;
*) echo ".././mkinstalldirs" ;; esac` //usr/local/share/locale; \
	  test -f //usr/local/share/locale/locale.alias \
	    && orig=//usr/local/share/locale/locale.alias \
	    || orig=./locale.alias; \
	  temp=//usr/local/share/locale/t-locale.alias; \
	  dest=//usr/local/share/locale/locale.alias; \
	  sed -f ref-add.sed $orig > $temp; \
	  /usr/bin/install -c -m 644 $temp $dest; \
	  rm -f $temp; \
	else \
	  : ; \
	fi
if test "grep" = "gettext"; then \
	  /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;;
*) echo ".././mkinstalldirs" ;; esac` //usr/local/share/gettext/intl; \
	  /usr/bin/install -c -m 644 VERSION
//usr/local/share/gettext/intl/VERSION; \
	  /usr/bin/install -c -m 644 ChangeLog.inst
//usr/local/share/gettext/intl/ChangeLog; \
	  dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset
locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h
plural-exp.h eval-plural.h os2compat.h libgnuintl.h loadinfo.h bindtextdom.c
dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c
textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c
ngettext.c plural.y plural-exp.c localcharset.c localename.c osdep.c
os2compat.c intl-compat.c"; \
	  for file in $dists; do \
	    /usr/bin/install -c -m 644 ./$file \
			    //usr/local/share/gettext/intl/$file; \
	  done; \
	  chmod a+x //usr/local/share/gettext/intl/config.charset; \
	  dists="plural.c"; \
	  for file in $dists; do \
	    if test -f $file; then dir=.; else dir=.; fi; \
	    /usr/bin/install -c -m 644 $dir/$file \
			    //usr/local/share/gettext/intl/$file; \
	  done; \
	  dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c
COPYING.LIB-2 gettext.h libgettext.h plural-eval.c"; \
	  for file in $dists; do \
	    rm -f //usr/local/share/gettext/intl/$file; \
	  done; \
	else \
	  : ; \
	fi
make[1]: Leaving directory `/usr/src/grep-2.5.1a-4/intl'
Making install in po
make[1]: Entering directory `/usr/src/grep-2.5.1a-4/po'
if test -r ".././mkinstalldirs"; then \
	  .././mkinstalldirs ///usr/local/share; \
	else \
	  /bin/sh ../mkinstalldirs ///usr/local/share; \
	fi
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

Compilation exited abnormally with code 2 at Thu Oct  4 15:11:53


--
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/


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