delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/25/01:08:58

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
Subject: RE: mysqlc
Date: Thu, 25 Oct 2001 15:15:22 +1000
Message-ID: <EA18B9FA0FE4194AA2B4CDB91F73C0EF08F226@itdomain002.itdomain.net.au>
MIME-Version: 1.0
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: mysqlc
content-class: urn:content-classes:message
Thread-Index: AcFclXVI3bCiIZGhSRauOSC0WMGbfgAfKAZg
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <win32 AT lists DOT mysql DOT com>
Cc: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id f9P58tn27116

Hi Miguel,

> -----Original Message-----
> From: Miguel Angel Solórzano [mailto:miguel AT mysql DOT com]
> 
> At 13:43 24/10/2001 +1000, Robert Collins wrote:
> Hi Robert,
> 
> The source still isn't provide with the distribution file.
> If you know how I can get the mysqlc code, instructions for

You folk have the source for mysqlc - as far as I know it's simply the
standard mysql tool, built using ./configure under (a rather old)
cygwin. 

> compile it and the source. I will be happy to add all this

The source for cygwin to allow building cygwinb19.dll is available via
anonymous CVS from sources.redhat.com. Their is a website,
www.cygwin.com that includes a webpage describing how to access the CVS
repository, and what module to grab. You'll need go back some years in
the repository to grab the source for the version of cygwin you are
distributing today.

> in our next distribution.

If I might suggest another option or two...

background: cygwin has it's own setup.exe (loosely modelled after
rpm/deb style installers and getting more so as time goes by (straight
ports of rpm et al don't work because of the win32
can't-replace-open-files issue) that users can use to install Cygwin.

Suggestion #1 (easiest for everyone, IMO).

* Provide a cygwin-1.3.x linked mysqlc in your win32 distribution.
Creating this is as easy as downloading cygwin to a win32 machine and
simply compiling mysql on it. If you don't have a win32 machine, I'm
sure that with a quick ask around we can find a mysql user from the
cygwin list that can contribute a pre-built client for you to
distribute. Or at worst, it's very easy to build a cygwin cross compiler
on linux and create the exe there. (That's how I build most of my cygwin
binaries anyway).
* Instruct your users to install cygwin from the cygwin web site. This
will ensure that cygwin is installed correctly.

Suggestion #2
* As before provide a recent cygwin linked mysqlc....
* take a copy of cygwin's setup.exe, and include it, along with
cygwin-1.3.x.tar.bz2 (the binary) and cygwin-1.3.x-src.tar.bz2 (the
source) and a stripped setup.ini in your distribution. Then have your
users run setup.exe to install cygwin. This is a safe approach that will
not conflict with the cygwin installed from the cygwin website.

--- Simply copying cygwin1.dll to the System/system32 directory is not a
complete install, and generates mailing lists headaches on the cygwin
list---.

There is a third option - to have someone provide a cygwin 'package'
with the mysql client (and potentially the mysql server) in it to the
cygwin list. As you already provide binaries I don't think that this
option makes sense. I'm only touching it for completeness.

Cheers,
Rob


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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