Re: Dynamic loading for Perl

2010-07-22 Fir de Conversatie Bram Moolenaar
James Vega wrote: On Wed, Jul 21, 2010 at 4:58 PM, Christian J. Robinson hept...@gmail.com wrote: On Wed, Jul 21, 2010 at 2:08 PM, Bram Moolenaar b...@moolenaar.net wrote: We could wait for people to test this, but on the other hand if we want to do the same for ruby/tcl/mzscheme we

Re: Dynamic loading for Perl

2010-07-22 Fir de Conversatie Luis Carvalho
Bram Moolenaar wrote: snip I suppose it will now be easy to support --enable-pythoninterp=dynamic and --enable-python3interp=dynamic We could wait for people to test this, but on the other hand if we want to do the same for ruby/tcl/mzscheme we need to do it now, next week I won't include

Re: Dynamic loading for Perl

2010-07-22 Fir de Conversatie Bram Moolenaar
Luis Carvalho wrote: Bram Moolenaar wrote: snip I suppose it will now be easy to support --enable-pythoninterp=dynamic and --enable-python3interp=dynamic We could wait for people to test this, but on the other hand if we want to do the same for ruby/tcl/mzscheme we need to do it

Re: Dynamic loading for Perl

2010-07-22 Fir de Conversatie björn
Hi, Dynamic loading of Perl does not work on Mac OS X. I did some digging around and the problem is that dlopen() doesn't find libperl.dylib. Apparently this dylib is hidden under /System/Library/Perl/lib/5.10/libperl.dylib The easy fix would be to patch configure.in to include the full path

Re: Dynamic loading for Perl

2010-07-21 Fir de Conversatie Christian J. Robinson
On Wed, Jul 21, 2010 at 2:08 PM, Bram Moolenaar b...@moolenaar.net wrote: We could wait for people to test this, but on the other hand if we want to do the same for ruby/tcl/mzscheme we need to do it now, next week I won't include patches like this. It broke compiling using Make_cyg.mak for

Re: Dynamic loading for Perl

2010-07-21 Fir de Conversatie Tony Mechelynck
, with a known environment, you could enable them. Attached patch enables dynamic loading for Perl if --enable-perlinterp=dynamic is used. I also moved the use of PERL_CFLAGS in src/Makefile so they're only used when compiling if_perl.c and if_perlsfio.c. Looks good. I tried it and it works fine for me. I

Re: Dynamic loading for Perl

2010-07-21 Fir de Conversatie James Vega
On Wed, Jul 21, 2010 at 4:58 PM, Christian J. Robinson hept...@gmail.com wrote: On Wed, Jul 21, 2010 at 2:08 PM, Bram Moolenaar b...@moolenaar.net wrote: We could wait for people to test this, but on the other hand if we want to do the same for ruby/tcl/mzscheme we need to do it now, next

Re: Dynamic loading for Perl

2010-07-21 Fir de Conversatie James Vega
to include these changes and leave them disabled by default.  For your distribution, with a known environment, you could enable them. Attached patch enables dynamic loading for Perl if --enable-perlinterp=dynamic is used.  I also moved the use of PERL_CFLAGS in src/Makefile so they're only used when

Re: Dynamic loading for Perl

2010-07-21 Fir de Conversatie Christian J. Robinson
On Wed, Jul 21, 2010 at 3:41 PM, James Vega james...@jamessan.com wrote: On Wed, Jul 21, 2010 at 4:58 PM, Christian J. Robinson hept...@gmail.com wrote: On Wed, Jul 21, 2010 at 2:08 PM, Bram Moolenaar b...@moolenaar.net wrote: We could wait for people to test this, but on the other hand if we