LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-24-2005, 10:20 PM   #1
singying304
Member
 
Registered: Feb 2005
Posts: 106

Rep: Reputation: 15
perl -MCPAN -e 'install MIME::Base64' fail


[root@excellence kingson]# perl -MCPAN -e 'install MIME::Base64' CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 23 Nov 2005 14:53:50 GMT
Running install for module MIME::Base64
Running make for G/GA/GAAS/MIME-Base64-3.05.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/G/GA/GAAS/MIME-Base64-3.05.tar.gz ok
Scanning cache /root/.cpan/build for sizes
MIME-Base64-3.05/
MIME-Base64-3.05/t/
MIME-Base64-3.05/t/warn.t
MIME-Base64-3.05/t/bad-sv.t
MIME-Base64-3.05/t/unicode.t
MIME-Base64-3.05/t/quoted-print.t
MIME-Base64-3.05/t/base64.t
MIME-Base64-3.05/README
MIME-Base64-3.05/QuotedPrint.pm
MIME-Base64-3.05/MANIFEST
MIME-Base64-3.05/decode-qp
MIME-Base64-3.05/encode-base64
MIME-Base64-3.05/encode-qp
MIME-Base64-3.05/Base64.pm
MIME-Base64-3.05/Changes
MIME-Base64-3.05/Makefile.PL
MIME-Base64-3.05/decode-base64
MIME-Base64-3.05/Base64.xs
Removing previously used /root/.cpan/build/MIME-Base64-3.05

CPAN.pm: Going to build G/GA/GAAS/MIME-Base64-3.05.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for MIME::Base64
make: *** No rule to make target `/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE/config.h', needed by `Makefile'. 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

-----------
i am using mdk 10.0
thanks for your help..
 
Old 11-25-2005, 02:55 AM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
try installing MIME::Base64::Perl

It's the same thing as MIME::Base64 except implemented in perl.
 
Old 11-25-2005, 03:36 AM   #3
singying304
Member
 
Registered: Feb 2005
Posts: 106

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by megaspaz
try installing MIME::Base64::Perl

It's the same thing as MIME::Base64 except implemented in perl.
also can't ,have the same problem

CPAN.pm: Going to build G/GA/GAAS/MIME-Base64-Perl-1.00.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for MIME::Base64::Perl
make: *** No rule to make target `/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE/config.h', needed by `Makefile'. 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
 
Old 11-25-2005, 07:23 AM   #4
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,420

Rep: Reputation: 100Reputation: 100
i would try to install that manually. download the package, extract , cd packagename
perl Makefile.PL
make
su
make install

i never encountered problems this way...
 
Old 11-25-2005, 11:04 AM   #5
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
well looking around the net, it seems that missing config.h files means you're missing some perl-devel package. Using your package manager, try to get perl-devel or something ... I'm not sure what the package name would be for MDK 10.0.
 
Old 11-25-2005, 07:26 PM   #6
singying304
Member
 
Registered: Feb 2005
Posts: 106

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by j-ray
i would try to install that manually. download the package, extract , cd packagename
perl Makefile.PL
make
su
make install

i never encountered problems this way...
may you offer me th rpm package?

Last edited by singying304; 11-25-2005 at 07:32 PM.
 
Old 11-25-2005, 07:32 PM   #7
singying304
Member
 
Registered: Feb 2005
Posts: 106

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by megaspaz
well looking around the net, it seems that missing config.h files means you're missing some perl-devel package. Using your package manager, try to get perl-devel or something ... I'm not sure what the package name would be for MDK 10.0.
after i installed per-devel,it had new error message below:


Checking if your kit is complete...
Looks good
Writing Makefile for MIME::Base64
cp QuotedPrint.pm blib/lib/MIME/QuotedPrint.pm
cp Base64.pm blib/lib/MIME/Base64.pm
/usr/bin/perl5.8.3 /usr/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.3/ExtUtils/typemap Base64.xs > Base64.xsc && mv Base64.xsc Base64.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -DVERSION=\"3.05\" -DXS_VERSION=\"3.05\" -fPIC "-I/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE" Base64.c
/bin/sh: line 1: gcc: command not found
make: *** [Base64.o] Error 127
/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
 
Old 11-25-2005, 07:50 PM   #8
singying304
Member
 
Registered: Feb 2005
Posts: 106

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by singying304
after i installed per-devel,it had new error message below:


Checking if your kit is complete...
Looks good
Writing Makefile for MIME::Base64
cp QuotedPrint.pm blib/lib/MIME/QuotedPrint.pm
cp Base64.pm blib/lib/MIME/Base64.pm
/usr/bin/perl5.8.3 /usr/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.3/ExtUtils/typemap Base64.xs > Base64.xsc && mv Base64.xsc Base64.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro -DVERSION=\"3.05\" -DXS_VERSION=\"3.05\" -fPIC "-I/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE" Base64.c
/bin/sh: line 1: gcc: command not found
make: *** [Base64.o] Error 127
/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
also i have installed gcc,and the successful!!!!

thanks all guys~!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
perl -MCPAN -e shell install SDL::Tutorial ?? Bluesuperman Linux - Software 1 06-01-2005 05:54 PM
base64 attachments fail to send rhb327 Linux - Networking 3 01-07-2005 05:59 PM
perl -MCPAN -e shell # PROBLEM FINDING CPAN site Louis_Carole Linux - Software 1 08-26-2004 05:55 PM
perl -MCPAN -e shell, resetting or changing mirror urls msteudel Linux - Software 3 04-23-2004 09:50 AM
problem in installing MIME-Base64 Joe_Zhu Linux - Software 2 01-01-2004 07:15 PM


All times are GMT -5. The time now is 01:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration