StrawberryPerl / Perl-Dist-Strawberry

Tooling to build and package releases for Perl on Windows.
https://strawberryperl.com
Other
300 stars 52 forks source link

having trouble installing DBD::mysql on server with no database installed #228

Open geekdad1 opened 3 months ago

geekdad1 commented 3 months ago

Our databases are on different servers. It seems to want a mysql_config file (which I've created) but I don't know where to put it so that it is found when doing the install. Getting the following results.

'mysql_config' is not recognized as an internal or external command, operable program or batch file. Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I

to set this directory. For details see DBD::mysql::INSTALL, section "C Compiler flags" or type

perl Makefile.PL --help Warning: No success on command[C:\Strawberry\perl\bin\perl.exe Makefile.PL INSTALLDIRS=site] DVEEDEN/DBD-mysql-5.010.tar.gz C:\Strawberry\perl\bin\perl.exe Makefile.PL INSTALLDIRS=site -- NOT OK Failed during this command: DVEEDEN/DBD-mysql-5.010.tar.gz : writemakefile NO 'C:\Strawberry\perl\bin\perl.exe Makefile.PL INSTALLDIRS=site' returned status 512

I had ActiveState installed before so possibly there are previous settings that need to be changed. I don't know

shawnlaffan commented 3 months ago

The bug tracker for DBD::mysql is at https://github.com/perl5-dbi/DBD-mysql/issues, and this bug looks like https://github.com/perl5-dbi/DBD-mysql/issues/452

FWIW, we are not shipping the mysql binaries with Strawberry Perl due to build issues with recent versions.

See also https://github.com/StrawberryPerl/Perl-Dist-Strawberry/discussions/157