For the source from the download page I get this and the latest stable perl
(5.12.3), I get this:
$ ./configure --prefix=$HOME/local --enable-perlinterp=dynamic
$ make
[snip]
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread
-I/home/bkerin/local/include/gtk-2.0
-I/home/bkerin/local/lib/gtk-2.0/include
-I/home/bkerin/local/include/atk-1.0
-I/home/bkerin/local/include/cairo
-I/home/bkerin/local/include/gdk-pixbuf-2.0
-I/home/bkerin/local/include/pango-1.0
-I/home/bkerin/local/include/glib-2.0
-I/home/bkerin/local/lib/glib-2.0/include
-I/home/bkerin/local/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng12 -g -O2 -D_FORTIFY_SOURCE=1
-DDYNAMIC_PERL_DLL=\"libperl.a\" -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/home/bkerin/local/lib/perl5/5.12.3/i686-linux/CORE -o
objects/if_perl.o auto/if_perl.c
if_perl.xs:128:1: warning: "Perl_croak_nocontext" redefined
In file included from
/home/bkerin/local/lib/perl5/5.12.3/i686-linux/CORE/perl.h:954,
from ./vim.h:2154,
from if_perl.xs:16:
/home/bkerin/local/lib/perl5/5.12.3/i686-linux/CORE/embed.h:4941:1:
warning: this is the location of the previous definition
if_perl.xs:322: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
if_perl.xs:429: error: ‘dll_Perl_Gthr_key_ptr’ undeclared here
(not in a function)
make[1]: *** [objects/if_perl.o] Error 1
make[1]: Leaving directory `/home/bkerin/tmp/lb/vim73/src'
make: *** [first] Error 2
On the other hand, building with --enable-perlinterp=yes works. But then:
$ ldd src/vim | grep perl
$
So it looks like the perl interpreter is loaded dynamically in this version
anyway. So perhaps --enable-perlinterp=yes should not be an option, or else
it should mean dynamic and --enable-perlinterp=dynamic should not be an option?
Britton
--
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