Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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 Subject: Re: Bogus hostname forcing in RedHat source RPMS References: <3A3CFA31 DOT 25027 DOT A25338 AT localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "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