Click here to get back home

Getopt::Long install problems

 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
Getopt::Long install problems Mark J Fenbers 10-04-2004
Posted by Mark J Fenbers on October 4, 2004, 6:33 pm
Please log in for more thread options
This is a multi-part message in MIME format.
--------------F473A1D4BC83DD653E1D7B11
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I've successfully installed numerous Perl modules from CPAN. (I almost
get the feeling that I know what I am doing.) But I downloaded the
latest release of Getopt::Long and ran 'perl Makefile.PL' which created
the Makefile, but complained that pod2man was not in the PATH (but, "Oh,
yes it is!"). Nonetheless, I ran 'make' and it gave me this message:

make:87: *** missing separator. Stop.

So I checked out line 87 and found this line:

installman1

which I appended ='' so it looked like this:

installman1=''

This satisfied that error and then made the same complaint about line
97. Fixed that the same way and several new errors came up complaining
about unexpected EOF while looking for matching quote... I noticed that
there were numberous unclosed or unopened single quotes througout the
Makefile. Obviously, something got way out of whack and I never could
fix the Makefile to the point where it ran. What did I do wrong, or
what is wrong with Getopt::Long? Does the fact that the supposedly
zipped tar file ends in a tar.tar extention instead of a tar.gz
extention have anything to do with my problem? Or is this just sloppy
work on the part of the maintainer? Anybody able to help me??

Mark

--------------F473A1D4BC83DD653E1D7B11
Content-Type: text/x-vcard; charset=us-ascii;
name="Mark.Fenbers.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Mark J Fenbers
Content-Disposition: attachment;
filename="Mark.Fenbers.vcf"

begin:vcard
n:Fenbers;Mark
tel;work:937-383-0430
x-mozilla-html:TRUE
url:http://www.erh.noaa.gov/ohrfc
org:National Weather Service;Ohio River Forecast Center
adr:;;;;;;
version:2.1
email;internet:Mark.Fenbers@noaa.gov
title:Sr. HAS Meteorologist
fn:Mark J Fenbers
end:vcard

--------------F473A1D4BC83DD653E1D7B11--



Posted by Bill Karwin on October 4, 2004, 5:08 pm
Please log in for more thread options
Mark J Fenbers wrote:

> I've successfully installed numerous Perl modules from CPAN. (I almost
> get the feeling that I know what I am doing.) But I downloaded the
> latest release of Getopt::Long and ran 'perl Makefile.PL' which created
> the Makefile, but complained that pod2man was not in the PATH (but, "Oh,
> yes it is!"). Nonetheless, I ran 'make' and it gave me this message:
>
> make:87: *** missing separator. Stop.
>
> So I checked out line 87 and found this line:
>
> installman1

Shouldn't this be "INSTALLMAN1DIR"? I think your MakeMaker isn't
producing the Makefile correctly. What version of Perl and
ExtUtils::MakeMaker are you using?

Run these commands:
perl --version
perl -MExtUtils::MakeMaker -e 'print "$ExtUtils::MakeMaker::VERSIONn";'

I don't think it's an issue of your tar file getting corrupted. If it
had, most likely you wouldn't be able to extract the files at all.

I'm using Perl 5.8.4, ExtUtils::MakeMaker 6.17, gmake 3.80 on FreeBSD
4.9. I tried downloading and building Getopt::Long, using the cpan
shell, and it worked fine.

Regards,
Bill K.


Posted by Mark J Fenbers on October 4, 2004, 8:46 pm
Please log in for more thread options
This is a multi-part message in MIME format.
--------------B6E0703099EB67B4B5B32ABC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Perl 5.8.0
MakeMaker 6.03
make Gnu 3.79.1
RedHat 9

Mark

Bill Karwin wrote:

> Mark J Fenbers wrote:
>
> > I've successfully installed numerous Perl modules from CPAN. (I almost
> > get the feeling that I know what I am doing.) But I downloaded the
> > latest release of Getopt::Long and ran 'perl Makefile.PL' which created
> > the Makefile, but complained that pod2man was not in the PATH (but, "Oh,
> > yes it is!"). Nonetheless, I ran 'make' and it gave me this message:
> >
> > make:87: *** missing separator. Stop.
> >
> > So I checked out line 87 and found this line:
> >
> > installman1
>
> Shouldn't this be "INSTALLMAN1DIR"? I think your MakeMaker isn't
> producing the Makefile correctly. What version of Perl and
> ExtUtils::MakeMaker are you using?
>
> Run these commands:
> perl --version
> perl -MExtUtils::MakeMaker -e 'print "$ExtUtils::MakeMaker::VERSIONn";'
>
> I don't think it's an issue of your tar file getting corrupted. If it
> had, most likely you wouldn't be able to extract the files at all.
>
> I'm using Perl 5.8.4, ExtUtils::MakeMaker 6.17, gmake 3.80 on FreeBSD
> 4.9. I tried downloading and building Getopt::Long, using the cpan
> shell, and it worked fine.
>
> Regards,
> Bill K.

--------------B6E0703099EB67B4B5B32ABC
Content-Type: text/x-vcard; charset=us-ascii;
name="Mark.Fenbers.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Mark J Fenbers
Content-Disposition: attachment;
filename="Mark.Fenbers.vcf"

begin:vcard
n:Fenbers;Mark
tel;work:937-383-0430
x-mozilla-html:TRUE
url:http://www.erh.noaa.gov/ohrfc
org:National Weather Service;Ohio River Forecast Center
adr:;;;;;;
version:2.1
email;internet:Mark.Fenbers@noaa.gov
title:Sr. HAS Meteorologist
fn:Mark J Fenbers
end:vcard

--------------B6E0703099EB67B4B5B32ABC--



Posted by Bill Karwin on October 4, 2004, 6:12 pm
Please log in for more thread options
Mark J Fenbers wrote:

> MakeMaker 6.03

This is over two years old (6.05 was released 8/27/02).
It'd be worth updating it, but I'm not sure that'll resolve the error.

How are you downloading Getopt::Long? Do you use the CPAN shell?

For instance:
perl -MCPAN -e 'install Getopt::Long'

That would probably rule out browser failures, because CPAN.pm uses
Perl's LWP module to do the download.

Regards,
Bill K.


Posted by Mark J Fenbers on October 4, 2004, 10:14 pm
Please log in for more thread options
This is a multi-part message in MIME format.
--------------AA32DBDB7988AD6EDD5CCEFD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

>
> How are you downloading Getopt::Long? Do you use the CPAN shell?
>
> For instance:
> perl -MCPAN -e 'install Getopt::Long'
>
> That would probably rule out browser failures, because CPAN.pm uses
> Perl's LWP module to do the download.

No, I originally tried an http download using the browsers, but once I
discovered that FTP-ing is an option too, I FTP'd through the firewall to
the CPAN and downloaded the zipped tar file directly to the Linux box.
Still, my results fail in the identical way. I'm certain now that the
cause of the problem is not my method of acquiring the file. File sizes
are the same locally and remotely. And also, I've been retrieving
numerous files in this way (the browser way) since 1999 and have only had
a problem with Getopt::Long... I'm not sure what this means...

Mark

--------------AA32DBDB7988AD6EDD5CCEFD
Content-Type: text/x-vcard; charset=us-ascii;
name="Mark.Fenbers.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Mark J Fenbers
Content-Disposition: attachment;
filename="Mark.Fenbers.vcf"

begin:vcard
n:Fenbers;Mark
tel;work:937-383-0430
x-mozilla-html:TRUE
url:http://www.erh.noaa.gov/ohrfc
org:National Weather Service;Ohio River Forecast Center
adr:;;;;;;
version:2.1
email;internet:Mark.Fenbers@noaa.gov
title:Sr. HAS Meteorologist
fn:Mark J Fenbers
end:vcard

--------------AA32DBDB7988AD6EDD5CCEFD--



Similar ThreadsPosted
Version? of getopt::Long October 4, 2004, 2:48 pm
Parsing function args in Getopt::Long style January 11, 2008, 4:11 pm
Mason install problems. July 26, 2004, 2:54 pm
Bot::BasicBot install problems April 18, 2006, 5:55 am
install Apache::Request problems. July 21, 2004, 8:54 pm
XML::Sax::Writer build error (long data) August 2, 2005, 6:54 am
PARI stack overflow during long Net::SFTP connection July 16, 2004, 3:20 am
Is this bug in Getopt::Std? October 20, 2006, 3:00 pm
Getopt::Simple V 1.47 July 29, 2004, 7:18 am
Getopt::Std question September 7, 2005, 9:42 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap