develooper Front page | perl.macosx | Postings from July 2003

Problem with v5.8 & CPAN

Thread Previous
From:
Donald Dunbar
Date:
July 8, 2003 04:44
Subject:
Problem with v5.8 & CPAN
Message ID:
93CBDA02-B139-11D7-AFA5-000A9575B2AC@telus.net
I'm not certain that this made it out the first time.  My apologies if 
I am repeating myself.

I am running Perl v5.8.0 on OS X 2.6 and using tcsh as my shell.  I 
have used cpan to successfully install several modules; however, for 
some modules (e.g., Tk, & PDL) I encounter what seems to be a shell 
related problem.  At the point where the Makefiles start executing and 
there is an attempt to change to a subdirectory I get the following 
fatal error (this one was for PDL):

/bin/sh: cd: Basic: No such file or directory
make: *** [subdirs] Error 1
   /usr/bin/make  -- NOT OK
Running make test
   Can't test without successful make
Running make install
   make had returned bad status, install seems impossible

What seems to be happening is that the "cd" command doesn't work within 
the Makefile.  I can execute "cd Basic" manually then type "make" and 
it works fine.  I know that "cd" is a built-in shell command as opposed 
to "awk," for example, which is an executable at /usr/bin/awk.  Does 
anyone know how to fix this?  The strange thing is that when I was 
using Perl 5.6 I had no problem installing PDL and Tk.  Thanks for any 
help with this.

Donald S. Dunbar, Ph.D.
Senior Physical Oceanographer
Lorax Environmental Consultants Ltd.
1108 Mainland Street
Vancouver, BC  V6B 5L1

Ph: 604-688-7173
Fx: 604-688-7175


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About