For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > September 2004 > Archive::Zip missing pod2man?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Archive::Zip missing pod2man?
Tim Boyer

2004-09-14, 8:57 am

I'm trying to install Archive::Zip, and receive the error that pod2man can't be
found:

CPAN.pm: Going to build N/NE/NEDKONZ/Archive-Zip-1.13.tar.gz

Checking if your kit is complete...
Looks good

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
Makefile:88: *** 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

cpan>

I've done the obvious:

[defang@tolstoy defang]$ echo $PATH
/usr/kerberos/bin:/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/
local/scripts
[defang@tolstoy defang]$ type pod2man
pod2man is /usr/bin/pod2man

It seems to work...

[defang@tolstoy MIME]$ pod2man Tools.pm >~/Tools.1
less ~/Tools.1

Tools(3) User Contributed Perl Documentation Tools(3)

NAME
MIME-tools - modules for parsing (and creating!) MIME entities

SYNOPSIS
Hereās some pretty basic code for parsing a MIME message, and out-
putting its decoded components to a given directory:

.... but cpan just can't find it. I even tried deleting it, bringing a copy in
from another system, and installing it in a different directory in the path -
no such luck.

What am I doing wrong here?

Thanks much,


--
tim boyer
tim@denmantire.com
Tim Boyer

2004-09-14, 8:57 am

On Tue, 14 Sep 2004 02:11:35 GMT, Jim Keenan <jkeen_via_google@yahoo.com>
wrote:

<snip>

>
>Me, I'm not that brave. I'm going to bed instead.
>
>Jim Keenan


A man after my own heart... :) but I'll see what I can see. We're quickly
plumbing the limits of my technical depth, however.


--
tim boyer
tim@denmantire.com
Sisyphus

2004-09-15, 8:58 am

Tim Boyer wrote:

>
> A man after my own heart... :) but I'll see what I can see. We're quickly
> plumbing the limits of my technical depth, however.
>
>


If it's just a matter of getting Archive::Zip installed you could try
the ol' fashioned way - download source, extract, run commands manually
- those commands normally being 'perl Makefile.PL', 'make', 'make test'
and 'make install' (but check the README that comes with the source).

If that works then at least you'll know the problem lies with your CPAN
installation itself, and not the EU::* modules.

Cheers,
Rob

--
To reply by email u have to take out the u in kalinaubears.

Tim Boyer

2004-09-15, 8:58 am

On 12 Sep 2004 20:30:09 -0700, jkeen_via_google@yahoo.com (Jim Keenan) wrote:

>Tim Boyer <tim@denmantire.com> wrote in message news:<kui9k0p82t6n6n7c97jjl4jtrdlkbktncr@4ax.com>...
>[snip]
>
>This is probably *not* the answer to your problem, but at least it's a
>rule-out: Are you trying to have cpan install this module relative to
>a Perl executable located in /usr/bin or one in /usr/local/bin? If
>you have 2 different versions of Perl installed in 2 different
>locations, there's a chance that 'make' is not finding a 'pod2man'
>relative to the current executable.
>
>As I said, this is probably not your problem, but I had a similar
>problem with the 'cpan' utility once I installed 5.8.4 alongside
>5.8.0. In that case, I had to manually edit the newer version of
>'cpan' to get its path working properly. So it's at last worth ruling
>out.
>


I'll take a look this morning. Thanks!

>Note: I doubt this has anything to do with Archive::Zip per se. Have
>you gotten this problem with other attempts at installing from CPAN?
>
>jimk


Nope; that's the _really_ weird part. CPAN's been running fine here forever.
I installed mimedefang over the wend; everything went without a hitch. I
was installing some of the optional modules, like Unix::Syslog, and they all
just slid right in - except for the Archive::Zip module!

Weird...


--
tim boyer
tim@denmantire.com
Tim Boyer

2004-09-15, 8:58 am

On Wed, 15 Sep 2004 17:51:21 +1000, Sisyphus <kalinaubears@iinet.net.au> wrote:

