delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/17/21:00:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A3D6FC7.F616BB82@ece.gatech.edu>
Date: Sun, 17 Dec 2000 21:00:39 -0500
From: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: s_c_biggs AT bigfoot DOT com
CC: cygwin <cygwin AT cygwin DOT com>
Subject: Re: Bogus hostname forcing in RedHat source RPMS
References: <3A3CFA31 DOT 25027 DOT A25338 AT localhost>

"Stephen C. Biggs" wrote:
> 
> This is a real shame, if there is no way to override the bogus
> hostname, because, with my port for RPM 4.0, cygwin users can
> rebuild and use almost all of the nifty Linux tools that redhat has.

I hate to burst your bubble, but cygwin is not linux.  The only packages
for which your statement is true, are those that have already been
ported to work with cygwin, or you get lucky (see below).  It just ain't
as simple as:

Oh look, a 'foobar' package.
download.
unpack
./configure 
make
make install

(which is basically what rpm will do when you use it to rebuild a
package based on some random linux-ish spec file.)

This will only work if:

a) the program doesn't run afoul of any of the windows-isms in cygwin
b) and doesn't attempt to use linux-ish functions that have not yet been
implemented in cygwin
c) doesn't have any extraneous '#ifdef _WIN32' blocks that REALLY maen
'true windows-native' but get tripped by cygwin's use of that #define.

Now, you *might* get lucky and satisfy these requirements with some new,
random package -- but probably not.

So you shouldn't be surprised that some packages fail to build with a
simple 'rpm --rebuild'  With regards to the particular package you
reference, libtool, note that there is ongoing work to cygwin-ify
libtool, and get it to work with dll's and the latest cygwin
gcc/binutils -- search the cygwin mailing list archives for 'Gary
Vaughan'.)

--Chuck

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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