On Wednesday, June 25, 2003, at 08:01 AM, muppet wrote:
On Tuesday, June 24, 2003, at 03:34 AM, slaven rezic de wrote:Can't build Glib: $ make/usr/local/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap/usr/lo cal/lib/perl5/5.8.0/ExtUtils/typemap -typemap /usr/local/dist/cpan/build/Glib-0. 24/typemap -typemap typemap GValue.xs > GValue.xsc && mv GValue.xsc GValue.c Didn't find a 'MODULE ... PACKAGE ... PREFIX' line make: *** [GValue.c] Error 25This is probably due to the installed ExtUtils::ParseXS, which installsthe standard ExtUtils/xsubpp.we've been developing Glib/Gtk2 against stock perl 5.8.0. this has nothing to do with the xsubpp patch i posted, which changes the error report format and keeps the directory path on the filename for correct #line directive output.
http://search.cpan.org/src/JHI/perl-5.8.0/lib/ExtUtils/xsubpp andhttp://search.cpan.org/src/GSAR/perl-5.6.1/lib/ExtUtils/xsubpp both appear to exit if a MODULE ... PACKAGE ... PREFIX line isn't found, though I haven't actually run the code to find out.
-Ken