>Tim Boyer wrote:
>
>
>If it's just a matter of getting Archive::Zip installed you could try
>the ol' fashioned way - download source, extract, run commands manually
>- those commands normally being 'perl Makefile.PL', 'make', 'make test'
>and 'make install' (but check the README that comes with the source).
>
>If that works then at least you'll know the problem lies with your CPAN
>installation itself, and not the EU::* modules.
>
>Cheers,
>Rob


You mean, do it *gasp* the old-fashioned way? That's an excellent idea, and it
shows how lazy I've become that I didn't even think of it. I'll try it
tonight. Thanks much!


--
tim boyer
tim@denmantire.com
Jim Keenan

2004-09-15, 3:56 pm

Jim Keenan <jkeen_via_google@yahoo.com> wrote in message news:<rrs1d.2483$VV2.929@trndny06>...
> [snip]
> If you are brave and stout of heart, you can peer into the eternals of
> MakeMaker,


Of course, what I *meant* to say was, "you can peer into the
*in*ternals of MakeMaker, ..."

But what if they're the same thing?!!!

Jim Keenan
Tim Boyer

2004-09-15, 9:22 pm

On Wed, 15 Sep 2004 17:51:21 +1000, Sisyphus <kalinaubears@iinet.net.au> wrote:

>Tim Boyer wrote:
>
>
>If it's just a matter of getting Archive::Zip installed you could try
>the ol' fashioned way - download source, extract, run commands manually
>- those commands normally being 'perl Makefile.PL', 'make', 'make test'
>and 'make install' (but check the README that comes with the source).
>
>If that works then at least you'll know the problem lies with your CPAN
>installation itself, and not the EU::* modules.
>
>Cheers,
>Rob


Rob, check _this_ out:

[tim@tolstoy src]$ cd Archive-Zip-1.13/
[tim@tolstoy Archive-Zip-1.13]$ 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

[tim@tolstoy Archive-Zip-1.13]$ type pod2man
pod2man is /usr/bin/pod2man

Damn! It's there, it really is...


--
tim boyer
tim@denmantire.com
Sisyphus

2004-09-16, 4:52 am

Tim Boyer wrote:
> On Wed, 15 Sep 2004 17:51:21 +1000, Sisyphus <kalinaubears@iinet.net.au> wrote:
>
>
>
>
> Rob, check _this_ out:
>
> [tim@tolstoy src]$ cd Archive-Zip-1.13/
> [tim@tolstoy Archive-Zip-1.13]$ 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
>
> [tim@tolstoy Archive-Zip-1.13]$ type pod2man
> pod2man is /usr/bin/pod2man
>
> Damn! It's there, it really is...
>
>


This seems to have cropped up a few times (especially wrt Redhat 9). I'm
sure I've seen it discussed somewhere, but I'm damned if I could find
anything useful. See if you can Google up a solution. Try searching for
"I could not locate your pod2man" (*including* the quotes).

Cheers,
Rob

--
To reply by email u have to take out the u in kalinaubears.

Tim Boyer

2004-09-16, 11:02 am

On Thu, 16 Sep 2004 17:42:33 +1000, Sisyphus <kalinaubears@iinet.net.au> wrote:

>Tim Boyer wrote:
>
>This seems to have cropped up a few times (especially wrt Redhat 9). I'm
>sure I've seen it discussed somewhere, but I'm damned if I could find
>anything useful. See if you can Google up a solution. Try searching for
>"I could not locate your pod2man" (*including* the quotes).
>
>Cheers,
>Rob


Hmmm, about 240 hits. Looks like I'm not alone. :) I'll start reading.
Thanks, Rob!


--
tim boyer
tim@denmantire.com
Jim Keenan

2004-09-16, 8:31 pm

Sisyphus <kalinaubears@iinet.net.au> wrote in message news:<41494519$0$24410$5a62ac22@per-qv1-newsreader-01.iinet.net.au>...
> Try searching for
> "I could not locate your pod2man" (*including* the quotes).
>

