Terrific! Does the new PDL::Graphics::Gnuplot build and test OK with the newer Alien::Gnuplot installed?
On Oct 13, 2013, at 10:28 AM, Jürgen Mück <[email protected]> wrote: > > Craig DeForest schrieb: >> 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 >> >> > Works now. The first trials showed a "perl crashed" window, but closing it > returned the cursor to the shell without any more warnings. Now it takes > about 1-2s and returns the cursor finally without any warning or error > message: > > E:\temp\Alien-Gnuplot-master>perl makefile.pl > Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 > Loading Alien::Gnuplot v1.002 > > E:\temp\Alien-Gnuplot-master> > > It now creates > - makefile > - MYMETA.yml > - gnuplot_test_xxxx (stdout log as far as I can see) > (all attached). > > dmake > dmake test ('no tests defined ...') > dmake install > > work without problems. > > I could repeat testing the "perl crashes" phenomenon on a fresh PC tomorrow > if required. > > Jurgen > > <output_from_perl_makefile.pl.zip>
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
