[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [make] "No such file or directory" -> but it's there...

From: Paul D. Smith
Subject: Re: [make] "No such file or directory" -> but it's there...
Date: 16 Sep 2005 00:25:10 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

%% Jean-Rene David <> writes:

  jd> jrdavid (548) % pwd
  jd> /home/jrdavid/.cpan/build/Net-Z3950-0.50
  jd> jrdavid (549) % ls -ld yazwrap
  jd> drwxr-xr-x  2 jrdavid users 4096 2005-09-15 21:39 yazwrap
  jd> jrdavid (550) % whoami
  jd> jrdavid
  jd> jrdavid (551) % make
  jd> cd yazwrap && make INC= LIB="" LIBPERL_A="libperl.a" LINKTYPE="dynamic" \
  jd> /bin/sh: line 0: cd: yazwrap: No such file or directory
  jd> make: *** [yazwrap/libyazwrap.a] Error 1
  jd> jrdavid (552) (2) % 

  jd> <end shell session>

  jd> In words: when cd is called from the (generated) makefile of the
  jd> Net::Z3950 perl package, it can't see one of the package's
  jd> subdirectories. But I can list and cd into the directory in a shell
  jd> session.

One possibility: is your /bin/sh shell one that groks CDPATH?  If so, do
you have it set?  If so, do you have "." (or an empty path) on it?  If
not... you might see that behavior.

 Paul D. Smith <>          Find some GNU make tips at:            
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

[Prev in Thread] Current Thread [Next in Thread]