Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date::Manip Installation problems

Status
Not open for further replies.

dajo

IS-IT--Management
Jan 13, 2001
27
US
I'm trying to compile/install the Date::Manip C modules for use on a Redhat system. I keep getting the "pod2man" not found error, which I believe has something to do with the path variable.

Can someone help me out here? How do you set the path in Linux?

Thanx!
 
I'm on a Redhat 6.1 Linux system - when I do a

which pod2man

it tells me that it found pod2man in /usr/local/bin. The "which" command searches your current PATH - if Date::Manip can't find pod2man, that probably means pod2man is NOT in your PATH. Try using the "locate" command(locate pod2man) - locate will search more than just your PATH. On my machine, both "perl" and "pod2man" are in my /usr/local/bin because that's where I installed Perl 5.6. If you're using the Perl that comes with a standard Redhat installation, I'm not sure where that gets installed.

Do this

echo $PATH

to find out what your path is currently set to. If the location of pod2man is not in the path, then:
1. cd to your home directory - just do "cd"
2. edit the .profile file in your home directory
- add the location of pod2man to the PATH,
and make sure the PATH is exported after
being set

Then the next time you log in, the PATH should be set correctly - again do "echo $PATH" to confirm this.

HTH.
Hardy Merrill
Mission Critical Linux, Inc.
 
Cool, thanks! A lot of good info here which should get me going.

I appreciate it.
 
Hmmm...

Well, pod2man is in /usr/bin, which is already in the path. If I type "pod2man" I get output, including the Perl version 5.006. However, when I cd to the directory I created and ftp'd the Date::Manip files into for installation and type "perl Makefile.pl" the Perl script for installation starts but then says "cannot find pod2man. Make sure file is in your path". I can invoke "pod2man" in that installation dir I created, and it yields the same output of Perl version, etc.

Guess I need to do some more research on tweaking the installation of Date::Manip. I may have to write the author, but hate to do.

By the way, do you know where the .profile file is located. This is a web hosting service, i.e., it's not my machine but is a remote machine on the net.

Thanks for helping.
 
Sorry, I can't be much more help - I'm not familiar with remote hosting. You might try talking with your hosting service - they probably(?) manage your .profile, and you might have to get them to install Date::Manip.
Hardy Merrill
Mission Critical Linux, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top