X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Tony Richardson <ar63@evansville.edu>
Subject:  Re: octave-forge dependency?
Date: Thu, 8 Dec 2005 09:01:55 +0000 (UTC)
Lines: 41
Message-ID:  <loom.20051208T095225-233@post.gmane.org>
References:  <loom.20051208T001211-158@post.gmane.org> <Pine.GSO.4.63.0512071935450.1385@slinky.cs.nyu.edu>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Igor Pechtchanski <pechtcha <at> cs.nyu.edu> writes:

> 
> On Wed, 7 Dec 2005, Tony Richardson wrote:
> 
> > I often use octave and do no plotting at all.  Octave starts and runs
> > fine if gnuplot isn't installed.  (It complains about not being able
> > to find gnuplot when the plot command is used.)  Should there really
> > be a dependency if only a subset of features requires a package?
> >
> > I'd prefer to see gnuplot removed from the octave dependency list.
> > Of course then you'd have to deal with all the posts saying that
> > the plot command in octave is broken.  So I don't know what the best
> > approach would be.  How do others feel?
> 
> Actually, a viable solution for this was already proposed by John W Eaton
> in <http://cygwin.com/ml/cygwin/2005-12/msg00283.html>.  Since octave adds
> other directories to the path before it runs, it's possible to create a
> gnuplot wrapper that uses the real gnuplot if present and exits with a
> reasonable error message otherwise.
> 
> Just to clarify, the reason I thought it was a hack was that it was an
> *octave-forge* script dealing with a *gnuplot* bug.  I don't think the
> mechanism itself is in any way hacky.
> 	Igor

I don't follow.  I'm asking for the gnuplot requirement for octave to be
dropped from setup.ini so that when I install octave all of the X11
stuff (through a gnuplot dependency) isn't installed by default.
It's not that I can't work around the problem, I can.  Perhaps a better
way to handle it, as you suggested in another message regarding tetex-bin,
is to add a comment in the README about installing cygwin/X11/gnuplot
and/or setting up Windows-native gnuplot if you want to do plotting
with octave.

Tony

I can.  The 





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

