This is the mail archive of the
mailing list for the Cygwin project.
RE: Problems compiling grep and friends
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 27 Sep 2007 15:02:36 +0100
- Subject: RE: Problems compiling grep and friends
- References: <BC48FE265F25474AA40BEF60423DA223@kingmark>
On 27 September 2007 14:15, Siegfried Heintze wrote:
> I?m running xp pro and I am trying to compile grep. I downloaded the source.
> ./configure seemed to go OK but there were problems with ?make?. It looks
> like it cannot find the usr directory. Is there a fix for this?
How did you configure? It looks like it's got confused over the --prefix
setting; that extra '/' then makes cygwin treat the path as a UNC network
path, so you're trying to install to a network share called 'local' on a
remote host named 'usr'!
I've seen this sort of thing happen before when I was messing around by
setting DESTDIR during "make install". You'd better show us all your
configure and build command lines.
> 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
> make: *** [install-data-yes] Error 1
> make: Leaving directory `/cygdrive/c/Documents and
> make: *** [install-recursive] Error 1
I really wouldn't build it in your package dir though, that's a bit
cluttery. The optimal method is to use setup.exe to download and unpack the
source for grep into /usr/src, and build it there (using the provided build
script if there should happen to be one).
Can't think of a witty .sigline today....
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html