| www.delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | Mark Geisert <mark AT maxrnd DOT com> |
| Subject: | Re: How do I build this program for Cygwin? |
| Date: | Sun, 6 May 2012 08:46:58 +0000 (UTC) |
| Lines: | 33 |
| Message-ID: | <loom.20120506T103916-699@post.gmane.org> |
| References: | <jo4v9n$2c8$1 AT dough DOT gmane DOT org> <1336292228 DOT 64234 DOT YahooMailClassic AT web28605 DOT mail DOT ukl DOT yahoo DOT com> |
| Mime-Version: | 1.0 |
| User-Agent: | Loom/3.14 (http://gmane.org/) |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 |
Marilo writes:
> > You followed the wrong instructions.
>
> The instructions - "INSTALL" said
> 1. configure
> 2. make
> ..
>
> But the problem is "configure" didn't exist.
Two things: 1st, Whoever wrote the INSTALL was sloppy and should have said
"./configure", and the 2nd thing is it's common knowledge that that's how one
runs configure. You don't have the common knowledge yet because you're new at
this. That's OK.
For the heck of it I tried to build this GNU netcat from the SourceForge
package. I used:
./configure
make
That's when I found out the code won't compile because Cygwin's struct
in_pktinfo is missing a field that Linux apparently has: ipi_spec_dst.
Fortunately I could get around that by subverting the configure check for struct
in_pktinfo. I changed line 8865 of configure, inserting two leading slashes to
comment out the line. Then I ran ./configure again. Then make. That built a
netcat.exe in the src subdirectory.
Does it have the options you need? I don't know. But now you know how to build
it yourself to find out.
HTH,
..mark
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |