[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin
Subject:    RE: Problems compiling grep and friends
From:       "Dave Korn" <dave.korn () artimi ! com>
Date:       2007-09-27 14:02:36
Message-ID: 007a01c8010f$0ebe5130$2e08a8c0 () CAM ! ARTIMI ! COM
[Download RAW message or body]

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
> path
> make[1]: *** [install-data-yes] Error 1
> make[1]: Leaving directory `/cygdrive/c/Documents and
>
Settings/sheintze/Desktop/ftp%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin
/release/grep/grep-2.5.1a-4/po'
> 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).



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic