X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References: <3948f0730805200754w525a1732p309f912f29751dac@mail.gmail.com>
Subject: RE: make fails to change directory.
Date: Tue, 20 May 2008 16:14:37 +0100
Message-ID: <016101c8ba8c$37a1fd90$2708a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <3948f0730805200754w525a1732p309f912f29751dac@mail.gmail.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Gadi Oron wrote on 20 May 2008 15:54:

> Whenever I am compiling something with "make" and there is somekind of
> nested make, it fails with the following error:
> 
> cd fdlibm; make -f Makefile.ref all
> /bin/sh: line 0: cd: fdlibm: No such file or directory
> make[2]: *** [all] Error 1
> 
> This error is not restricted to a single soft, but I've encountered it
> in many place.
> 
> The workaround I have is to go into the corresponding makefile and add
> 
> SHELL = bash
> 
> This would resolve the issue, but needless to say, the change is
> annoying especially when the Makefile is created by a "configure"...
> 
> Can someone help me with that?

  Let's get some diagnostic info.  Replace the command-line with

pwd ; ls -la ; cd fdlibm; make -f Makefile.ref all

and let's try and find out whether make (or to be precise, the shell
launched by make) is actually in the directory that it's supposed to be in
or not.


    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/

