On Oct 13, 2013, at 4:24 AM, Jürgen Mück <[email protected]> wrote:
> maybe I'm old fashioned, but I didn't use Alien::Gnuplot up to now (working > with P::G::G 1.5). Old fashioned or not, P::G::G didn't need A::G up until this latest version -- I'm trying to migrate because it regularizes access to the external library. Hmmm... > > During perl Makefile.pl of Alien::Gnuplot you list below, I now found: > > E:\temp\Alien-Gnuplot-20131011>perl makefile.pl > Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 > Couldn't fork! at ./lib/Alien/Gnuplot.pm line 184. > Gnuplot seems to not exist on your system. Shall I try to install it? [Y/n]> > n > > I'm on Windows 7 with ActivePerl v5.14.2 built for MSWin32-x64-multi-thread. > I could repeat the tests tomorrow with Strawberry Perl 5.16. > > Naturally, I have no experience with fork()ing on Windows :-), so please > guide me if I could do some debugging for you. At first glance that looked like a very strange problem -- being unable to fork a new process. But it could be that fork() on Microsoft Windows can return a negative PID. I had that set up with a UNIX-style check (fork() returns -1 on failure), but if Microsoft Windows is returning a valid negative PID that would throw off the logic. Anyway, I changed the fork logic to reflect that and pushed a new version of AG up to github -- would you mind trying again? Thanks, Craig _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
