How do I build this program for Cygwin?

Sun May 6 04:00:00 GMT 2012

--- On Sat, 5/5/12, René Berber wrote:

> From: René Berber 
> Subject: Re: How do I build this program for Cygwin?
> To: cygwin mailing list
> Date: Saturday, 5 May, 2012, 23:54
> On 5/5/2012 5:40 PM, Marilo wrote:
> [snip]
> > But I see no "configure" file, and when I try to run
> INSTALL I get a syntax error.
> >
> > So i'm wondering if maybe i'm going the wrong way about
> it.
> You read the files README, and INSTALL, follow the
> instructions there.
> -- 
> René Berber

Thanks.. Still getting issues though.. 

$ autoconf-2.13
autoconf: No such file or directory

Steve@cfw5 ~/netcat/netcat
$ autoconf-2.68 error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation. error: possibly undefined macro: AM_CONFIG_HEADER error: possibly undefined macro: AM_GNU_GETTEXT error: possibly undefined macro: AM_INTL_SUBDIR error: possibly undefined macro: AC_LBL_LIBRARY_NET error: possibly undefined macro: AM_CONDITIONAL

I tried this at some point as mentioned on a webpage
$ autoreconf -f -i -Wall,no-obsolete

I saw somebody suggested on a webpage
$ autoreconf-2.68 -vi
but that said can't exec aclocal.. and said failed..

and running aclocal was suggested

I see when looking for autoconf, automake which mentions aclocal so  I install that.

I think at this stage..

autoreconf-2.68 runs without giving an error or any output at all.

Steve@cfw5 ~/netcat/netcat
$ ./configure
configure: error: cannot find install-sh,, or shtool in "." "./.." ".

I see libtool suggested.. so  I download that..

I see install-sh is in cygwin\usr\share\automake-1.10 and others..
so I copy it to .
Then run ./configure

then ./configure runs

Then I do make
and get errors

$ make
make  all-recursive
make[1]: Entering directory `/home/Steve/netcat/netcat'
Making all in m4
make[2]: Entering directory `/home/Steve/netcat/netcat/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Steve/netcat/netcat/m4'
Making all in lib
make[2]: Entering directory `/home/Steve/netcat/netcat/lib'
Making all in contrib
make[3]: Entering directory `/home/Steve/netcat/netcat/lib/contrib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/Steve/netcat/netcat/lib/contrib'
make[3]: Entering directory `/home/Steve/netcat/netcat/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Steve/netcat/netcat/lib'
make[2]: Leaving directory `/home/Steve/netcat/netcat/lib'
Making all in src
make[2]: Entering directory `/home/Steve/netcat/netcat/src'
gcc -DLOCALEDIR=\"\/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I..      -g -O
2 -Wall -MT udphelper.o -MD -MP -MF .deps/udphelper.Tpo -c -o udphelper.o udphel
udphelper.c: In function `udphelper_ancillary_read':
udphelper.c:90: error: structure has no member named `ipi_spec_dst'
Makefile:316: recipe for target `udphelper.o' failed
make[2]: *** [udphelper.o] Error 1
make[2]: Leaving directory `/home/Steve/netcat/netcat/src'
Makefile:317: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Steve/netcat/netcat'
Makefile:257: recipe for target `all' failed
make: *** [all] Error 2

Steve@cfw5 ~/netcat/netcat

I have a look at autoreconf-2.68 which I suppose was meant to work earlier.. and it gives errors

$ autoreconf-2.68
m4/lbl-net.m4:36: warning: underquoted definition of AC_LBL_LIBRARY_NET
m4/lbl-net.m4:36:   run info '(automake)Extending aclocal'
m4/lbl-net.m4:36:   or see
autoreconf-2.68: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VE

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list