As I pointed out in another posting, this appears to come from the
older version of ExtUtils::MakeMaker which the OP is using. The
language does not appear in the most recent version of EU::MM
available from CPAN.

jimk
Jim Keenan

2004-09-16, 8:31 pm

Tim Boyer wrote:

> Rob, check _this_ out:
>
> [tim@tolstoy src]$ cd Archive-Zip-1.13/
> [tim@tolstoy Archive-Zip-1.13]$ 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
>
> [tim@tolstoy Archive-Zip-1.13]$ type pod2man
> pod2man is /usr/bin/pod2man
>
> Damn! It's there, it really is...
>
>

Using ExtUtils::MakeMaker version 6.17 (that which came standard with
Perl 5.8.4), I had no problem just now installing Archive::Zip on
Darwin/Panther. So I'm more and more convinced that upgrading your
EU::MM would solve your problem.

jimk
Tim Boyer

2004-09-17, 3:57 am

On Thu, 16 Sep 2004 22:52:15 GMT, Jim Keenan <jkeen_via_google@yahoo.com>
wrote:

>Tim Boyer wrote:
>
>Using ExtUtils::MakeMaker version 6.17 (that which came standard with
>Perl 5.8.4), I had no problem just now installing Archive::Zip on
>Darwin/Panther. So I'm more and more convinced that upgrading your
>EU::MM would solve your problem.
>
>jimk


Found a fix. Running export LANG=en_US before either the cpan or the make
enables it to work.

And I'm too old and tired to figure out why. :)

Thanks for all the help...


--
tim boyer
tim@denmantire.com
Sisyphus

2004-09-17, 8:56 am

Jim Keenan wrote:
> Tim Boyer wrote:
>
> Using ExtUtils::MakeMaker version 6.17 (that which came standard with
> Perl 5.8.4), I had no problem just now installing Archive::Zip on
> Darwin/Panther. So I'm more and more convinced that upgrading your
> EU::MM would solve your problem.
>
> jimk


Sounds like fair enough advice - source can be obtained from
http://search.cpan.org/~mschwern/Ex...MakeMaker-6.17/

Should be a breeze to install - hope that's all there is to the problem.

(Could the op let us know please ?)

Cheers,
Rob

--
To reply by email u have to take out the u in kalinaubears.

Tim Boyer

2004-09-17, 8:56 am

On Fri, 17 Sep 2004 18:21:07 +1000, Sisyphus <kalinaubears@iinet.net.au> wrote:

>Jim Keenan wrote:
>
>Sounds like fair enough advice - source can be obtained from
>http://search.cpan.org/~mschwern/Ex...MakeMaker-6.17/
>
>Should be a breeze to install - hope that's all there is to the problem.
>
>(Could the op let us know please ?)
>
>Cheers,
>Rob


cpan> install ExtUtils::MakeMaker

Failed 2/35 test scripts, 94.29% okay. 63/668 subtests failed, 90.57% okay.
make: *** [test_dynamic] Error 29
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

It was 'fixed' by setting LANG=en_US, at which point both Archive::Zip and
ExtUtils::MakeMaker install cleanly.


Ah, well, I'm going to declare victory and go home. BTW, this is Red Hat E3,
in case any one cares...


--
tim boyer
tim@denmantire.com
Tim Boyer

2004-09-17, 8:56 pm

On 13 Sep 2004 17:54:00 -0700, jkeen_via_google@yahoo.com (Jim Keenan) wrote:

>Tim Boyer <tim@denmantire.com> wrote in message news:<pl0bk0pb2elv9em7jivorkq9jpd5kjf2q3@4ax.com>...
>
>I tried grepping for the above warning message or relevant parts
>thereof and had no luck. Did you copy and paste it?


Yup. That's exactly as it appears on the screen. In fact, here's the whole
dialogue, in case that helps:

cpan shell -- CPAN exploration and modules installation (v1.76)
ReadLine support enabled

cpan> install Archive::Zip
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Sun, 12 Sep 2004 08:04:18 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://archive.progeny.com/CPAN/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Fetching with LWP:
ftp://archive.progeny.com/CPAN/modu....details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Mon, 13 Sep 2004 20:05:05 GMT
Fetching with LWP:
ftp://archive.progeny.com/CPAN/modu...modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Running install for module Archive::Zip
Running make for N/NE/NEDKONZ/Archive-Zip-1.13.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for
/root/.cpan/sources/authors/id/N/NE/NEDKONZ/Archive-Zip-1.13.tar.gz
ok
Scanning cache /root/.cpan/build for sizes
Archive-Zip-1.13/
Archive-Zip-1.13/t/
Archive-Zip-1.13/t/testex.t
Archive-Zip-1.13/t/testUpdate.t
Archive-Zip-1.13/t/testMemberRead.t
Archive-Zip-1.13/t/testTree.t
Archive-Zip-1.13/t/test.t
Archive-Zip-1.13/t/common.pl
Archive-Zip-1.13/Changes
Archive-Zip-1.13/examples/
Archive-Zip-1.13/examples/mfh.pl
Archive-Zip-1.13/examples/updateZip.pl
Archive-Zip-1.13/examples/unzipAll.pl
Archive-Zip-1.13/examples/extract.pl
Archive-Zip-1.13/examples/readScalar.pl
Archive-Zip-1.13/examples/copy.pl
Archive-Zip-1.13/examples/zip.pl
Archive-Zip-1.13/examples/zipGrep.pl
Archive-Zip-1.13/examples/calcSizes.pl
Archive-Zip-1.13/examples/ziprecent.pl
Archive-Zip-1.13/examples/zipcheck.pl
Archive-Zip-1.13/examples/updateTree.pl
Archive-Zip-1.13/examples/writeScalar.pl
Archive-Zip-1.13/examples/selfex.pl
Archive-Zip-1.13/examples/zipinfo.pl
Archive-Zip-1.13/examples/ziptest.pl
Archive-Zip-1.13/examples/mailZip.pl
Archive-Zip-1.13/examples/writeScalar2.pl
Archive-Zip-1.13/docs/
Archive-Zip-1.13/docs/Archive-Zip.pdf
Archive-Zip-1.13/docs/appnote.iz
Archive-Zip-1.13/docs/Appnote.txt
Archive-Zip-1.13/docs/ideas.txt
Archive-Zip-1.13/docs/Archive-Zip.ps
Archive-Zip-1.13/MANIFEST
Archive-Zip-1.13/TODO
Archive-Zip-1.13/crc32
Archive-Zip-1.13/META.yml
Archive-Zip-1.13/lib/
Archive-Zip-1.13/lib/Archive/
Archive-Zip-1.13/lib/Archive/Zip/
Archive-Zip-1.13/lib/Archive/Zip/BufferedFileHandle.pm
Archive-Zip-1.13/lib/Archive/Zip/MockFileHandle.pm
Archive-Zip-1.13/lib/Archive/Zip/MemberRead.pm
Archive-Zip-1.13/lib/Archive/Zip/Tree.pm
Archive-Zip-1.13/lib/Archive/Zip/FAQ.pod
Archive-Zip-1.13/lib/Archive/Zip.pod
Archive-Zip-1.13/lib/Archive/Zip.pm
Archive-Zip-1.13/INSTALL
Archive-Zip-1.13/Makefile.PL
Archive-Zip-1.13/README
Removing previously used /root/.cpan/build/Archive-Zip-1.13

CPAN.pm: Going to build N/NE/NEDKONZ/Archive-Zip-1.13.tar.gz

Checking if your kit is complete...
Looks good

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
Makefile:88: *** 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

cpan>

>
>Additional diagnostic questions: What version of Perl?


5.8.0

> What version
>of ExtUtils::MakeMaker?
>


6.03. I think...

