%% Jean-Rene David <[EMAIL PROTECTED]> 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> PREFIX="/usr" OPTIMIZE="-O2" PASTHRU_DEFINE="" PASTHRU_INC=""
  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 <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
help-gnu-utils mailing list
help-gnu-utils@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to