Ask a Question related to Perl / CGI, Design and Development.
-
Anshu #1
Make not working in CPAN in OSX shell
Hi There,
I am trying to install some Perl modules from CPAN. Upon not being able to install anything (even running 'install Data:
umper', something that's installed installed and working, throws errors), I found this line in the log for all modules I was trying to install:
Can't exec "make": No such file or directory at /System/Library/Perl/5.10.0/CPAN.pm line 7698.
That kinda told me that the problem is in make. Either make is not installed or broken (can't say which). I also tried to remove .cpan folder in /Users/my_name/ area, but it didn't change anything. Then I checked if the path to Perl or cpan is set properly. I tried the:
'which perl' returned /usr/bin/perl
'which cpan' returned /usr/bin/cpan
perl -MConfig -e 'print $Config{perlpath}, "\n"' returned /usr/bin/perl
I check in the /System/Library/Perl area, and found two folders: 5.8.9 and 5.10.0 .
I ran 'perl -v' and it gave this "This is perl, v5.10.0 built for darwin-thread-multi-2level"
So my question is that how do I install the "make" so that I am able to install modules directly from CPAN and don't have to install them manually?
Appreciate your help.
Junior Member
- Join Date
- Jun 2011
- Location
- FooBar
- Posts
- 2
-
CPAN make test error with XML::Encoding
I am trying to install XML::Encoding on my Debian woody system -- kernel 2.2.20 and perl 5.6.1. I am getting an error in CPAN and I do not know... -
Newbie Q: how to make a cpan package
"Ignoramus23186" <ignoramus23186@NOSPAM.23186.invalid> wrote in message news:K3PQe.110824$f24.30223@fe18.usenetserver.com... perldoc -q "create a... -
CPAN Shell on Mac OS X (10.3) Not Installing Modules
I recently installed Perl 5.8.4 on Mac OS X 10.3. It successfully installed under /usr/local/bin, and I have had no problem running Perl scripts... -
CPAN shell problem on MacOS X
Hi. I am running MacOS X 10.3.1 (Panther) on a G4 iMac. I am installing some Perl modules using the CPAN shell, i.e., I issue the command #... -
make fails with cpan
What is the reason? With < perl -MCPAN -e shell > < make > is impossible, but trying it manually < make > is successfull. -
Anshu #2
Re: Make not working in CPAN in OSX shell
nevermind.. found the problem.
I did a 'whereis make' .. and realized that there is no make in /usr/bin
Then, out of curiosity, I did a 'whereis gcc' .. and realized no gcc either in /usr/bin
Oddly, I have Xcode installed and these (gcc and make) exist in /Developer/usr/bin
Then I tried to 'look Spreadsheet::WriteExcel' (in CPAN shell) and tried to do the manual install steps of
perl Makefile.PL
/Developer/usr/bin make install
no dice still. It told me that
make: *** No rule to make target `/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE/config.h', needed by `Makefile'. Stop.
Finally I think my perl installation is pretty much fried. Will reinstall from my OSX DVD.
Junior Member
- Join Date
- Jun 2011
- Location
- FooBar
- Posts
- 2



Reply With Quote

