delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/20/11:16:07

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <3948f0730805200754w525a1732p309f912f29751dac AT mail DOT gmail DOT 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
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <3948f0730805200754w525a1732p309f912f29751dac@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019