Is AlgParser.pm compatible with OSX?

Is AlgParser.pm compatible with OSX?

by Sam Mudle -
Number of replies: 6

I'm running MacOSX.  It has perl 5.8.1.  MacOSX has perl installed by default.

I ran the the algebradebug.php test.  The first stage text translation gives me:

No text output available

So I figure that perl isn't running correctly.

when I run whereis perl, I get /usr/bin/perl

when I run perl algebra2tex.pl x/2

I get

Can't locate HTML/Entities.pm in @INC at AlgParser.pm line 11.
BEGIN failed--compilation aborted at AlgParser.pm line 11.

Suggestions?  Is AlgParser.pm incompatible with OSX?

Average of ratings: -
In reply to Sam Mudle

Re: Is AlgParser.pm compatible with OSX?

by Zbigniew Fiedorowicz -

Your Perl is missing one of the standard html libraries.  Download it and install it from the CPAN Perl archive. (Google for Perl and CPAN for further information.)

Average of ratings: Useful (1)
In reply to Zbigniew Fiedorowicz

Re: Is AlgParser.pm compatible with OSX?

by Sam Mudle -
Ok is this the one I need?

http://cpan.uwinnipeg.ca/dist/HTML-Entities-Numbered

I'm not sure.

In reply to Sam Mudle

Re: Is AlgParser.pm compatible with OSX?

by Sam Mudle -
In reply to Sam Mudle

Re: Is AlgParser.pm compatible with OSX?

by Sam Mudle -
Ok, here's what I know.

Perl is not quite set up on Mac.  It's got a handy CPAN installer but only if you install the 1.5GB developer tools.

This is a site that explains it all.

http://softwaregarden.com/products/servertest/macperlsetup.html


In reply to Sam Mudle

Re: Is AlgParser.pm compatible with OSX?

by Sam Mudle -
Yes,

it works perfectly.

Specifically you need:

CPAN> install HTML::Entities

is the command that you need at the end of the install.
In reply to Zbigniew Fiedorowicz

Odp: Re: Is AlgParser.pm compatible with OSX?

by Łukasz Sanokowski -
I use debian, I had problem: tex filter was working, and algebra filter was not working. I found that the problem is in lack of Perl libraries mentioned above in Mr Zbigniew post. Solving this problem was made in installing one package with command:

apt-get install libhtml-parser-perl

And algebra filter now works.

Regards
Average of ratings: Useful (1)