How do I build this program for Cygwin?

Marilo narium85-mlscar@yahoo.co.uk
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: configure.in: No such file or directory
--

Steve@cfw5 ~/netcat/netcat
$ autoconf-2.68
configure.ac:25: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:29: error: possibly undefined macro: AM_CONFIG_HEADER
configure.ac:52: error: possibly undefined macro: AM_GNU_GETTEXT
configure.ac:53: error: possibly undefined macro: AM_INTL_SUBDIR
configure.ac:56: error: possibly undefined macro: AC_LBL_LIBRARY_NET
configure.ac:144: 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, 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
per.c
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 http://www.gnu.org/software/automake/manual/automake.
html#Extending-aclocal
autoreconf-2.68: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VE
RSION







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



More information about the Cygwin mailing list