octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: popen2 example gives no output


From: Paul Kienzle
Subject: Re: popen2 example gives no output
Date: Fri, 23 Sep 2005 21:24:54 -0400


On Sep 22, 2005, at 11:46 PM, John W. Eaton wrote:

On 22-Sep-2005, Bill Denney wrote:

| I think that this is what you're asking for:
|
| === Begin Script
| #!/usr/bin/perl
|
| foreach my $key (keys(%!)) {
|      print "$key\n";
| }
| === End Script

Excellent. This makes it fairly simple to generate the list that I need.

| Also, I thought that Perl was already a build dependency for the
| lsode_options (and *_options) code, so adding this shouldn't really be an
| issue.

For the *_options files, we can distribute the results because the
output files are not system dependent.  So the dependency is really a
developer dependency (similar to flex, bison, and gperf).  But now we
can't distribute the output from running perl to generate the file
because it is system dependent.  So everyone who builds Octave needs
perl (for full functionality).  So in the case of perl not being
available, we will only have the POSIX error codes (assuming they are
defined).

I wonder if there is something similar in python? Putting a dependency on python and matplotlib instead of perl and gnuplot I think would be a win. This isn't feasible yet since matplotlib doesn't support surface plots.

- Paul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]