Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^6: DBD:Mysql compilation failed on windows

by pesubbia (Novice)
on Mar 14, 2022 at 17:22 UTC ( [id://11142088]=note: print w/replies, xml ) Need Help??


in reply to Re^5: DBD:Mysql compilation failed on windows
in thread DBD:Mysql compilation failed on windows

Rob and Marshall,
Thanks for the reply As per your suggestion we removed the VC environm +ent and installed Mingw and tried the Perl DBD::mysql compilation but + some how its refers the nmake from Visual Studio. not sure where it +s referring from. completely removed VC reference from the environmen +t settings. Also initially picked up the dmake later its changed to n +make :(. Generating a dmake-style Makefile Writing Makefile for Devel::CheckLib Writing MYMETA.yml and MYMETA.json MATTN/Devel-CheckLib-1.14.tar.gz C:\Perl\bin\perl.exe Makefile.PL -- OK : : : to undefined at C:\perl\lib/ExtUtils/Install.pm line 1198. NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x2' Stop. RURBAN/Mock-Config-0.03.tar.gz "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.EX +E" -- NOT OK
Thanks, Anitha.S

Replies are listed 'Best First'.
Re^7: DBD:Mysql compilation failed on windows
by Marshall (Canon) on Mar 17, 2022 at 04:19 UTC
    Hello Anitha. S.

    I circled back to this thread to see how you were doing... I see now that I made an error, when you starting talking about cpan and Active Perl, I assumed that you were on >5.24. I see now that you are on 5.24 albeit 32 bit. I am on AS 5.24, 64 bit. This is my Perl -V:

    I just installed DBD-mysql on my system and it was easy. You should do it the same way, using PPM.

    At the command prompt, just type PPM, A GUI starts, select DBD-mysql and install it. There is nothing to compile, it comes pre-compiled, the longest time is spent generating the local HTML doc pages.

    Why doesn't that work?

    The idea that perhaps you didn't know about PPM never occurred to me until now. But PPM still works on 5.24. The new Active State way starts with 5.26 and that is one reason why I haven't upgraded yet.

    ADDED: While a long job was running for another project, I did fiddle with the new Active State build process. There are some "very rough edges" on this thing and it took some hacking (as expected), but I was able to make V34 64 bit with MySQL, Maria and Postgres and cpan modules. This is a public project and anybody can use this link: special 64 bit Perl with Maria,MySQL . Unfortunately this link will expire at some point. To update an installation like this you should use the Active State State Tool. Its already in the installation download, but you will need the docs to use it.

    update again: see also State Tool Cheatsheet

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11142088]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-20 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found