public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Fergus" <fergus@bonhard.uklinux.net>
To: <cygwin@cygwin.com>
Cc: "'Fergus'" <fergus@bonhard.uklinux.net>
Subject: RE: Needing the executable grap
Date: Mon, 14 Jan 2019 15:05:00 -0000	[thread overview]
Message-ID: <001201d4ac1a$869b2a30$93d17e90$@bonhard.uklinux.net> (raw)
In-Reply-To: <CAEhDDbDqcYN_9a4HzLT2SPhpiyQGkHr-cxw-4n_3XvjG5fY3bQ@mail.gmail.com>

>>> 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

  reply	other threads:[~2019-01-14 15:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-14  5:32 Fergus
2019-01-14  9:55 ` Csaba Raduly
2019-01-14 15:05   ` Fergus [this message]
2019-01-14 15:08     ` Marco Atzeri
2019-01-14 19:12     ` Achim Gratz
2019-01-14 13:10 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001201d4ac1a$869b2a30$93d17e90$@bonhard.uklinux.net' \
    --to=fergus@bonhard.uklinux.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).