Help for this page

Select Code to Download


  1. or download this
      Platform:
        osname=darwin
    ...
        /Applications/XAMPP/xamppfiles/lib/perl5/site_perl/5.34.1
        /Applications/XAMPP/xamppfiles/lib/perl5/5.34.1/darwin-thread-mult
    +i-2level
        /Applications/XAMPP/xamppfiles/lib/perl5/5.34.1
    
  2. or download this
    /Applications/XAMPP/bin/perl Makefile.PL --mysql_config /Applications/
    +XAMPP/xamppfiles/bin/mysql_config --testuser=root --libs=-L/Applicati
    +ons/XAMPP/xamppfiles/lib/ --cflags=-I/Applications/XAMPP/xamppfiles/i
    +nclude/
    
  3. or download this
    I will use the following settings for compiling and testing:
    
    ...
    
    Using DBI 1.643 (for perl 5.034001 on darwin-thread-multi-2level) inst
    +alled in /Applications/XAMPP/xamppfiles/lib/perl5/site_perl/5.34.1/da
    +rwin-thread-multi-2level/auto/DBI/
    Writing Makefile for DBD::mysql
    
  4. or download this
    gcc -c  -I/Applications/XAMPP/xamppfiles/lib/perl5/site_perl/5.34.1/da
    +rwin-thread-multi-2level/auto/DBI -I/Applications/XAMPP/xamppfiles/in
    +clude/ -DDBD_MYSQL_WITH_SSL -g  -fno-common -DPERL_DARWIN -no-cpp-pre
    +comp -mmacosx-version-min=10.10 -fno-strict-aliasing -pipe -fstack-pr
    +otector-strong -DPERL_USE_SAFE_PUTENV -O3   -DVERSION=\"4.050\" -DXS_
    +VERSION=\"4.050\"  "-I/Applications/XAMPP/xamppfiles/lib/perl5/5.34.1
    +/darwin-thread-multi-2level/CORE"   socket.c
    Running Mkbootstrap for DBD::mysql ()
    ...
    Manifying blib/man3/Bundle::DBD::mysql.3
    Manifying blib/man3/DBD::mysql::INSTALL.3
    Manifying blib/man3/DBD::mysql.3
    
  5. or download this
    PERL_DL_NONLAZY=1 /Applications/XAMPP/xamppfiles/bin/perl "-MExtUtils:
    +:Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    t/00base.t .............................. 1/6
    ...
    #     Tried to use 'DBD::mysql'.
    #     Error:  Can't load '/Users/cody/.cpan/build/DBD-mysql-4.050-0/bl
    +ib/arch/auto/DBD/mysql/mysql.bundle' for module DBD::mysql: dlopen(/U
    +sers/cody/.cpan/build/DBD-mysql-4.050-0/blib/arch/auto/DBD/mysql/mysq
    +l.bundle, 0x0002): tried: '/Users/cody/.cpan/build/DBD-mysql-4.050-0/
    +blib/arch/auto/DBD/mysql/mysql.bundle' (mach-o file, but is an incomp
    +atible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/
    +Preboot/Cryptexes/OS/Users/cody/.cpan/build/DBD-mysql-4.050-0/blib/ar
    +ch/auto/DBD/mysql/mysql.bundle' (no such file), '/Users/cody/.cpan/bu
    +ild/DBD-mysql-4.050-0/blib/arch/auto/DBD/mysql/mysql.bundle' (mach-o 
    +file, but is an incompatible architecture (have 'arm64', need 'x86_64
    +')) at /Applications/XAMPP/xamppfiles/lib/perl5/5.34.1/darwin-thread-
    +multi-2level/DynaLoader.pm line 197.
    #  at t/00base.t line 15.