drzowie / alien-gnuplot Goto Github PK
View Code? Open in Web Editor NEWAlien::Gnuplot - a perl container for acquiring the external Gnuplot library
Alien::Gnuplot - a perl container for acquiring the external Gnuplot library
Are you open to transferring this repo to either me or PDLPorters, or giving me collaborator rights? :-) I see I already have CPAN permissions.
Please see PDLPorters/PDL-Graphics-Gnuplot#35
This is the patch for that.
--- lib\Alien\Gnuplot.pm.org Tue Oct 29 08:04:00 2013
+++ lib\Alien\Gnuplot.pm Tue Nov 05 19:55:36 2013
@@ -203,7 +203,7 @@
# The parent process gives the daughter 2 seconds to report progress, then
# kills it dead.
my($pid);
- my ($undef, $file) = tempfile('gnuplot_test_XXXX');
+ my (undef, $file) = tempfile('gnuplot_test_XXXX');
# Create command file
open FOO, ">${file}_gzinta";
@@ -275,6 +275,7 @@
# Read what gnuplot had to say, and clean up our mess...
open FOO, "<$file";
my @lines = <FOO>;
+ close FOO;
unlink $file;
unlink $file."_gzinta";
See https://chocolatey.org/packages/gnuplot.
I have tried this approach and it does work (Windows 10, Strawberry Perl).
To get the new value for %PATH%
after installing, one can do:
my $path_info = `RefreshEnv & path';
Lab::Measurement has Alien::Gnuplot in the dependencies somewhere, but our AppVeyor CI fails as follows:
Entering Alien-Gnuplot-1.040
Checking configure dependencies from META.json
Checking if you have Alien::Build::MM 0.32 ... Yes (2.15)
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.44)
Checking if you have Alien::Build 1.19 ... Yes (2.15)
Running Makefile.PL
Configuring Alien-Gnuplot-1.040 ... Can't locate Alien/Build/Plugin/Build/Copy.pm in @INC (you may need to install the Alien::Build::Plugin::Build::Copy module) (@INC contains: C:/strawberry/perl/site/lib/MSWin32-x64-multi-thread C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at C:/strawberry/perl/vendor/lib/Alien/Build.pm line 1112.
! Configure failed for Alien-Gnuplot-1.040. See C:\Users\appveyor\.cpanm\work\1678378043.1904\build.log for details.
! Installing the dependencies failed: Module 'Alien::Gnuplot' is not installed
! Bailing out the installation for PDL-Graphics-Gnuplot-2.023.
N/A
Turns out, Alien::Build::Plugin::Build::Copy was introduced in Alien::Build 2.19, so that should be the minimum requested version!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.