Page 1 of 1

installation problem with PERL modules

PostPosted: Thu Sep 07, 2006 1:21 pm
by mayankanup
Hi,

I am having some problem in installing some of the Perl modules as mentioned in SUBPHASE 3.1 of scratch installation document

Code: Select all
install Digest::MD5

Writing Makefile for Digest::MD5
Makefile:85: *** missing separator.  Stop.
  /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
Failed during this command:
  GAAS/Digest-MD5-2.36.tar.gz                  : make NO



install Bundle::CPAN
Bundle summary: The following items in bundle Bundle::CPAN had installation
problems:
  File::HomeDir Archive::Zip Bundle::libnet YAML Module::Build and the
  following items had problems during recursive bundle calls: Data::Dumper
Failed during this command:
  SMPETERS/Archive-Zip-1.16.tar.gz             : make NO
  INGY/YAML-0.62.tar.gz                        : make_test NO
  KWILLIAMS/Module-Build-0.2805.tar.gz         : writemakefile NO '/usr/bin/perl Makefile.PL UNINST=1' returned status 512
  ADAMK/File-HomeDir-0.58.tar.gz               : install NO




install Time::HiRes

Checking if your kit is complete...
Looks good
'UNINST' is not a known MakeMaker parameter name.
Writing Makefile for Time::HiRes
Now you may issue 'make'.  Do not forget also 'make test'.
NOTE: if you get an error like this (the Makefile line number may vary):
Makefile:91: *** missing separator
then set the environment variable LC_ALL to "C" and retry
from scratch (re-run perl "Makefile.PL").
Makefile:91: *** missing separator.  Stop.
  /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
Failed during this command:
  JHI/Time-HiRes-1.90.tar.gz                   : make NO



I want to know is there any alternate way to install these modules and what is the severity effect if the above modules are not installed. I am a newbie in the area of VICIDial . Any help or pointers will be appreciated

PostPosted: Thu Sep 07, 2006 2:10 pm
by SuPrSluG
You need a compiler and build tools. What distro are
you using? Like autoconf or automake. You can check to see if you have them by issuing the
'which make' at a command line. Should come back with something like -> /usr/bin/make or elsewhere depending on your distro.

PostPosted: Thu Sep 07, 2006 2:30 pm
by mayankanup
I am using RHEL 4.
$which make returns /usr/bin/make

PostPosted: Thu Sep 07, 2006 2:56 pm
by SuPrSluG
cpan isn't seeing it.
/usr/bin/make -- NOT OK
you'll have to go through the cpan configuration again.
either edit /etc/perl/CPAN/Config.pm and put in correct path to make or

cpan> o conf init

PostPosted: Thu Sep 07, 2006 5:23 pm
by mayankanup
I have done

cpan> o conf init

I don't think this is a path issue for make. because i am able to make all other modules.

PostPosted: Fri Sep 08, 2006 9:29 am
by SuPrSluG
you can check the yum repositories for

libmd5-perl - backwards-compatible wrapper for Digest::MD5

maybe that will work.