Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <40951757.2070100@x-ray.at>
Date: Sun, 02 May 2004 17:44:23 +0200
From: Reini Urban <rurban@x-ray.at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7b) Gecko/20040316 MultiZilla/1.5.0.4h
MIME-Version: 1.0
To: "'Cygwin List'" <cygwin@cygwin.com>
Subject: Re: AS Perl versus cygwin Perl
References: <o7c7901faq18ovanbhvoiphkdobtc47q9t@4ax.com> <4093E310.4030201@x-ray.at> <r52a90tcbohv5t3fv8r1tvlp3uf4nvs3pu@4ax.com>
In-Reply-To: <r52a90tcbohv5t3fv8r1tvlp3uf4nvs3pu@4ax.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on hornet.mur.at
X-Spam-Level: 
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63
X-IsSubscribed: yes

zzapper schrieb:
> On Sat, 01 May 2004 19:49:04 +0200,  wrote:
>>>Is this just my experience? (I've tried disabling AS-Perl before doing
>>>my installs)
>>
>>DBD::mysql still has a cygwin install problem, that it expects the mysql 
>>client with sockets to work. And the default host is still "localhost" 
>>and not "127.0.0.1". (Yes, I've reported that before, sent patches, 
>>often enough)
>>
>>via cpan you have to do:
>>cpan look DBD::mysql
>>perl Makefile.PL --testhost=127.0.0.1
>>make
>>make test
>>make install
> 
> Thanx for that, I run Win32 mysql is that also a problem?

No, native mysql is the only stable server. We all use the native mysql 
server builts (besides gerrit maybe), only postgresql is used under cygwin.
http://anfaenger.de/cygwin-1.5/mysql/ has the binaries.

The clients should be able to compile for cygwin with no problems 
(Gerrit does this usually, aee url above, esp. for mysql_config), but 
they are not in setup.

> Should I be able to keep both AS-Perl as /local/bin/perl and
> Cygwin-Perl /bin/perl or would you advise otherwise?

I don't put AS-Perl in /usr/local/bin, I have it in C:/Perl/bin
and use it only occasionally. Such as for special Win32 CGI's or PPM stuff.
This is then done with special handlers, or the she-bang line at the top 
of the script.
You can easily put "C:/Perl/bin" to the front of your PATH in scripts 
where you need AS-Perl.
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

