[LON-CAPA-dev] Perl Module notes

Matthew Brian Hall lon-capa-dev@mail.lon-capa.org
Wed, 11 Dec 2002 12:20:39 -0500 (EST)


Hi.

I just ran into this problem and found the solution.  I thought I'd pass
it along because others (Scott & Guy) are likely to run into it.

If, when compiling a perl module you get the error:

`sv_undef' undeclared

You need to re-make the makefile with a new parameter:

perl Makefile.PL POLLUTE=1

The reason this is needed is:

> 5.005_53 and later releases do not export unadorned
> global symbols anymore.
(http://igloo.its.unimelb.edu.au/Webmail/tips/msg00543.html)
--
------------------------------------------------------------------
Matthew Hall           LON-CAPA developer         hallmat3@msu.edu
123 North Kedzie Hall                    Michigan State University
------------------------------------------------------------------