Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Perlbrew install failed [closed]

Tags:

perl

perlbrew

I'm a completely new to Perl, and I'm having trouble installing perlbrew. Someone was helping me, but he's busy all day today, so I'm trying to figure this out on my own. I installed the perlbrew root and modified the bashrc, but now I can't install any version of perlbrew (5.14.2 or any other). This is the error I receive:

Installing /Users/wuzl/perl5/perlbrew/build/perl-5.14.2 failed.
See /Users/wuzl/perl5/perlbrew/build.log to see why.
If you want to force install the distribution, try:

  perlbrew --force install perl-5.14.2

I tried the force install, and that didn't work either. So I checked the log, it said a whole bunch of stuff, and at the end:

I can't find make or gmake, and my life depends on it.
Go find a public domain implementation or fix your PATH setting!
sh: make: command not found
sh: make: command not found

What does that mean?

like image 957
matthewb Avatar asked Aug 29 '26 18:08

matthewb


2 Answers

You'll need to install the MacOS developer tools. If you're on a current version of MacOS, you can get the Xcode installer for free via the App Store. Otherwise, the installer is on the software DVDs that came with your computer.

Once the development tools are installed, you will have gcc and make and will be able to compile perlbrew.

like image 98
friedo Avatar answered Sep 01 '26 09:09

friedo


You need an environment that supports compilation. The 'make' command is part of that process and you're missing that utility. It would appear that you are running the Mac OS. You need a C compilation environment 'XCode 4'. Your install disks or the online APP store offers it.

like image 38
JRFerguson Avatar answered Sep 01 '26 10:09

JRFerguson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!