[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Can't run with LWP && MIME/Base64.pm



William Neuhauser <willn@quando.com> writes:
}I'm just converting to 5.14r4 and the new libwww, libnet, MIME, ....  And
}can't get a simple compile going with LWP.
}
}Anyone have an idea what's wrong with the compile of this short file:
}
}use LWP::Simple;
}
}produces:
}
}# MIME/Base64.pm did not return a true value.
}File 'MM 2:Applications & Utilities:MacPerl 5.14r4:libwww-perl-5.13
}Folder:LWP:UserAgent.pm'; Line 120
}# BEGIN failed--compilation aborted.
}File 'MM 2:Applications & Utilities:MacPerl 5.14r4:libwww-perl-5.13
}Folder:LWP:UserAgent.pm'; Line 120
}# BEGIN failed--compilation aborted.
}File 'Untitled'; Line 1
}# Scalars leaked: 1
}

(Not again....  When is 5.15r4 coming out, Matthias?)

You've fixed the syntax error in :MacPerl
Ä:lib:auto:DynaLoader:dl_findfile.al, right?  You've put an extra right
brace (}) after line 97?  And you've checked to make *sure* that
:MIME:Base64.pm isn't Unix text?  This is not always easy to tell by just
opening it up with a Mac text editor, because most of them deal with Unix
text with no trouble.  Alpha, for one, will tell you what type a text file
is, and I'm told BBEdit does as well.

}I'm using the MIME64, libwww, etc. as-is without any mods.

Incidentally, if by "without mods" you mean "out of the .tar.gz from CPAN",
you'll discover that some of it just won't work.  Go to
<http://mors.gsfc.nasa.gov/pub/MacPerl/Scripts/> to get my MacPerl port of
libwww, which fixes most of the remaining issues.  In particular, the CPAN
libwww-perl doesn't deal with the Mac filesystem at all.

}When I look at "MIME/Base64.pm" it looks normal and ends with "1;" as
}expected!
}The RCS id is:
}# $Id: Base64.pm,v 2.5 1997/07/10 11:30:14 aas Exp $
}
}
}_______
}Will Neuhauser              willn@quando.com
}Chief Technical Officer, VP Development
}Quando, Inc.                Tel: 1 (503) 225-1988
}520 NW Davis Street         Fax: 1 (503) 225-1987
}Portland, OR  97209 USA
}
}
}
}***** Want to unsubscribe from this list?
}***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch


---
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693, Greenbelt, MD 20771
schinder@pjstoaster.pg.md.us



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch