Click here to get back home

Archive::Zip missing pod2man?

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Archive::Zip missing pod2man? Tim Boyer 09-12-2004
Posted by Tim Boyer on September 12, 2004, 7:33 pm
Please log in for more thread options
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


Posted by Jim Keenan on September 12, 2004, 9:30 pm
Please log in for more thread options
> 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'
>
>
[snip]
> 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...
>
>
> ... 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?
>

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.

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


Posted by Tim Boyer on September 13, 2004, 8:24 am
Please log in for more thread options
On 12 Sep 2004 20:30:09 -0700, jkeen_via_google@yahoo.com (Jim Keenan) wrote:

>> 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'
>>
>>
>[snip]
>> 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...
>>
>>
>> ... 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?
>>
>
>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 weekend; 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


Posted by Jim Keenan on September 13, 2004, 6:54 pm
Please log in for more thread options
> On 12 Sep 2004 20:30:09 -0700, jkeen_via_google@yahoo.com (Jim Keenan) wrote:
>
> >> 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'

I tried grepping for the above warning message or relevant parts
thereof and had no luck. Did you copy and paste it?

Additional diagnostic questions: What version of Perl? What version
of ExtUtils::MakeMaker?

jimk


Posted by Tim Boyer on September 13, 2004, 10:31 pm
Please log in for more thread options
On 13 Sep 2004 17:54:00 -0700, jkeen_via_google@yahoo.com (Jim Keenan) wrote:

>> On 12 Sep 2004 20:30:09 -0700, jkeen_via_google@yahoo.com (Jim Keenan) wrote:
>>
>> >> 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'
>
>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/modules/02packages.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/modules/03modlist.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_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


Similar ThreadsPosted
PPM is missing...? October 26, 2006, 9:44 am
Re: ERR: 13: Missing right $] July 27, 2007, 5:43 am
CGI.pm/modperl2 and intermittent missing POST data July 15, 2006, 3:18 am
Archive::Tar August 14, 2004, 9:41 am
[ANN] Archive::Zip 1.12 released July 12, 2004, 8:21 pm
Archive::Tar on win32 September 16, 2004, 8:40 am
[ANN] Archive::Zip 1.14 released October 22, 2004, 4:04 pm
[ANN] Archive::Zip 1.14 released October 22, 2004, 11:03 pm
Archive::Zip problem July 3, 2006, 5:25 am
Using Archive::Zip extractTree(); January 2, 2007, 4:33 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap