delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/01/14/10:05:22

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:cc:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=AUVVKIIRTmR/vCbOgm5pmDHG7VF1u/ql927o/QnIi+m
9HLYQiJM1b3pm/KJXkBSPjOaO/KVOgUltXMhkcppr198aTtCLcd7Gf7zY4U5IwoT
R5x8J9Oa0cRoZqUmwcmAg2JtfWc0mqRw+dtAieCRTTNI9W0B13tBoQcn1Cen90Kc
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:cc:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
s=default; bh=zQJJ1UkWK3p2fG9sJJm/KT2ovXE=; b=b3GFKclcxkJzdxbYn
mQQSbCM6V0C7yOthnAC9h88PS/OPkgZ4x+qg9w7JS41xkNhS331I+ODUDi+SF+sX
adTiwpt5xVBolVd81dOoPs5IpLUddeIq9dxIDOF45v3ZrpIZYky4c8/TxgIZsWpU
h04BLa26xHdgk9QuY7LW8IlpjA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=prompt, Prompt, H*UA:14.0, beautifully
X-HELO: know-smtprelay-omc-4.server.virginmedia.net
From: "Fergus" <fergus AT bonhard DOT uklinux DOT net>
To: <cygwin AT cygwin DOT com>
Cc: "'Fergus'" <fergus AT bonhard DOT uklinux DOT net>
References: <000001d4abca$83263610$8972a230$@bonhard.uklinux.net> <CAEhDDbDqcYN_9a4HzLT2SPhpiyQGkHr-cxw-4n_3XvjG5fY3bQ AT mail DOT gmail DOT com>
In-Reply-To: <CAEhDDbDqcYN_9a4HzLT2SPhpiyQGkHr-cxw-4n_3XvjG5fY3bQ@mail.gmail.com>
Subject: RE: Needing the executable grap
Date: Mon, 14 Jan 2019 15:05:02 -0000
Message-ID: <001201d4ac1a$869b2a30$93d17e90$@bonhard.uklinux.net>
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x0EF5LGR023752

>>> I still have grap-1.42.tar.gz and can get the current grap-1.45.tar.gz from
>>> https://www.lunabase.org/~faber/Vault/software/grap/grap-1.45.tar.gz
>>> But I am unable to compile either under the current Cygwin.x86 or under
>>> Cygwin.x86_64.

>> What did you try and what was the error message?

> What errors do you get?
> Pretty often you're just missing required devel packages.

Csaba, Corinna -
Thank you so much for responding.
I use, at the Command Prompt,
	setup -P .., bison,flex,gcc-g++,yacc, .. [I think these are the relevant ones]
to provide a beautifully compact and yet (up to now) fully functional Cygwin resource.
Then, in Cygwin
	./configure
	make
I mis-reported.
This sequence works perfectly well in grap-1.42 to create grap.exe but in grap-1.45, after a successful ./configure step, make yields
	make  all-am
	make[1]: Entering directory '/d/mole/grap-1.45'
	g++ -DHAVE_CONFIG_H -I.   -std=c++0x -Wall -std=c++0x -g -O2 -std=c++0x -MT grap.o -MD -MP -MF .deps/grap.Tpo -c -o grap.o grap.cc
	grap.yy: In function 'int yyparse()':
	grap.yy:582:12: error: 'strptime' was not declared in this scope
        if (strptime($5->c_str(), $3->c_str(), &tm) != 0) {
            ^~~~~~~~
grap.yy:582:12: note: suggested alternative: 'strftime'
        if (strptime($5->c_str(), $3->c_str(), &tm) != 0) {
            ^~~~~~~~
            strftime
	make[1]: *** [Makefile:496: grap.o] Error 1
	make[1]: Leaving directory '/d/mole/grap-1.45'
	make: *** [Makefile:380: all] Error 2
I guess you are right that I am missing a package.
Thank you.
Fergus 


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


- Raw text -


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