LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-03-2004, 09:19 AM   #1
mairul
Member
 
Registered: Sep 2003
Location: In front of my LAN
Distribution: Redhat
Posts: 82

Rep: Reputation: 15
Unhappy perl modules


I want to install following perl modules...

MIME/PARSER/FILER
Convert/TNEF
Archieve/Zip

but failed to install..

I have download "Archieve-Zip-1.09.tar.gz"...from web..then I untar it and give "perl Makefile.PL" command but it says...

[root@pc2 Archive-Zip-1.09]# perl Makefile.PL

Warning: I could not locate your pod2man program. Please make sure,
your pod2man program is in your PATH before you execute 'make'

Writing Makefile for Archive::Zip
[root@pc2 Archive-Zip-1.09]#


I have download the "perl-Convert-TNEF-0.17-1.noarch.rpm" file from web and when try to install it says...

[root@pc2 test]# rpm -ivh perl-Convert-TNEF-0.17-1.noarch.rpm
error: Failed dependencies:
perl(IO::Wrap) is needed by perl-Convert-TNEF-0.17-1
perl(MIME::Body) is needed by perl-Convert-TNEF-0.17-1
[root@pc2 test]#


I search for "perl-Convert-TNEF-0.17-1" at my redhat 9 CD but can't find..

I search for "MIME::Parser::Filer" at web but cannot find....

really I am in great problem...
 
Old 03-03-2004, 10:14 AM   #2
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Well the first one doesn't work because you don't have pod2man installed. Do a google or freshmeat search, and install it.
The second one doesn't work because you are missing perl modules which it depends on. Install those perl modules first and all will be well.
 
Old 03-03-2004, 11:17 AM   #3
mairul
Member
 
Registered: Sep 2003
Location: In front of my LAN
Distribution: Redhat
Posts: 82

Original Poster
Rep: Reputation: 15
actually i have search those files at google and at CPAN but cannot find the specific file that could help me...can you help me little more finding those files..
 
Old 03-03-2004, 12:54 PM   #4
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Go to http://search.cpan.org and search for:
IO Wrap
MIME Body
That's how I found them.
pod2man should be included with perl, so do:
find / -name pod2man
and make sure the path is in your PATH environment variable
 
Old 03-03-2004, 11:13 PM   #5
mairul
Member
 
Registered: Sep 2003
Location: In front of my LAN
Distribution: Redhat
Posts: 82

Original Poster
Rep: Reputation: 15
following your suggesion I was able to install

MIME/PARSER/FILER
Convert/TNEF

but still trying to install

Archieve/Zip

as you say...I search at my hard disk..

it says..

[root@pc2 /]# find / -name pod2man
/usr/bin/pod2man
/home/test/podlators-1.27/scripts/pod2man
/home/test/podlators-1.27/blib/script/pod2man
[root@pc2 /]#

I think pod2man is installed but not properly....or it is not in right path...

can I get a little help more...so that I can be able to install "Archieve/Zip"

I install perl-5.8.0-88 again but it does'nt work...
 
Old 03-04-2004, 03:39 AM   #6
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Well pod2man seems installed in the right place. Just check to make sure that /usr/bin is in your PATH variable (although I'm sure it will be) by doing "printenv" or "echo $PATH".
Since the message was only a warning, try doing "make" and see what happens.
 
Old 03-04-2004, 07:31 AM   #7
mairul
Member
 
Registered: Sep 2003
Location: In front of my LAN
Distribution: Redhat
Posts: 82

Original Poster
Rep: Reputation: 15
Here is the output....

[root@pc2 /]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:
/root/bin
[root@pc2 /]#

I tried to make and make test and make install....but same error..

I am also sure that there might be no problem...any alternate solution pls...

sorry for the same type of questions again...
 
Old 03-04-2004, 07:37 AM   #8
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Well, pod2man is in your path, so it should work. What happens when you type "pod2man --help"? I imagine it runs.
What errors are you getting when you try "make"? You only posted the warning you were getting with "perl Makefile.PL"
 
Old 03-05-2004, 02:24 AM   #9
mairul
Member
 
Registered: Sep 2003
Location: In front of my LAN
Distribution: Redhat
Posts: 82

Original Poster
Rep: Reputation: 15
[root@pc2 /]# pod2man --help
Usage:
pod2man [--section=*manext*] [--release=*version*] [--center=*string*]
[--date=*string*] [--fixed=*font*] [--fixedbold=*font*]
[--fixeditalic=*font*] [--fixedbolditalic=*font*] [--name=*name*]
[--official] [--lax] [--quotes=*quotes*] [--verbose] [*input* [*output*]
...]

pod2man --help

[root@pc2 /]#


[root@pc2 Archive-Zip-1.09]# perl Makefile.PL

Warning: I could not locate your pod2man program. Please make sure,
your pod2man program is in your PATH before you execute 'make'

Writing Makefile for Archive::Zip
[root@pc2 Archive-Zip-1.09]# make
Makefile:68: *** missing separator. Stop.
[root@pc2 Archive-Zip-1.09]# make test
Makefile:68: *** missing separator. Stop.
[root@pc2 Archive-Zip-1.09]# make install
Makefile:68: *** missing separator. Stop.
[root@pc2 Archive-Zip-1.09]#


[root@pc2 /]# printenv
HOSTNAME=pc2.dns2.com
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=202.84.35.225 1505 22
QTDIR=/usr/lib/qt-3.1
OLDPWD=/root
SSH_TTY=/dev/pts/0
USER=root
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36i=40;33:so=00;35:bd=40;33;01:cd=40;33;01r=01;05;37;41:mi= 01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00 ;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz =00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;3 5:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
USERNAME=root
MAIL=/var/spool/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
INPUTRC=/etc/inputrc
PWD=/
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/root
BASH_ENV=/root/.bashrc
LOGNAME=root
SSH_CONNECTION=202.84.35.225 1505 202.84.35.224 22
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/usr/bin/printenv
[root@pc2 /]#

Last edited by mairul; 03-05-2004 at 03:11 AM.
 
Old 03-05-2004, 04:10 AM   #10
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
I'm sorry but I have no idea what's wrong. I tried downloading the file, and when I moved my pod2man so that it was no longer in my path, and did "perl Makefile.PL", I got no warnings or errors. It was fine on the make stage as well, so obviously pod2man wasn't being used.
The only warning I get is about missing dependencies, but this doesn't affect the build. I'm sorry, but I honestly don't know what's gone wrong here.
 
Old 03-06-2004, 02:06 AM   #11
mairul
Member
 
Registered: Sep 2003
Location: In front of my LAN
Distribution: Redhat
Posts: 82

Original Poster
Rep: Reputation: 15
ok.......thanks for your nice and helpful co-operation..let me continue trying and i will let you know if I able to solve the problem...thank you again...
 
Old 03-08-2004, 04:46 PM   #12
lonesail
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
try this

try this:

bash# unset $LANG

or if that doesn't work

bash# unset LANG

and then

bash# make Makefile.PL
 
Old 03-08-2004, 08:56 PM   #13
mairul
Member
 
Registered: Sep 2003
Location: In front of my LAN
Distribution: Redhat
Posts: 82

Original Poster
Rep: Reputation: 15
thank you so much....it works.....

actually I was trying to install amavis mailscanner at my redhat 9..after successful installation of all perl modules I was trying to configure amavis..

but at the time of my amavis installation I got following errors..

[root@pc2 amavis-0.3.12]# ./configure
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for perl... /usr/bin/perl
checking for perl modules... found
checking for file... /usr/bin/file
checking whether /usr/bin/file recognises TNEF files... yes
checking for id... /usr/bin/id
checking for arc... no
configure: error: Sorry, you need arc
[root@pc2 amavis-0.3.12]#

Last edited by mairul; 03-08-2004 at 08:58 PM.
 
Old 03-08-2004, 09:41 PM   #14
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
why not utilize CPAN from whitin perl
perl -MCPAN -e shell
cpan> install Perl::Package
is all that is needed, just insruct it to follow the dependencies during initial setup of CPAN and it will do its best to get you desired modules.
 
  


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
I Need Perl Modules!!! benmay05 Programming 2 07-01-2005 02:48 PM
um.... perl modules? ruwach Programming 2 02-27-2005 10:15 AM
perl modules amer_58 Linux - Newbie 3 02-20-2005 05:04 AM
perl modules kidwired Linux - Software 6 01-02-2003 03:24 PM
Perl Modules ostony Linux - General 0 04-19-2001 10:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:48 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration