Web lists-archives.com

RE: Needing the executable grap




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