cpan> m ExtUtils::MakeMaker
Module id = ExtUtils::MakeMaker
DESCRIPTION Writes Makefiles for extensions
CPAN_USERID MMML (The MakeMaker mailing list <makemaker@perl.org> )
CPAN_VERSION 6.21
CPAN_FILE M/MS/MSCHWERN/ExtUtils-MakeMaker-6.21.tar.gz
DSLI_STATUS SupO (standard,comp.lang.perl.*,perl,object-oriented)
MANPAGE ExtUtils::MakeMaker - create an extension Makefile
INST_FILE /usr/lib/perl5/5.8.0/ExtUtils/MakeMaker.pm
INST_VERSION 6.03



--
tim boyer
tim@denmantire.com
Tim Boyer

2004-09-17, 8:56 pm

On Tue, 14 Sep 2004 02:11:35 GMT, Jim Keenan <jkeen_via_google@yahoo.com>
wrote:

<snip>

>
>Me, I'm not that brave. I'm going to bed instead.
>
>Jim Keenan


A man after my own heart... :) but I'll see what I can see. We're quickly
plumbing the limits of my technical depth, however.


--
tim boyer
tim@denmantire.com
Tim Boyer

2004-09-18, 3:56 am

On Wed, 15 Sep 2004 17:51:21 +1000, Sisyphus <kalinaubears@iinet.net.au> wrote:

>Tim Boyer wrote:
>
>
>If it's just a matter of getting Archive::Zip installed you could try
>the ol' fashioned way - download source, extract, run commands manually
>- those commands normally being 'perl Makefile.PL', 'make', 'make test'
>and 'make install' (but check the README that comes with the source).
>
>If that works then at least you'll know the problem lies with your CPAN
>installation itself, and not the EU::* modules.
>
>Cheers,
>Rob


Rob, check _this_ out:

[tim@tolstoy src]$ cd Archive-Zip-1.13/
[tim@tolstoy Archive-Zip-1.13]$ 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

[tim@tolstoy Archive-Zip-1.13]$ type pod2man
pod2man is /usr/bin/pod2man

Damn! It's there, it really is...


--
tim boyer
tim@denmantire.com
Sisyphus

2004-09-18, 8:55 am

Tim Boyer wrote:
> On Wed, 15 Sep 2004 17:51:21 +1000, Sisyphus <kalinaubears@iinet.net.au> wrote:
>
>
>
>
> Rob, check _this_ out:
>
> [tim@tolstoy src]$ cd Archive-Zip-1.13/
> [tim@tolstoy Archive-Zip-1.13]$ 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
>
> [tim@tolstoy Archive-Zip-1.13]$ type pod2man
> pod2man is /usr/bin/pod2man
>
> Damn! It's there, it really is...
>
>


This seems to have cropped up a few times (especially wrt Redhat 9). I'm
sure I've seen it discussed somewhere, but I'm damned if I could find
anything useful. See if you can Google up a solution. Try searching for
"I could not locate your pod2man" (*including* the quotes).

Cheers,
Rob

--
To reply by email u have to take out the u in kalinaubears.

Jim Keenan

2004-09-19, 3:55 am

Jim Keenan <jkeen_via_google@yahoo.com> wrote in message news:<rrs1d.2483$VV2.929@trndny06>...
> [snip]
> If you are brave and stout of heart, you can peer into the eternals of
> MakeMaker,


Of course, what I *meant* to say was, "you can peer into the
*in*ternals of MakeMaker, ..."

But what if they're the same thing?!!!

Jim Keenan
Jim Keenan

2004-09-22, 8:58 am

Tim Boyer wrote:

> Rob, check _this_ out:
>
> [tim@tolstoy src]$ cd Archive-Zip-1.13/
> [tim@tolstoy Archive-Zip-1.13]$ 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
>
> [tim@tolstoy Archive-Zip-1.13]$ type pod2man
> pod2man is /usr/bin/pod2man
>
> Damn! It's there, it really is...
>
>

Using ExtUtils::MakeMaker version 6.17 (that which came standard with
Perl 5.8.4), I had no problem just now installing Archive::Zip on
Darwin/Panther. So I'm more and more convinced that upgrading your
EU::MM would solve your problem.

jimk
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com