delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/23/10:30:58

X-Spam-Check-By: sourceware.org
Message-ID: <44EC66AD.2020409@buddydog.org>
Date: Wed, 23 Aug 2006 10:31:09 -0400
From: Jonathan Arnold <jdarnold AT buddydog DOT org>
User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.21-2 - Problems with make and/or sh
References: <44EC4972 DOT 9000006 AT buddydog DOT org> <44EC6511 DOT 5000003 AT osc-es DOT de>
In-Reply-To: <44EC6511.5000003@osc-es.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Jens Wilken wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>  
> Jonathan Arnold wrote:
>> I'm trying to build YAZ: http://www.indexdata.dk/yaz/
>>
>> The ./configure works just fine, but when I try to make I get the
>> following error:
>>
>> *** 07:18 AM *** /g/projects/yaz/yaz-2.1.26 *** make Making all in
>> src /bin/sh: line 11: cd: src: No such file or directory make: ***
>> [all-recursive] Error 1
>>
>> And it isn't kidding.  If I type "sh", then "cd src" I get the same
>>  error:
>>
>> *** 08:22 AM *** /g/projects/yaz/yaz-2.1.26 *** sh *** 08:22 AM ***
>> /g/projects/yaz/yaz-2.1.26 *** ls -F ChangeLog    Makefile.am
>> aclocal.m4     config.status*  etc/ test/        yaz-config.in
>> Doxyfile     Makefile.in  buildconf.sh*  configure*      include/
>> util/        yaz.spec Doxyfile.in  NEWS         client/
>> configure.ac    libtool* win/         yaz.spec.in LICENSE
>> README       config/        debian/         m4/ windows.txt  zoom/
>> Makefile     TODO         config.log     doc/            src/
>> yaz-config*  ztest/ *** 08:22 AM *** /g/projects/yaz/yaz-2.1.26 ***
>>  cd src sh: cd: src: No such file or directory *** 08:22 AM ***
>> /g/projects/yaz/yaz-2.1.26 *** exit *** 08:22 AM ***
>> /g/projects/yaz/yaz-2.1.26 *** sh --version GNU bash, version
>> 3.1.17(6)-release (i686-pc-cygwin) Copyright (C) 2005 Free Software
>> Foundation, Inc. *** 08:22 AM *** /g/projects/yaz/yaz-2.1.26 ***
>> which sh /usr/bin/sh
>>
>> It's a very strange thing.
>>
>>
> Hi,
> although I can't see it in your cygcheck output, I suppose you might
> have set the CDPATH environment variable. This results in the
> described effect of cd not working in the sh.exe, we had the problem
> here. Setting SHELL=/bin/bash in the Makefile also resolved the problem.
> 
> Hope this helps

Bingo!  I unset CDPATH and now it works fine. Nice catch!  I knew it had
to be something like that.  I'm not going to set it, as it has caused me
confusion in the past anyway.

-- 
Jonathan Arnold               (mailto:jdarnold AT buddydog DOT org)
Jiggle The Handle, a personal blog    http://jiggle.anaze.us

Some days, it's not even worth chewing through the restraints


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