Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^5: DBD:Mysql compilation failed on windows

by Marshall (Canon)
on Mar 13, 2022 at 06:19 UTC ( [id://11142065]=note: print w/replies, xml ) Need Help??


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

I have thought more about "Our project already using the active perl.".

Maybe this is an English language problem? Perhaps you mean that you are using the system's Perl?

If that is so, I don't understand because Windows doesn't have a system Perl. Unix has such a thing - all Unix systems have Perl installed for system functions. If you have Unix, you should install a separate Perl for your use aside from the system version. If you have Windows, then I for sure don't understand the question. Active Perl is a buzzword for "Active State Perl" - Perl from a company called Active State.

  • Comment on Re^5: DBD:Mysql compilation failed on windows

Replies are listed 'Best First'.
Re^6: DBD:Mysql compilation failed on windows
by pesubbia (Novice) on Mar 14, 2022 at 17:22 UTC
    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
      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://11142065]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found