Re: Error running "make" on AIX 5.3
Harry Jamieson <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.general |
|---|---|
| Message-ID | <[email protected]> |
On 8/14/2012 6:13 AM, Tim Bunce wrote: > The =encoding directive is a standard part of perl pod > http://perldoc.perl.org/5.8.9/perlpod.html#Formatting-Codes > > I don't know why it's causing a problem for you. It works for > most people with perl 5.8.8. > http://matrix.cpantesters.org/?dist=DBI%201.622;reports=1;perl=5.8.8 > > The quick fix is to just delete the =encoding line. > > Tim. > > > On Mon, Aug 13, 2012 at 10:15:21PM -0400, Martin Gainty wrote: >> Looks like a comment >> http://fossies.org/dox/DBI-1.622/Gofer_8pm_source.html >> >> what happens if you wrap the comment in a comment block? >> /* =encoding ISO8859-1 */ >> >>> Date: Mon, 13 Aug 2012 13:44:29 -0600 >>> From: [email protected] >>> To: [email protected] >>> Subject: Error running "make" on AIX 5.3 >>> >>> I have been unable to install DBI on our AIX 5.3 using either CPAN ("out >>> of memory") or the "perl Makefile.PL" method. I've read the entire >>> thread started by Don Walters on this subject begun on 3 Aug 2012, and >>> it looks like his problem boiled down to his cc_r being linked to gcc. >>> Mine is linked to xlc, as it should be. My perl is 5.8.8. The results >>> from my Makefile.PL run are in the attached file "makefile.tst". They >>> look normal to me. The installation fails during "make", which dies >>> with the error "lib/DBD/Gofer.pm:841: Unknown command paragraph >>> "=encoding ISO8859-1"" > Thank you both for your responses. I apologize for being a little slow in getting back to you, but I only work Monday, Wednesday, and Friday (I'm semi-retired). After writing my post to you, I tried commenting the encoding line out by simply removing the "=" sign. The "make" then ran fine but then I got a slew of errors from the "make test". I then did some research and found that the encoding line should read "=encoding ISO-8859-1", with a "-" after the "ISO", according to http://www.w3.org/TR/html4/charset.html#h-5.2.1 I changed the line to that, but still got my "Unknown command paragraph" error. If this line is unnecessary, then I'll comment it out and ask you to help me to determine why I'm getting so many errors. I *do* have xcl as my compiler, and cc_r is linked to it. Thanks for all of your help so far. Harry Jamieson