This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.5.21-2 - Problems with make and/or sh


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@buddydog.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]