Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
geekdad1 opened this issue Dec 13, 2024 · 1 comment

Comments

@geekdad1
Copy link

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
Copy link
Contributor

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

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

See also #157

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants