* Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin @ 2020-11-30 15:06 Keith Christian 2020-11-30 18:23 ` Achim Gratz 2020-11-30 21:44 ` Jeffrey Altman 0 siblings, 2 replies; 10+ messages in thread From: Keith Christian @ 2020-11-30 15:06 UTC (permalink / raw) To: cygwin I downloaded the .tar.gz of C-Kermit 9.0.305 Alpha.02, 19 September 2020. Web page: http://www.kermitproject.org/ckdaily.html Source download: http://www.kermitproject.org/ftp/kermit/test/tar/x.tar.gz I realize that C-Kermit has not been in the Cygwin distribution for awhile. There is no "cygwin" target in the makefile in the x.tar.gz source distribution. Is there any guidance for how to compile this modern version of C-Kermit for present-day Cygwin? Thanks. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin 2020-11-30 15:06 Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin Keith Christian @ 2020-11-30 18:23 ` Achim Gratz 2020-11-30 21:44 ` Jeffrey Altman 1 sibling, 0 replies; 10+ messages in thread From: Achim Gratz @ 2020-11-30 18:23 UTC (permalink / raw) To: cygwin Keith Christian via Cygwin writes: > Is there any guidance for how to compile this modern version of > C-Kermit for present-day Cygwin? The same as any other software that doesn't specifically mention Cygwin: Pretend that Cygwin is Linux and see how far you get. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin 2020-11-30 15:06 Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin Keith Christian 2020-11-30 18:23 ` Achim Gratz @ 2020-11-30 21:44 ` Jeffrey Altman 2020-11-30 22:17 ` Keith Christian 1 sibling, 1 reply; 10+ messages in thread From: Jeffrey Altman @ 2020-11-30 21:44 UTC (permalink / raw) To: Keith Christian, cygwin [-- Attachment #1: Type: text/plain, Size: 940 bytes --] On 11/30/2020 10:06 AM, Keith Christian via Cygwin (cygwin@cygwin.com) wrote: > I downloaded the .tar.gz of C-Kermit 9.0.305 Alpha.02, 19 September 2020. > Web page: http://www.kermitproject.org/ckdaily.html > Source download: http://www.kermitproject.org/ftp/kermit/test/tar/x.tar.gz > > I realize that C-Kermit has not been in the Cygwin distribution for > awhile. There is no "cygwin" target in the makefile in the x.tar.gz > source distribution. > Is there any guidance for how to compile this modern version of > C-Kermit for present-day Cygwin? > > Thanks. I suspect building C-Kermit with SSH, OpenSSL, Kerberos v5 support is going to be problematic since none of that code has been updated in more than a decade to keep up with the latest upstream packages. I suggest you start by trying to build for a generic linux target without any security features. Jeffrey Altman former Kermit developer [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 4080 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin 2020-11-30 21:44 ` Jeffrey Altman @ 2020-11-30 22:17 ` Keith Christian 2020-11-30 22:31 ` Eliot Moss 0 siblings, 1 reply; 10+ messages in thread From: Keith Christian @ 2020-11-30 22:17 UTC (permalink / raw) To: cygwin; +Cc: jaltman On Mon, Nov 30, 2020 at 2:44 PM Jeffrey Altman <jaltman@secure-endpoints.com> wrote: > I suspect building C-Kermit with SSH, OpenSSL, Kerberos v5 support is > going to be problematic since none of that code has been updated in more > than a decade to keep up with the latest upstream packages. I suggest > you start by trying to build for a generic linux target without any > security features. > > Jeffrey Altman > former Kermit developer Jeffrey, Thanks so much, appreciate your taking the time to respond. I was puzzled when C-Kermit was dropped from Cygwin several years ago. Former Kermit developer, quite the credentials! Keith ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin 2020-11-30 22:17 ` Keith Christian @ 2020-11-30 22:31 ` Eliot Moss 2020-11-30 23:15 ` Keith Christian 2020-12-01 4:21 ` gs-cygwin.com 0 siblings, 2 replies; 10+ messages in thread From: Eliot Moss @ 2020-11-30 22:31 UTC (permalink / raw) To: Keith Christian, cygwin; +Cc: jaltman On 11/30/2020 5:17 PM, Keith Christian via Cygwin wrote: > On Mon, Nov 30, 2020 at 2:44 PM Jeffrey Altman > <jaltman@secure-endpoints.com> wrote: >> I suspect building C-Kermit with SSH, OpenSSL, Kerberos v5 support is >> going to be problematic since none of that code has been updated in more >> than a decade to keep up with the latest upstream packages. I suggest >> you start by trying to build for a generic linux target without any >> security features. >> >> Jeffrey Altman >> former Kermit developer > > Jeffrey, > > Thanks so much, appreciate your taking the time to respond. I was > puzzled when C-Kermit was dropped from Cygwin several years ago. > Former Kermit developer, quite the credentials! Just checked, and this does not compile out of the box for either the linux or posix target. Not sure how much work will be required. Too bad it is not set up to use ./configure to see what's actually available on the platform / how to use it ... Best wishes - Eliot Moss ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin 2020-11-30 22:31 ` Eliot Moss @ 2020-11-30 23:15 ` Keith Christian 2020-12-01 4:21 ` gs-cygwin.com 1 sibling, 0 replies; 10+ messages in thread From: Keith Christian @ 2020-11-30 23:15 UTC (permalink / raw) To: moss; +Cc: cygwin, jaltman On Mon, Nov 30, 2020, 15:31 Eliot Moss <moss@cs.umass.edu> wrote: > On 11/30/2020 5:17 PM, Keith Christian via Cygwin wrote: > > On Mon, Nov 30, 2020 at 2:44 PM Jeffrey Altman > > <jaltman@secure-endpoints.com> wrote: > >> I suspect building C-Kermit with SSH, OpenSSL, Kerberos v5 support is > >> going to be problematic since none of that code has been updated in more > >> than a decade to keep up with the latest upstream packages. I suggest > >> you start by trying to build for a generic linux target without any > >> security features. > >> > >> Jeffrey Altman > >> former Kermit developer > > > > Jeffrey, > > > > Thanks so much, appreciate your taking the time to respond. I was > > puzzled when C-Kermit was dropped from Cygwin several years ago. > > Former Kermit developer, quite the credentials! > > Just checked, and this does not compile out of the box for either the > linux or posix target. Not > sure how much work will be required. Too bad it is not set up to use > ./configure to see what's > actually available on the platform / how to use it ... > > Best wishes - Eliot Moss > Thanks, Eliot. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin 2020-11-30 22:31 ` Eliot Moss 2020-11-30 23:15 ` Keith Christian @ 2020-12-01 4:21 ` gs-cygwin.com 2020-12-01 16:20 ` Keith Christian 1 sibling, 1 reply; 10+ messages in thread From: gs-cygwin.com @ 2020-12-01 4:21 UTC (permalink / raw) To: cygwin On Mon, Nov 30, 2020 at 05:31:46PM -0500, Eliot Moss wrote: > On 11/30/2020 5:17 PM, Keith Christian via Cygwin wrote: > > On Mon, Nov 30, 2020 at 2:44 PM Jeffrey Altman > > <jaltman@secure-endpoints.com> wrote: > > > I suspect building C-Kermit with SSH, OpenSSL, Kerberos v5 support is > > > going to be problematic since none of that code has been updated in more > > > than a decade to keep up with the latest upstream packages. I suggest > > > you start by trying to build for a generic linux target without any > > > security features. > > > > > > Jeffrey Altman > > > former Kermit developer > > > > Jeffrey, > > > > Thanks so much, appreciate your taking the time to respond. I was > > puzzled when C-Kermit was dropped from Cygwin several years ago. > > Former Kermit developer, quite the credentials! > > Just checked, and this does not compile out of the box for either the linux > or posix target. Not sure how much work will be required. Too bad it is > not set up to use ./configure to see what's actually available on the > platform / how to use it ... > > Best wishes - Eliot Moss For kicks, I got the *basic* C-Kermit to build under Linux and under Cygwin. https://github.com/gstrauss/ckermit The make command line options are in the commit messages. It is based on http://www.columbia.edu/kermit/archive.html C-Kermit 9.0.302 2011/07/11 cku302.tar.gz I realized afterwards that I should have used C-Kermit 9.0.305 Alpha.02. In any case, compiling is a first step, but does not suggest it is fully functional. Mostly #include and minor changes were needed, except for one big mess with the cygwin custom struct hostent being defined with const char *h_name Cheers, Glenn ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin 2020-12-01 4:21 ` gs-cygwin.com @ 2020-12-01 16:20 ` Keith Christian 2020-12-01 17:32 ` gs-cygwin.com 0 siblings, 1 reply; 10+ messages in thread From: Keith Christian @ 2020-12-01 16:20 UTC (permalink / raw) To: gs-cygwin.com; +Cc: cygwin On Mon, Nov 30, 2020 at 9:23 PM <gs-cygwin.com@gluelogic.com> wrote: > For kicks, I got the *basic* C-Kermit to build under Linux and under Cygwin. > https://github.com/gstrauss/ckermit > The make command line options are in the commit messages. > > It is based on > http://www.columbia.edu/kermit/archive.html > C-Kermit 9.0.302 2011/07/11 cku302.tar.gz > > I realized afterwards that I should have used C-Kermit 9.0.305 Alpha.02. > > In any case, compiling is a first step, but does not suggest it is fully > functional. Mostly #include and minor changes were needed, except for > one big mess with the cygwin custom struct hostent being defined with > const char *h_name > > Cheers, Glenn Glenn, I tried "make linux" this morning on the 9.0.305 version, got this output, (I_am_not_expecting_any_assistance_,) more of a report: -rw-r-----+ 1 keith keith 382913 Sep 19 14:17 makefile CYGWIN_NT-10.0 DESKTOP-OLN71TE 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin 1 Making C-Kermit for Linux... 2 /bin/sh: line 68: -f: command not found 3 make[1]: Entering directory 'kermit_downloads/kermitsource' 4 Making C-Kermit "9.0.305" for Linux 1.2 or later... 5 IMPORTANT: Read the comments in the linux section of the 6 makefile if you have trouble. 7 make xermit KTARGET=${KTARGET:-linuxa} "CC = gcc" "CC2 = gcc" \ 8 "CFLAGS = -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG \ 9 -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX \ 10 -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY " "LNKFLAGS = " \ 11 "LIBS = -lutil -lncurses -lresolv -lcrypt -lm" 12 make[2]: Entering directory 'kermit_downloads/kermitsource' 13 gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H -DHAVE_OPENPTY -DKTARGET=\"linux\" -c ckucmd.c 14 ckucmd.c: In function ‘cmdconchk’: 15 ckucmd.c:7579:22: error: ‘__FILE’ has no member named ‘_IO_read_end’ 16 7579 | x = (int) ((stdin->_IO_read_end) - (stdin->_IO_read_ptr)); 17 | ^~ 18 ckucmd.c:7579:46: error: ‘__FILE’ has no member named ‘_IO_read_ptr’ 19 7579 | x = (int) ((stdin->_IO_read_end) - (stdin->_IO_read_ptr)); 20 | ^~ 21 make[2]: *** [makefile:988: ckucmd.o] Error 1 22 make[2]: Leaving directory 'kermit_downloads/kermitsource' 23 make[1]: *** [makefile:6067: linuxa] Error 2 24 make[1]: Leaving directory 'kermit_downloads/kermitsource' 25 make: *** [makefile:6100: linux] Error 2 Only two .o files were created: -rw-r--r--+ 1 keith keith 48034 Dec 1 08:55 ckcmai.o -rw-r--r--+ 1 keith keith 37108 Dec 1 08:55 ckclib.o Keith ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin 2020-12-01 16:20 ` Keith Christian @ 2020-12-01 17:32 ` gs-cygwin.com 2020-12-01 22:09 ` Keith Christian 0 siblings, 1 reply; 10+ messages in thread From: gs-cygwin.com @ 2020-12-01 17:32 UTC (permalink / raw) To: Keith Christian; +Cc: cygwin On Tue, Dec 01, 2020 at 09:20:51AM -0700, Keith Christian wrote: > On Mon, Nov 30, 2020 at 9:23 PM <gs-cygwin.com@gluelogic.com> wrote: > > For kicks, I got the *basic* C-Kermit to build under Linux and under Cygwin. > > https://github.com/gstrauss/ckermit > > The make command line options are in the commit messages. > > > > It is based on > > http://www.columbia.edu/kermit/archive.html > > C-Kermit 9.0.302 2011/07/11 cku302.tar.gz > > > > I realized afterwards that I should have used C-Kermit 9.0.305 Alpha.02. > > > > In any case, compiling is a first step, but does not suggest it is fully > > functional. Mostly #include and minor changes were needed, except for > > one big mess with the cygwin custom struct hostent being defined with > > const char *h_name > > > > Cheers, Glenn > > Glenn, > > I tried "make linux" this morning on the 9.0.305 version, got this > output, (I_am_not_expecting_any_assistance_,) more of a report: > > -rw-r-----+ 1 keith keith 382913 Sep 19 14:17 makefile > > CYGWIN_NT-10.0 DESKTOP-OLN71TE 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin > > 1 Making C-Kermit for Linux... > 2 /bin/sh: line 68: -f: command not found > 3 make[1]: Entering directory 'kermit_downloads/kermitsource' > 4 Making C-Kermit "9.0.305" for Linux 1.2 or later... > 5 IMPORTANT: Read the comments in the linux section of the > 6 makefile if you have trouble. > 7 make xermit KTARGET=${KTARGET:-linuxa} "CC = gcc" "CC2 = gcc" \ > 8 "CFLAGS = -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG \ > 9 -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX \ > 10 -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses > -DHAVE_CRYPT_H -DHAVE_OPENPTY " "LNKFLAGS = " \ > 11 "LIBS = -lutil -lncurses -lresolv -lcrypt -lm" > 12 make[2]: Entering directory 'kermit_downloads/kermitsource' > 13 gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG > -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX > -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H > -DHAVE_OPENPTY -DKTARGET=\"linux\" -c ckucmd.c > 14 ckucmd.c: In function ‘cmdconchk’: > 15 ckucmd.c:7579:22: error: ‘__FILE’ has no member named ‘_IO_read_end’ > 16 7579 | x = (int) ((stdin->_IO_read_end) - (stdin->_IO_read_ptr)); > 17 | ^~ > 18 ckucmd.c:7579:46: error: ‘__FILE’ has no member named ‘_IO_read_ptr’ > 19 7579 | x = (int) ((stdin->_IO_read_end) - (stdin->_IO_read_ptr)); > 20 | ^~ > 21 make[2]: *** [makefile:988: ckucmd.o] Error 1 > 22 make[2]: Leaving directory 'kermit_downloads/kermitsource' > 23 make[1]: *** [makefile:6067: linuxa] Error 2 > 24 make[1]: Leaving directory 'kermit_downloads/kermitsource' > 25 make: *** [makefile:6100: linux] Error 2 > > Only two .o files were created: > > -rw-r--r--+ 1 keith keith 48034 Dec 1 08:55 ckcmai.o > -rw-r--r--+ 1 keith keith 37108 Dec 1 08:55 ckclib.o > > Keith Keith, kindly look at the commits in https://github.com/gstrauss/ckermit https://github.com/gstrauss/ckermit/commits/master > output, (I_am_not_expecting_any_assistance_,) more of a report: Why bother posting before taking half a second to look at the commits? ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin 2020-12-01 17:32 ` gs-cygwin.com @ 2020-12-01 22:09 ` Keith Christian 0 siblings, 0 replies; 10+ messages in thread From: Keith Christian @ 2020-12-01 22:09 UTC (permalink / raw) To: gs-cygwin.com; +Cc: cygwin On Tue, Dec 1, 2020, 10:32 <gs-cygwin.com@gluelogic.com> wrote: > On Tue, Dec 01, 2020 at 09:20:51AM -0700, Keith Christian wrote: > > On Mon, Nov 30, 2020 at 9:23 PM <gs-cygwin.com@gluelogic.com> wrote: > > > For kicks, I got the *basic* C-Kermit to build under Linux and under > Cygwin. > > > https://github.com/gstrauss/ckermit > > > The make command line options are in the commit messages. > > > > > > It is based on > > > http://www.columbia.edu/kermit/archive.html > > > C-Kermit 9.0.302 2011/07/11 cku302.tar.gz > > > > > > I realized afterwards that I should have used C-Kermit 9.0.305 > Alpha.02. > > > > > > In any case, compiling is a first step, but does not suggest it is > fully > > > functional. Mostly #include and minor changes were needed, except for > > > one big mess with the cygwin custom struct hostent being defined with > > > const char *h_name > > > > > > Cheers, Glenn > > > > Glenn, > > > > I tried "make linux" this morning on the 9.0.305 version, got this > > output, (I_am_not_expecting_any_assistance_,) more of a report: > > > > -rw-r-----+ 1 keith keith 382913 Sep 19 14:17 makefile > > > > CYGWIN_NT-10.0 DESKTOP-OLN71TE 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 > Cygwin > > > > 1 Making C-Kermit for Linux... > > 2 /bin/sh: line 68: -f: command not found > > 3 make[1]: Entering directory 'kermit_downloads/kermitsource' > > 4 Making C-Kermit "9.0.305" for Linux 1.2 or later... > > 5 IMPORTANT: Read the comments in the linux section of the > > 6 makefile if you have trouble. > > 7 make xermit KTARGET=${KTARGET:-linuxa} "CC = gcc" "CC2 = gcc" \ > > 8 "CFLAGS = -O -DLINUX -pipe -funsigned-char -DFNFLOAT > -DCK_POSIX_SIG \ > > 9 -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX \ > > 10 -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses > > -DHAVE_CRYPT_H -DHAVE_OPENPTY " "LNKFLAGS = " \ > > 11 "LIBS = -lutil -lncurses -lresolv -lcrypt -lm" > > 12 make[2]: Entering directory 'kermit_downloads/kermitsource' > > 13 gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG > > -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX > > -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_CRYPT_H > > -DHAVE_OPENPTY -DKTARGET=\"linux\" -c ckucmd.c > > 14 ckucmd.c: In function ‘cmdconchk’: > > 15 ckucmd.c:7579:22: error: ‘__FILE’ has no member named > ‘_IO_read_end’ > > 16 7579 | x = (int) ((stdin->_IO_read_end) - > (stdin->_IO_read_ptr)); > > 17 | ^~ > > 18 ckucmd.c:7579:46: error: ‘__FILE’ has no member named > ‘_IO_read_ptr’ > > 19 7579 | x = (int) ((stdin->_IO_read_end) - > (stdin->_IO_read_ptr)); > > 20 | ^~ > > 21 make[2]: *** [makefile:988: ckucmd.o] Error 1 > > 22 make[2]: Leaving directory 'kermit_downloads/kermitsource' > > 23 make[1]: *** [makefile:6067: linuxa] Error 2 > > 24 make[1]: Leaving directory 'kermit_downloads/kermitsource' > > 25 make: *** [makefile:6100: linux] Error 2 > > > > Only two .o files were created: > > > > -rw-r--r--+ 1 keith keith 48034 Dec 1 08:55 ckcmai.o > > -rw-r--r--+ 1 keith keith 37108 Dec 1 08:55 ckclib.o > > > > Keith > > Keith, kindly look at the commits in > https://github.com/gstrauss/ckermit > https://github.com/gstrauss/ckermit/commits/master > > > output, (I_am_not_expecting_any_assistance_,) more of a report: > Why bother posting before taking half a second to look at the commits? > Thanks, I'll look at the commits more closely. ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2020-12-01 22:09 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-11-30 15:06 Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin Keith Christian 2020-11-30 18:23 ` Achim Gratz 2020-11-30 21:44 ` Jeffrey Altman 2020-11-30 22:17 ` Keith Christian 2020-11-30 22:31 ` Eliot Moss 2020-11-30 23:15 ` Keith Christian 2020-12-01 4:21 ` gs-cygwin.com 2020-12-01 16:20 ` Keith Christian 2020-12-01 17:32 ` gs-cygwin.com 2020-12-01 22:09 ` Keith Christian
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).