Re: Dynamic loading for Perl

2010-07-25 Fir de Conversatie Bram Moolenaar
James Vega wrote: > On Sat, Jul 24, 2010 at 11:44:09PM -0400, James Vega wrote: > > On Thu, Jul 22, 2010 at 10:39:38AM -0300, Luis Carvalho wrote: > > > Bram Moolenaar wrote: > > > > > > > I suppose it will now be easy to support --enable-pythoninterp=dynamic > > > > and --enable-python3interp=d

Re: Dynamic loading for Perl

2010-07-24 Fir de Conversatie James Vega
On Sat, Jul 24, 2010 at 11:44:09PM -0400, James Vega wrote: > On Thu, Jul 22, 2010 at 10:39:38AM -0300, Luis Carvalho wrote: > > Bram Moolenaar wrote: > > > > > I suppose it will now be easy to support --enable-pythoninterp=dynamic > > > and --enable-python3interp=dynamic > > > > > > We could wai

Re: Dynamic loading for Perl

2010-07-24 Fir de Conversatie James Vega
On Thu, Jul 22, 2010 at 10:39:38AM -0300, Luis Carvalho wrote: > Bram Moolenaar wrote: > > > 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

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-22 Fir de Conversatie Bram Moolenaar
Luis Carvalho wrote: > Bram Moolenaar wrote: > > > 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

Re: Dynamic loading for Perl

2010-07-22 Fir de Conversatie Luis Carvalho
Bram Moolenaar wrote: > 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
James Vega wrote: > On Wed, Jul 21, 2010 at 4:58 PM, Christian J. Robinson > wrote: > > On Wed, Jul 21, 2010 at 2:08 PM, Bram Moolenaar 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 Christian J. Robinson
On Wed, Jul 21, 2010 at 3:41 PM, James Vega wrote: > On Wed, Jul 21, 2010 at 4:58 PM, Christian J. Robinson > wrote: >> On Wed, Jul 21, 2010 at 2:08 PM, Bram Moolenaar 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

Re: Dynamic loading for Perl

2010-07-21 Fir de Conversatie James Vega
configure argument, it's fine 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 >>>

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 wrote: > On Wed, Jul 21, 2010 at 2:08 PM, Bram Moolenaar 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 l

Re: Dynamic loading for Perl

2010-07-21 Fir de Conversatie Tony Mechelynck
, 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 had to

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 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 me. (Just to be

Dynamic loading for Perl

2010-07-21 Fir de Conversatie Bram Moolenaar
ent, 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 m