This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MySQL installation in cygwin


Gowri schrieb:

> I tried to install DBD for mysql in cygwin, the
> linking fails because I think it tries to link a
> Windows library from mysql and fails.

Create an importlibrary as I described and link against it.

>   Also is there Perl Package Manager in cygwin?

/bin/cpan (the CPAN module) does this job very well.

>   So, I thought if mysql is compiled in cygwin the
> problem will be solved.

Is the server running?  Can you provide some information
about MySQL on Cygwin?

>    I tried installing ActiveState perl and then
> successfully installed DBI and DBD for mysql. But when
> I run ActiveState perl in cygwin with full path to
> files (like perl /tmp/test.pl) it fails. But (cd /tmp;
> perl test.pl) works fine. Since we want to run perl
> scripts by full path the perl scripts fail with
> ActiveState perl. Also is there any PPM (perl package
> manager for cygwin)?

Native Windows applications doesn't know about Cygwin's POSIX paths.
This is not easy, IIRC there was a wrapper to use AS Perl from Cygwin,
but since Perl is available for Cygwin I don't use AS Perl anymore...

PPM, no, use CPAN.


Gerrit
-- 
=^..^=


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]