Murry,

I (and others) have had similar difficulties with the j/gnuplot setup.

This comment from addons/ide/jhs/gnuplot.ijs rather understates the issue:

NB. set EXE   as path to gnuplot binary
NB. set JSDIR as path to gnuplot javascript scripts
NB. hardwired OS assumptions that may need tweaking

I had to change the path values here and I suspect that anyone who wants to use 
gnuplot will have to track down where gnuplot and the canvastext.js script are 
stored on their particular system and update addons/ide/jhs/gnuplot.ijs.

Good luck,
David

On 2/15/2012 23:38, Murray Eisenberg wrote:
> I created a symlink in /usr/local/bin for gnuplot to
> /opt/local/bin/gnuplot. Now I don't get the same error as before when
> loading ~addons/ide/jhs/gnuplot.ijs.
>
> But now I get the error:
>
>     /usr/local/share/gnuplot/4.4/js/canvastext.js not found
>
> I'm confused here, obviously.
>
> On 2/15/12 11:00 PM, general-requ...@jsoftware.com wrote:
>> Date: Thu, 16 Feb 2012 10:18:02 +0800 From: bill lam
>> <bbill....@gmail.com>  Subject: Re: [Jgeneral] gnuplot binary location on
>> Mac OS X To: general@jsoftware.com Message-ID:
>> <20120216021801.GC2804@debian.b2j>  Content-Type: text/plain;
>> charset=utf-8
>   >
>> I assume you meant run gnuplot under JHS. JHS includes its
>> own support for gnuplot, the file should be ~addons/ide/jhs/gnuplot.ijs
>> Perhaps you want to symlink the path so that you will not need to edit
>> again after the next jhs update.
>   >
>    ???, 15 ??? 2012, Murray Eisenberg wrote:
>>
>>>>   I'm trying to use the J gnuplot package under jhs on Mac OS X 10.7
>>>>   (Lion). Trying to load the package gives error:
>>>>
>>>>      /usr/local/bin/gnuplot not found
>>>>
>>>>   In fact, that's not the path to a gnuplot binary. Using the OS X command
>>>>   line, I found the binary:
>>>>
>>>>      /opt/local/bin/gnuplot
>>>>
>>>>   What ijs script needs to be edited to fix this? (I found no gnuplot file
>>>>   in ~/addons/graphics, and jfif failed to find any file containing
>>>>   'gnuplot'.)
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to