tall_man has asked for the wisdom of the Perl Monks concerning the following question:
I frequently run into errors like the one below when I try to install old CPAN modules with C extensions.
I have to go into the code and provide definitions by hand such as:IO.xs: In function `XS_Tk__IO_read': IO.xs:258: `sv_undef' undeclared (first use in this function)
#define sv_undef PL_sv_undef
I've seen a portability header file called ppport.h included with a few CPAN modules such as XML::LibXML, but most older modules don't use it.
Is there something I could set up (in the CPAN module config file or elsewhere) to solve this problem in an easier way? Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Old CPAN modules with sv_undef
by Fletch (Bishop) on Jan 15, 2003 at 17:39 UTC | |
by tall_man (Parson) on Jan 15, 2003 at 18:03 UTC | |
|
Re: Old CPAN modules with sv_undef
by tall_man (Parson) on Jan 15, 2003 at 21:15 UTC | |
by htoug (Deacon) on Jan 16, 2003 at 08:02 UTC |