public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Needing the executable grap
@ 2019-01-14  5:32 Fergus
  2019-01-14  9:55 ` Csaba Raduly
  2019-01-14 13:10 ` Corinna Vinschen
  0 siblings, 2 replies; 6+ messages in thread
From: Fergus @ 2019-01-14  5:32 UTC (permalink / raw)
  To: cygwin; +Cc: 'Fergus'

Sadly the executable grap is not part of the Cygwin provision.
I use a version derived from the same place as the current
https://www.lunabase.org/~faber/Vault/software/grap/grap-1.45.tar.gz
but actually it is v.1.42 from Goodness knows when and compiled under
CYGWIN_NT-6.1 1.5.25(0.156/4/2).
It works just fine under W7 and W10 and in the past under XP. It compiled,
then, perfectly easily.
I still have grap-1.42.tar.gz and can get the current grap-1.45.tar.gz from
the location above.
But I am unable to compile either under the current Cygwin.x86 or under
Cygwin.x86_64.
What / where / how do other users requiring grap (in both x86 and x86_64
environments) get it / build it?
Can you provide a HowTo? Thank you!
Fergus
PS I find the requirements for, and utilisation of, ghostscript / gsview /
gv incredibly opaque, and suspect I need the same hand-holding there; but
I'll try to crack the requirement for grap first.  



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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Needing the executable grap
  2019-01-14  5:32 Needing the executable grap Fergus
@ 2019-01-14  9:55 ` Csaba Raduly
  2019-01-14 15:05   ` Fergus
  2019-01-14 13:10 ` Corinna Vinschen
  1 sibling, 1 reply; 6+ messages in thread
From: Csaba Raduly @ 2019-01-14  9:55 UTC (permalink / raw)
  To: cygwin list; +Cc: Fergus

Hi Fergus,

On Mon, Jan 14, 2019 at 6:32 AM Fergus <fergus@bonhard.uklinux.net> wrote:

> Sadly the executable grap is not part of the Cygwin provision.
> I use a version derived from the same place as the current
> https://www.lunabase.org/~faber/Vault/software/grap/grap-1.45.tar.gz
> but actually it is v.1.42 from Goodness knows when and compiled under
> CYGWIN_NT-6.1 1.5.25(0.156/4/2).
> It works just fine under W7 and W10 and in the past under XP. It compiled,
> then, perfectly easily.
> I still have grap-1.42.tar.gz and can get the current grap-1.45.tar.gz from
> the location above.
> 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?


Csaba

-- 
You can get very substantial performance improvements
by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
So if you're looking for a completely portable, 100% standards-conformat way
to get the wrong information: this is what you want. - Scott Meyers
(C++TDaWYK)

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Needing the executable grap
  2019-01-14  5:32 Needing the executable grap Fergus
  2019-01-14  9:55 ` Csaba Raduly
@ 2019-01-14 13:10 ` Corinna Vinschen
  1 sibling, 0 replies; 6+ messages in thread
From: Corinna Vinschen @ 2019-01-14 13:10 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

On Jan 14 05:32, Fergus wrote:
> Sadly the executable grap is not part of the Cygwin provision.

But you can easily make it so.  Just volunteer as package maintainer:

https://cygwin.com/packaging-contributors-guide.html

> I still have grap-1.42.tar.gz and can get the current grap-1.45.tar.gz from
> the location above.
> But I am unable to compile either under the current Cygwin.x86 or under
> Cygwin.x86_64.

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


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Needing the executable grap
  2019-01-14  9:55 ` Csaba Raduly
@ 2019-01-14 15:05   ` Fergus
  2019-01-14 15:08     ` Marco Atzeri
  2019-01-14 19:12     ` Achim Gratz
  0 siblings, 2 replies; 6+ messages in thread
From: Fergus @ 2019-01-14 15:05 UTC (permalink / raw)
  To: cygwin; +Cc: 'Fergus'

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Needing the executable grap
  2019-01-14 15:05   ` Fergus
@ 2019-01-14 15:08     ` Marco Atzeri
  2019-01-14 19:12     ` Achim Gratz
  1 sibling, 0 replies; 6+ messages in thread
From: Marco Atzeri @ 2019-01-14 15:08 UTC (permalink / raw)
  To: cygwin

Am 14.01.2019 um 07:05 schrieb Fergus:
>>>> 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
> 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.

try to remove the "-std=c++0x"

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

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Needing the executable grap
  2019-01-14 15:05   ` Fergus
  2019-01-14 15:08     ` Marco Atzeri
@ 2019-01-14 19:12     ` Achim Gratz
  1 sibling, 0 replies; 6+ messages in thread
From: Achim Gratz @ 2019-01-14 19:12 UTC (permalink / raw)
  To: cygwin

Fergus writes:
> 	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

It is almost always a mistake to request strict standards coherence as
it will make _all_ functions not explicitly in the ISO standard
invisible.  Try the GNU variant of that flag instead.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-01-14 19:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-14  5:32 Needing the executable grap Fergus
2019-01-14  9:55 ` Csaba Raduly
2019-01-14 15:05   ` Fergus
2019-01-14 15:08     ` Marco Atzeri
2019-01-14 19:12     ` Achim Gratz
2019-01-14 13:10 ` Corinna Vinschen

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