On Sun, January 29, 2012 9:54 am, Benjamin Hawkes-Lewis wrote: > I'm attempting to obtain Vim 7.3+ packages on Debian Stable. > > (Debian Stable is the target platform for the software I'm working on, > I want close integration between the system and Vim rather than just > working over netrw, and I'd like to be able to share some working > packages with fellow developers.) > > Vim 7.3+ hasn't been backported to Stable and an experiment with > pinning Unstable packages proved less than successful, so I'm now > trying to build packages from source, following the instructions at: > > http://vim.wikia.com/wiki/Building_Vim > > I pulled in dpkg-dev from Debian Stable Backports (to get > /usr/share/dpkg/default.mk) in order to run debian/rules update-orig. > > I pulled in libtinfo-dev from Debian Unstable, as its version number > (5.9-4) looked like a pair with libtinfo5 (which is on Stable), to > meet the build dependencies. > > However, when I run dpkg-buildpackage -i -I it fails when building > vim-gtk. Short extract (full dump of STDOUT and STDERR attached): > > /usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp -prototypes -typemap \ > /usr/share/perl/5.10/ExtUtils/typemap if_perl.xs >> > auto/if_perl.c > Undefined subroutine &ExtUtils::ParseXS::errors called at > /usr/share/perl/5.10/ExtUtils/xsubpp line 41. > make[1]: *** [auto/if_perl.c] Error 255 > make[1]: Leaving directory `/root/Projects/vim/src/vim-gtk' > make: *** [build-stamp-vim-gtk] Error 2 > rm configure-stamp-vim-tiny configure-stamp-vim-gtk > dpkg-buildpackage: error: debian/rules build gave error exit status 2 > > Oddly, /usr/share/perl/5.10/ExtUtils/ParseXS.pm does contain a sub > errors { $errors } and even this small Perl snippet causes the same > "Undefined subroutine" error: > > use ExtUtils::ParseXS; > ExtUtils::ParseXS::errors(); > > Does anyone have any hints/ideas on how I could approach getting this to > work?
Could it be, you have an old CPAN package of ExtUtils::ParseXS installed, which does not contain the errors() subroutine but which is pulled into your perl program? regards, Christian -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
