You are here
Andrew Stewart - Tue, 2010/11/30 - 22:01
I can never seem to get CPAN to work on a LAMP instance out of the box. This goes for everything from virtual machines in our internal systems to Amazon EC2 deployments.
I get the following error no matter what I try to install:
-- NOT OK Running make test
Can't test without successful make Running make install make had returned bad status, install seems impossible
Any advice here? This is really frustrating, a LAMP platform should be perl ready.
Forum:
Why not use the package repository?
Most of the popular Perl libraries are packaged in Ubuntu/Debian, so why not use them?
With regards to CPAN, could you please post detailed information (packages installed, commands executed) so we can reproduce the issue. Once we can reproduce it, we can (hopefully) solve it.
No problem
Unfortunately I'm actually using an installer script that happens to use CPAN to fetch its perl prereqs. I can get around it myself for this instance, but I'd like to help improve perl package management for TurnKey posterity.
btw, cpanm is a much better package installer for perl. I'm having better success with it.
Here's the output for a try at Archive::Tar using regular cpan. (SPAM ALERT)
Did you try checking the 11RC version of LAMP?
Im trying to install a
Im trying to install a grahics library called GD, which I've been told you do by running the command
However when I do that I get
I tried installing the webmin module as suggested but it made no difference.
solution: install build-essential
Sorry for the late reply. I just confirmed the issue by attempting to use cpan to install Tar::Archive and it errored out with make issues.
So, I installed build-essential then attempted to use cpan again to install Tar::Archive and it worked.
I hope the above solves your issues...
'make' is missing
I've just been messing with the same thing; the make command is missing if you want to keep your vm small; download 'make' from your favorite ubuntu repository and use the upload option on the package install page. that will fix much of the problem with CPAN. ( the make package will not show up on its own, at least it did not when I tried apt-get; possibly because it is included in build-essential )
Add new comment