Perl Forum for Beginners

CPAN won't install YAML and others

Jun 20, 2009 6:30 pm
Dennis G. Wicks

Greetings;

YAML is not installed on my Lenny system and when I try to
install it (with perl -MCPAN -e shell) I get the following
errors after the source has been unpacked. Any ideas?

Thanks for any help!
Dennis

BTW :
> cardinal:~# ls -l /root/.cpan/build/YAML-0.68-DEj5Ee/META.yml
> -rw-r--r-- 1 501 501 381 2008-12-04 03:06 /root/.cpan/build/YAML-0.68-DEj5Ee/META.yml

and

> cardinal:~# ls -l /root/.cpan/sources/authors/id/I/IN/INGY/YAML-0.68.tar.gz
> -rw-r--r-- 1 root root 92676 2009-06-20 13:09 /root/.cpan/sources/authors/id/I/IN/INGY/YAML-0.68.tar.gz

Last part of CPAN output follows::

> Warning (usually harmless): 'YAML' not installed, will not store persistent state
>
> CPAN.pm: Going to build I/IN/INGY/YAML-0.68.tar.gz
>
> Checking if your kit is complete...
> Looks good
> Writing Makefile for YAML
> Could not read '/root/.cpan/build/YAML-0.68-DEj5Ee/META.yml'. Falling back to other methods to determine prerequisites
> Can't exec "make": No such file or directory at /usr/share/perl/5.10/CPAN.pm line 7698.
> INGY/YAML-0.68.tar.gz
> make -- NOT OK
> Warning (usually harmless): 'YAML' not installed, will not store persistent state
> Running make test
> Can't test without successful make
> Running make install
> Make had returned bad status, install seems impossible
> Failed during this command:
> INGY/YAML-0.68.tar.gz : make NO


Jun 20, 2009 6:38 pm
Bruce Ferrell
Re: CPAN won't install YAML and others



Dennis G. Wicks wrote:
> Greetings;
>
> YAML is not installed on my Lenny system and when I try to install it
> (with perl -MCPAN -e shell) I get the following errors after the source
> has been unpacked. Any ideas?
>
> Thanks for any help!
> Dennis
>
> BTW :
>> cardinal:~# ls -l /root/.cpan/build/YAML-0.68-DEj5Ee/META.yml
>> -rw-r--r-- 1 501 501 381 2008-12-04 03:06
>> /root/.cpan/build/YAML-0.68-DEj5Ee/META.yml
>
> and
>
>> cardinal:~# ls -l
>> /root/.cpan/sources/authors/id/I/IN/INGY/YAML-0.68.tar.gz
>> -rw-r--r-- 1 root root 92676 2009-06-20 13:09
>> /root/.cpan/sources/authors/id/I/IN/INGY/YAML-0.68.tar.gz
>
> Last part of CPAN output follows::
>
>> Warning (usually harmless): 'YAML' not installed, will not store
>> persistent state
>>
>> CPAN.pm: Going to build I/IN/INGY/YAML-0.68.tar.gz
>>
>> Checking if your kit is complete...
>> Looks good
>> Writing Makefile for YAML
>> Could not read '/root/.cpan/build/YAML-0.68-DEj5Ee/META.yml'. Falling
>> back to other methods to determine prerequisites
>> Can't exec "make": No such file or directory at
>> /usr/share/perl/5.10/CPAN.pm line 7698.
>> INGY/YAML-0.68.tar.gz
>> make -- NOT OK
>> Warning (usually harmless): 'YAML' not installed, will not store
>> persistent state
>> Running make test
>> Can't test without successful make
>> Running make install
>> Make had returned bad status, install seems impossible
>> Failed during this command:
>> INGY/YAML-0.68.tar.gz : make NO
>

It looks like you don't have make


Jun 20, 2009 6:56 pm
Dennis G. Wicks
Re: CPAN won't install YAML and others



Bruce Ferrell wrote the following on 06/20/2009 01:38 PM:
>
> Dennis G. Wicks wrote:
>> Greetings;
>>
>> YAML is not installed on my Lenny system and when I try to install it
>> (with perl -MCPAN -e shell) I get the following errors after the source
>> has been unpacked. Any ideas?
>>
>> Thanks for any help!
>> Dennis
>>
[snip]
>
> It looks like you don't have make
>

Right you are! It looks like all things installed by CPAN
don't require make!

MANY Thanks!!
Dennis




Previous Thread: Query related to PAR::Packer
Next Thread: Is less than Regex woes

Related Forum Topics
Installing from CPAN -- YAML
Hi,

when installing a module from CPAN I always get the hint that YAML is
not installed.

To solve the problem I tried to find YAML on CPAN and found dozens of
pages with YAML.
Scanning the entries I detected CPAN::Meta::YAML. Its documentation
seems to indicate that that is what I...
Trying to install a cpan module
--001636c5baf9aa293804961729cc
Content-Type: text/plain; charset=ISO-8859-1

Hi all,

I'm new to programming, and only recently did I start playing around with
command prompts, etc, so it's probably no surpise that I'm having some
difficulty trying to install a module using cpan. The...
Install modules from CPAN
--e89a8f23524166ec9b04bb41a539
Content-Type: text/plain; charset=ISO-8859-1

Hi there,
i have perl 5.6 on my laptop
am i want to download some modules from CPAN but all attempts i have made
have failed giving me such errors,
some help.

C:\>perl -MCPAN -e shell
cpan shell -- CPAN...
Cannot install Tk from CPAN using Strawberry Perl 5.16
I am running Win7Pro-64bit and using Strawberry Perl 64 bit version
5.16. When I attempt to use "install Tk" from Strawberry Perl's
"cpan>" prompt I get two instances of "perl.exe not responding". After
responding OK to the first, activity resumes, but after the second
time I get the...
CPAN install module problem
Hi,

Why sometimes I can use a command to install Perl module, e.g.

perl -MCPAN -e "install Digest::MD5"

But sometimes can't?

e.g.

perl -MCPAN -e "install Archive::Zip"
>> Can't locate object method "install" via package "Archive::Zip" at -e line 1.


Are there any...
CPAN cannot install modules locally
--------------030906090903000905040702
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi

I am trying to install MediaWiki::Bot module locally on my server (I am
not the admin).
I am trying to use cpan command line interface for this.

I...
Unable to install module from CPAN
Hi ,

I tried to install ExtUtils-CBuilder from CPAN however I get this error :-

CPAN.pm: Going to build D/DA/DAGOLDEN/ExtUtils-CBuilder-0.280202.tar.gz

ExtUtils::MakeMaker version 6.31 required--this is only version 6.30 at Makefile.PL line 7.
BEGIN failed--compilation aborted at...
Can only install cpan modules as sudo
--B_3407311651_792059
Content-type: text/plain;
charset="US-ASCII"
Content-transfer-encoding: 7bit

Hi all,

I can only install cpan modules as sudo. I installed ActiveState Perl
v.5.14.2 and cpanm without a problem.

$ cpanm Net::SMTP
-bash: /usr/local/bin/cpanm: /usr/bin/perl: bad...
FW: can only install cpan modules as sudo
---814414838-151221274-1324685983=:26988
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable



--- On Fri, 12/23/11, Phil Dobbin <phildobbin@gmail.com> wrote:

From: Phil Dobbin <phildobbin@gmail.com>
Subject: FW: can only install cpan modules as...
Install CPAN module in shared hosting
Hello,

I like to install CPAN modulike like AI::Prolog, I have the Cpanel that have CPAN module installer, but my shared hosting does not allow some modules to be installed like this AI::Prolog, what can I do ? Should I install it in my computer first and then copy the PM files to my web host...