Re: Problem installing Gtk2::Deprecated v0.04



Emmanuele Bassi said:
However, it seems that when you call the typemap file just 'typemap',
the autogenerated Makefile includes not only the correct '$(srcdir)/typemap',
but *also* a totally bogus './typemap'; when make recurses through the xs
directory, it does not find that file (quite obviously).  I think this
is totally a EU::MakeMaker bug, since I checked through
EU::Depends::add_typemaps and it's working correctely.

I didn't believe this at first, because my home machine, my office
workstation, and a lab workstation all compiled the module flawlessly.  But
then i tried it on a different machine, and saw the same failure, and
remembered that when i first started working on gtk2-perl, i grew very
frustrated that xsubpp did not generated neither correct #line directives for
xs files in subdirectories, nor useful and editor-parsing-compatible error
messages, and created a patch that fixes these issues.

http://mail.gnome.org/archives/gtk-perl-list/2003-June/msg00048.html

How does my patch fix the #line directives?  It removes the chdir() to the
same dir as the xs file.  This was deemed a little too intrusive by some
others (i admitted to it being a hack), so it didn't get picked up.

Ross later went into ExtUtils::ParseXS and fixed a bunch of code that results
in "unused variable" warnings, and submitted the #line and error fixes along
with that, and those are apparently in newer versions.

But i'd forgotten all about patching xsubpp on all of the machines i use on a
daily basis.

*sigh*

So, yeah, i was Broken and Wrong.  A new version of Gtk2::Deprecated is
forthcoming.

-- 
muppet <scott at asofyet dot org>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]