Re: grap, anybody?
Am 07.01.2020 um 23:10 schrieb Fergus Daly: I'm just not up to it, but given the trivial nature of the single required patch, is there anybody out there who could take this on for the Cygwin provision? (There must be 00s of users who need it? I'm truly surprised that grap, or rather its lack, hasn't had a much higher historical profile in this forum.) Does it matter that the source files https://www.lunabase.org/~faber/Vault/software/grap/grap-1.45.tar.gz are "owned" by somebody else? (I imagine it does. Just asking.) 1) This is not a forum, but a mailing list. 2) Where is the sorce file is irrilevant. The LICENSE matters, but as the package is in Debian I assume it is fine. 3) about making a package "Somebody Has To Do It™. Are you volunteering? " https://cygwin.com/acronyms/#SHTDI All maintainers are volounteers. They build packages that they care. It seems grap has not passed the minimal threshold for anyone to volounteer for it. Feel free to offer yourself https://cygwin.com/packaging-contributors-guide.html Regards Marco -- 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
RE: grap, anybody?
>> Try following patch. --- configure.ac.orig 2014-08-31 00:33:45.0 +0900 +++ configure.ac2020-01-07 08:43:59.559103700 +0900 @@ -45,10 +45,10 @@ AC_MSG_CHECKING(if ${CXX} supports -std=c++0x) old_cxxflags="$CXXFLAGS" old_cppflags="$CPPFLAGS" -CXXFLAGS="$CXXFLAGS -std=c++0x" -CPPFLAGS="$CPPFLAGS -std=c++0x" +CXXFLAGS="$CXXFLAGS -D_XOPEN_SOURCE=700" +CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=700" AC_TRY_COMPILE([], [], [ - CX0FLAGS="-std=c++0x" + CX0FLAGS="" AC_MSG_RESULT(yes) ], [ CX0FLAGS="" > Thank you! This patch enabled compilation of the grap-1.45 executable for > 32-bit and 64-bit Cygwin respectively. I'm just not up to it, but given the trivial nature of the single required patch, is there anybody out there who could take this on for the Cygwin provision? (There must be 00s of users who need it? I'm truly surprised that grap, or rather its lack, hasn't had a much higher historical profile in this forum.) Does it matter that the source files https://www.lunabase.org/~faber/Vault/software/grap/grap-1.45.tar.gz are "owned" by somebody else? (I imagine it does. Just asking.) -- 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
Re: grap, anybody?
>> Try following patch. --- configure.ac.orig 2014-08-31 00:33:45.0 +0900 +++ configure.ac2020-01-07 08:43:59.559103700 +0900 @@ -45,10 +45,10 @@ AC_MSG_CHECKING(if ${CXX} supports -std=c++0x) old_cxxflags="$CXXFLAGS" old_cppflags="$CPPFLAGS" -CXXFLAGS="$CXXFLAGS -std=c++0x" -CPPFLAGS="$CPPFLAGS -std=c++0x" +CXXFLAGS="$CXXFLAGS -D_XOPEN_SOURCE=700" +CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=700" AC_TRY_COMPILE([], [], [ - CX0FLAGS="-std=c++0x" + CX0FLAGS="" AC_MSG_RESULT(yes) ], [ CX0FLAGS="" Thank you! This patch enabled compilation of the grap-1.45 executable for 32-bit and 64-bit Cygwin respectively. 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
Re: grap, anybody?
On Mon, 6 Jan 2020 16:39:43 -0500 "bonh...@uklinux.net" wrote: > I have a version of grap, being > grap 1.42 compiled under CYGWIN_NT-6.1 1.5.25(0.156/4/2) > compiled (guessing) more than a decade ago. It still works, which is a good > thing, because if I try to compile the current version > https://www.lunabase.org/~faber/Vault/software/grap/grap-1.45.tar.gz > with the current Cygwin provision CYGWIN_NT-10.0-WOW 3.1.2(0.340/5/3) the > process fails at make, after a successful ./configure. > However, the executable I have does NOT work under the 64-bit version of > Cygwin. > Q1 Can anybody provide a fix to compile grap 1.45 for Cygwin32? > Q2 Ditto Cygwin64 (or _any_ version of grap that works for Cygwin64)? > Q3 Failing any hints or pointers for compilation (preferred) can anybody > please provide a pointer to a grap executable that works for Cygwin64? Try following patch. --- configure.ac.orig 2014-08-31 00:33:45.0 +0900 +++ configure.ac2020-01-07 08:43:59.559103700 +0900 @@ -45,10 +45,10 @@ AC_MSG_CHECKING(if ${CXX} supports -std=c++0x) old_cxxflags="$CXXFLAGS" old_cppflags="$CPPFLAGS" -CXXFLAGS="$CXXFLAGS -std=c++0x" -CPPFLAGS="$CPPFLAGS -std=c++0x" +CXXFLAGS="$CXXFLAGS -D_XOPEN_SOURCE=700" +CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=700" AC_TRY_COMPILE([], [], [ - CX0FLAGS="-std=c++0x" + CX0FLAGS="" AC_MSG_RESULT(yes) ], [ CX0FLAGS="" -- Takashi Yano -- 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
Re: grap, anybody?
On 2020-01-06 14:39, bonh...@uklinux.net wrote: > I have a version of grap, being > grap 1.42 compiled under CYGWIN_NT-6.1 1.5.25(0.156/4/2) > compiled (guessing) more than a decade ago. It still works, which is a good > thing, because if I try to compile the current version > https://www.lunabase.org/~faber/Vault/software/grap/grap-1.45.tar.gz > with the current Cygwin provision CYGWIN_NT-10.0-WOW 3.1.2(0.340/5/3) the > process fails at make, after a successful ./configure. > However, the executable I have does NOT work under the 64-bit version of > Cygwin. > Q1 Can anybody provide a fix to compile grap 1.45 for Cygwin32? > Q2 Ditto Cygwin64 (or _any_ version of grap that works for Cygwin64)? > Q3 Failing any hints or pointers for compilation (preferred) can anybody > please provide a pointer to a grap executable that works for Cygwin64? Using basic grap.cygport variable definitions, issues are: $ cygport grap.cygport download all ... configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands bison -y -d grap.yy && rm -f y.tab.c bison: grap.yy: cannot open: No such file or directory make: *** [Makefile:995: y.tab.h] Error 1 *** ERROR: make failed fudged by: $ cd grap-1.45-1.x86_64/build/ $ llgo grap.yy lrwxrwxrwx 1 40 Jan 14 2019 grap.yy -> grap-1.45-1.x86_64/src/grap-1.45/grap.yy $ ln -fs ../src/grap-1.45/grap.yy . './grap.yy' -> '../src/grap-1.45/grap.yy' $ llgo grap.yy lrwxrwxrwx 1 24 Jan 6 20:55 grap.yy -> ../src/grap-1.45/grap.yy $ cd ../../ then: $ cygport grap.cygport compile ... make[1]: *** No rule to make target 'grap*.defines', needed by 'all-am'. Stop. make[1]: *** Waiting for unfinished jobs mv -f .deps/grap_draw.Tpo .deps/grap_draw.Po mv -f .deps/grap_parse.Tpo .deps/grap_parse.Po mv -f .deps/grap_pic.Tpo .deps/grap_pic.Po mv -f .deps/grap_tokenizer.Tpo .deps/grap_tokenizer.Po make[1]: Leaving directory '.../grap-1.45-1.x86_64/build' make: *** [Makefile:381: all] Error 2 *** ERROR: make failed because: $ cd grap-1.45-1.x86_64/src/grap-1.45/ $ fgrep 'dist_defines_DATA = ' Makefile.{am,in} Makefile.am:dist_defines_DATA = grap*.defines Makefile.in:dist_defines_DATA = grap*.defines fudged by: $ cd grap-1.45-1.x86_64/build/ $ ln -s ../src/grap-1.45/*.defines . './grap.defines' -> '../src/grap-1.45/grap.defines' './grap.tex.defines' -> '../src/grap-1.45/grap.tex.defines' retry: $ cygport grap.cygport compile ... make[1]: *** No rule to make target 'examples/*.d', needed by 'all-am'. Stop. make[1]: *** Waiting for unfinished jobs .../grap-1.45-1.x86_64/src/grap-1.45/grap_lex.ll: In function ‘int yylex()’: .../grap-1.45-1.x86_64/src/grap-1.45/grap_lex.ll:201:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( unsigned i = 0; i < yyleng; i++ ) ~~^~~~ 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(), ) != 0) { ^~~~ grap.yy:582:12: note: suggested alternative: ‘strftime’ if (strptime($5->c_str(), $3->c_str(), ) != 0) { ^~~~ strftime .../grap-1.45-1.x86_64/src/grap-1.45/grap_lex.ll:725:12: error: ‘strdup’ was not declared in this scope char *c = strdup(yytext); ^~ .../grap-1.45-1.x86_64/src/grap-1.45/grap_lex.ll:725:12: note: suggested alternative: ‘strcmp’ char *c = strdup(yytext); ^~ strcmp grap_lex.cc: In function ‘void yy_init_buffer(YY_BUFFER_STATE, FILE*)’: grap_lex.cc:3723:48: error: ‘fileno’ was not declared in this scope ^ grap_lex.cc:3723:48: note: suggested alternative: ‘file’ ^ file make[1]: *** [Makefile:497: grap.o] Error 1 make[1]: *** [Makefile:497: grap_lex.o] Error 1 make[1]: Leaving directory '.../grap-1.45-1.x86_64/build' make: *** [Makefile:381: all] Error 2 *** ERROR: make failed patched with: --- grap-1.45-1.x86_64/origsrc/grap-1.45/grap.yy2014-08-24 16:58:06.0 -0600 +++ grap-1.45-1.x86_64/src/grap-1.45/grap.yy2020-01-06 22:38:47.338711700 -0700 @@ -10,6 +10,7 @@ #include #include #include +#include #ifdef STDC_HEADERS #include #else --- grap-1.45-1.x86_64/origsrc/grap-1.45/grap_lex.ll2014-08-24 16:55:34.0 -0600 +++ grap-1.45-1.x86_64/src/grap-1.45/grap_lex.ll2020-01-06 22:42:17.566551300 -0700 @@ -20,6 +20,8 @@ extern "C" { #include #include #include +#include +#include #include "grap.h" #include "grap_data.h" #include "grap_draw.h" gives: $ cygport grap.cygport compile ... make[1]: *** No rule to make target 'examples/*.d', needed by 'all-am'. Stop. make[1]: *** Waiting for unfinished jobs make[1]:
grap, anybody?
I have a version of grap, being grap 1.42 compiled under CYGWIN_NT-6.1 1.5.25(0.156/4/2) compiled (guessing) more than a decade ago. It still works, which is a good thing, because if I try to compile the current version https://www.lunabase.org/~faber/Vault/software/grap/grap-1.45.tar.gz with the current Cygwin provision CYGWIN_NT-10.0-WOW 3.1.2(0.340/5/3) the process fails at make, after a successful ./configure. However, the executable I have does NOT work under the 64-bit version of Cygwin. Q1 Can anybody provide a fix to compile grap 1.45 for Cygwin32? Q2 Ditto Cygwin64 (or _any_ version of grap that works for Cygwin64)? Q3 Failing any hints or pointers for compilation (preferred) can anybody please provide a pointer to a grap executable that works for Cygwin64? Thank you! mail2web LIVE ? Free email based on Microsoft? Exchange technology - https://link.mail2web.com/LIVE -- 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