delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/08/13:28:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 8 Mar 2002 10:27:11 -0800
From: "S. Cowles" <scowles AT earthlink DOT net>
X-Mailer: The Bat! (v1.53t) Personal
Reply-To: "S. Cowles" <scowles AT earthlink DOT net>
Organization: personal
X-Priority: 3 (Normal)
Message-ID: <1258996856.20020308102711@earthlink.net>
To: cygwin AT cygwin DOT com
Subject: Re: grap-1.10
In-Reply-To: <001201c1c696$acc266a0$6fc82486@medschool.dundee.ac.uk>
References: <000701c1c621$8fc8b380$997b1f3e AT leper>
<155674415217 DOT 20020308113032 AT familiehaase DOT de>
<001201c1c696$acc266a0$6fc82486 AT medschool DOT dundee DOT ac DOT uk>
MIME-Version: 1.0

yes, the fix is easy for v. 1.23 of grap.  in the file grap_lex.l, at
the end of the includes, just add the line:  #include <errno.h>

the section should then look something like:

#include <iostream>
#include <sys/param.h>
#include <set>
#include <map>
#include "grap.h"
#include "grap_data.h"
#include "grap_draw.h"
#include "y.tab.h"
#include <errno.h>

grap then passes make check with no problems.  processing the output
like so:
( cd examples ; ../grap -d ../grap.defines example.ms ; ) > example.out
groff -Tps example.out > example.ps

gives the expected, and quite nice results.  thanks very much for the
pointer to grap.

sid
scowles AT earthlink DOT net

===========================================
Friday, 08 March 2002, 03:44:58, you wrote:

>> > I downloaded
>> > http://www.lunabase.org/~faber/Vault/software/grap/grap-1.10.tar.gz
>>
>> What about the latest version I found on the grap homesite:
>> http://www.lunabase.org/~faber/Vault/software/grap/grap-1.23.tar.gz

fabdudn> Gerrit,

fabdudn> Thank you for drawing this later version to my attention. Unlike v.1.10
fabdudn> (which worked so well) this v.1.23 did not. At the "make" stage there were
fabdudn> error messages including "undefined reference to 'errno'". (I've seen this
fabdudn> before and I suspect the fix is not difficult. But v.1.10 works, or seems
fabdudn> to, so I'll stick with it for the moment.)

fabdudn> Fergus
===========================================


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019