delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/06/00:00:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-ID: <1336276784.78402.YahooMailClassic@web28610.mail.ukl.yahoo.com>
Date: Sun, 6 May 2012 04:59:44 +0100 (BST)
From: Marilo <narium85-mlscar AT yahoo DOT co DOT uk>
Reply-To: narium85-mlscar AT yahoo DOT co DOT uk
Subject: Re: How do I build this program for Cygwin?
To: cygwin AT cygwin DOT com
In-Reply-To: <jo4b2f$pv8$1@dough.gmane.org>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q4640Axg004043


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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019