X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Siegfried Heintze" To: Subject: RE: Problems compiling grep and friends Date: Thu, 4 Oct 2007 15:12:30 -0600 Message-ID: <5874EC47F1A04F008E478A90D4F1CE27@kingmark> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4703C960.EF841594@dessent.net> X-IMAIL-SPAM-VALHELO: (5730026b00004f29) X-IMAIL-SPAM-VALREVDNS: (5730026b00004f29) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/