Platform:
osname=darwin
osvers=14.5.0
archname=darwin-thread-multi-2level
uname='darwin xampps-mac.local 14.5.0 darwin kernel version 14.5.0: wed jul 29 02:26:53 pdt 2015; root:xnu-2782.40.9~1release_x86_64 x86_64 '
config_args='-Dprefix=/Applications/XAMPP/xamppfiles -des -Dcc=gcc -Dusethreads'
hint=recommended
useposix=true
d_sigaction=define
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
Compiler:
cc='gcc'
ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -mmacosx-version-min=10.10 -fno-strict-aliasing -pipe -fstack-protector-strong -DPERL_USE_SAFE_PUTENV'
optimize='-O3'
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -mmacosx-version-min=10.10 -fno-strict-aliasing -pipe -fstack-protector-strong'
ccversion=''
gccversion='4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)'
gccosandvers=''
intsize=4
longsize=8
ptrsize=8
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=16
longdblkind=3
ivtype='long'
ivsize=8
nvtype='double'
nvsize=8
Off_t='off_t'
lseeksize=8
alignbytes=8
prototype=define
Linker and Libraries:
ld='gcc'
ldflags =' -mmacosx-version-min=10.10 -fstack-protector-strong'
libpth=/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.2/lib /Library/Developer/CommandLineTools/usr/lib /usr/lib
libs=-lpthread -ldbm -ldl -lm -lutil -lc
perllibs=-lpthread -ldl -lm -lutil -lc
libc=
so=dylib
useshrplib=false
libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=bundle
d_dlsymun=undef
ccdlflags=' '
cccdlflags=' '
lddlflags=' -mmacosx-version-min=10.10 -bundle -undefined dynamic_lookup -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
MULTIPLICITY
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
PERL_USE_SAFE_PUTENV
USE_64_BIT_ALL
USE_64_BIT_INT
USE_ITHREADS
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
USE_REENTRANT_API
USE_THREAD_SAFE_LOCALE
Built under darwin
Compiled at Apr 6 2023 06:01:16
@INC:
/Applications/XAMPP/xamppfiles/lib/perl5/site_perl/5.34.1/darwin-thread-multi-2level
/Applications/XAMPP/xamppfiles/lib/perl5/site_perl/5.34.1
/Applications/XAMPP/xamppfiles/lib/perl5/5.34.1/darwin-thread-multi-2level
/Applications/XAMPP/xamppfiles/lib/perl5/5.34.1
####
/Applications/XAMPP/bin/perl Makefile.PL --mysql_config /Applications/XAMPP/xamppfiles/bin/mysql_config --testuser=root --libs=-L/Applications/XAMPP/xamppfiles/lib/ --cflags=-I/Applications/XAMPP/xamppfiles/include/
####
I will use the following settings for compiling and testing:
cflags (User's choice) = -I/Applications/XAMPP/xamppfiles/include/
embedded (mysql_config ) =
libs (User's choice) = -L/Applications/XAMPP/xamppfiles/lib/
mysql_config (Users choice ) = /Applications/XAMPP/xamppfiles/bin/mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
nossl (default ) = 0
testdb (User's choice) = test
testhost (default ) =
testpassword (default ) =
testport (default ) =
testsocket (default ) =
testuser (User's choice) = root
To change these settings, see 'perl Makefile.PL --help' and
'perldoc DBD::mysql::INSTALL'.
Checking if libs are available for compiling...
Looks good.
Using DBI 1.643 (for perl 5.034001 on darwin-thread-multi-2level) installed in /Applications/XAMPP/xamppfiles/lib/perl5/site_perl/5.34.1/darwin-thread-multi-2level/auto/DBI/
Writing Makefile for DBD::mysql
####
gcc -c -I/Applications/XAMPP/xamppfiles/lib/perl5/site_perl/5.34.1/darwin-thread-multi-2level/auto/DBI -I/Applications/XAMPP/xamppfiles/include/ -DDBD_MYSQL_WITH_SSL -g -fno-common -DPERL_DARWIN -no-cpp-precomp -mmacosx-version-min=10.10 -fno-strict-aliasing -pipe -fstack-protector-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 ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
gcc -mmacosx-version-min=10.10 -bundle -undefined dynamic_lookup -fstack-protector-strong dbdimp.o mysql.o socket.o -o blib/arch/auto/DBD/mysql/mysql.bundle \
\
chmod 755 blib/arch/auto/DBD/mysql/mysql.bundle
cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/Bundle::DBD::mysql.3
Manifying blib/man3/DBD::mysql::INSTALL.3
Manifying blib/man3/DBD::mysql.3
####
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
# Failed test 'use DBD::mysql;'
# at t/00base.t line 15.
# Tried to use 'DBD::mysql'.
# Error: Can't load '/Users/cody/.cpan/build/DBD-mysql-4.050-0/blib/arch/auto/DBD/mysql/mysql.bundle' for module DBD::mysql: dlopen(/Users/cody/.cpan/build/DBD-mysql-4.050-0/blib/arch/auto/DBD/mysql/mysql.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 incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/cody/.cpan/build/DBD-mysql-4.050-0/blib/arch/auto/DBD/mysql/mysql.bundle' (no such file), '/Users/cody/.cpan/build/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.