Created
November 17, 2013 10:07
-
-
Save stefansbv/7511547 to your computer and use it in GitHub Desktop.
DBD::Firebird (on darwin)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> perl Makefile.PL | |
Configuring DBD::Firebird (on darwin) | |
FIREBIRD_HOME : /Library/Frameworks/Firebird.framework/Resources | |
FIREBIRD_INCLUDE: /Library/Frameworks/Firebird.framework/Resources/../Headers | |
FIREBIRD_LIB : /Library/Frameworks/Firebird.framework/Resources/../Libraries | |
Client library : fbclient | |
Using DBI 1.628 (for perl 5.018001 on darwin-thread-multi-2level) installed in /usr/local/lib/perl5/site_perl/5.18.1/darwin-thread-multi-2level/auto/DBI/ | |
libfbembed not found, building of DBD::FirebirdEmbed skipped. | |
Checking if your kit is complete... | |
Looks good | |
Writing Makefile for DBD::Firebird | |
Writing MYMETA.yml and MYMETA.json | |
Please, set at least DBI_PASS (or ISC_PASSWORD), before 'make test'. | |
The default for DBI_USER is 'SYSDBA'. | |
> make | |
cp lib/DBD/Firebird/TableInfo/Firebird21.pm blib/lib/DBD/Firebird/TableInfo/Firebird21.pm | |
cp Firebird.pm blib/lib/DBD/Firebird.pm | |
cp lib/DBD/Firebird/TypeInfo.pm blib/lib/DBD/Firebird/TypeInfo.pm | |
cp lib/DBD/Firebird/TableInfo.pm blib/lib/DBD/Firebird/TableInfo.pm | |
cp lib/DBD/Firebird/TableInfo/Basic.pm blib/lib/DBD/Firebird/TableInfo/Basic.pm | |
cp lib/DBD/Firebird/GetInfo.pm blib/lib/DBD/Firebird/GetInfo.pm | |
/usr/local/bin/perl -p -e "s/~DRIVER~/Firebird/g" /usr/local/lib/perl5/site_perl/5.18.1/darwin-thread-multi-2level/auto/DBI/Driver.xst > Firebird.xsi | |
/usr/local/bin/perl /usr/local/lib/perl5/5.18.1/ExtUtils/xsubpp -noprototypes -typemap /usr/local/lib/perl5/5.18.1/ExtUtils/typemap -typemap typemap Firebird.xs > Firebird.xsc && mv Firebird.xsc Firebird.c | |
cc -c -I"/Library/Frameworks/Firebird.framework/Resources/../Headers" -I"/usr/local/lib/perl5/site_perl/5.18.1/darwin-thread-multi-2level/auto/DBI" -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O3 -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" "-I/usr/local/lib/perl5/5.18.1/darwin-thread-multi-2level/CORE" Firebird.c | |
Firebird.xs:1524:59: warning: format specifies type 'int' but the argument has type | |
'size_t' (aka 'unsigned long') [-Wformat] | |
DPB_FILL_STRING_LEN(dpb, isc_dpb_user_name, user, user_len); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | |
./dbdimp.h:134:43: note: expanded from macro 'DPB_FILL_STRING_LEN' | |
croak("DPB string too long (%d)", len); \ | |
^ | |
Firebird.xs:1528:57: warning: format specifies type 'int' but the argument has type | |
'size_t' (aka 'unsigned long') [-Wformat] | |
DPB_FILL_STRING_LEN(dpb, isc_dpb_password, pwd, pwd_len); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | |
./dbdimp.h:134:43: note: expanded from macro 'DPB_FILL_STRING_LEN' | |
croak("DPB string too long (%d)", len); \ | |
^ | |
2 warnings generated. | |
cc -c -I"/Library/Frameworks/Firebird.framework/Resources/../Headers" -I"/usr/local/lib/perl5/site_perl/5.18.1/darwin-thread-multi-2level/auto/DBI" -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -O3 -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" "-I/usr/local/lib/perl5/5.18.1/darwin-thread-multi-2level/CORE" dbdimp.c | |
dbdimp.c:427:5: warning: format specifies type 'int' but the argument has type | |
'unsigned long' [-Wformat] | |
DPB_FILL_STRING(dpb, isc_dpb_user_name, uid); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./dbdimp.h:129:44: note: expanded from macro 'DPB_FILL_STRING' | |
DPB_FILL_STRING_LEN(dpb, code, string, strlen(string) ) | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | |
./dbdimp.h:134:43: note: expanded from macro 'DPB_FILL_STRING_LEN' | |
croak("DPB string too long (%d)", len); \ | |
^ | |
dbdimp.c:429:5: warning: format specifies type 'int' but the argument has type | |
'unsigned long' [-Wformat] | |
DPB_FILL_STRING(dpb, isc_dpb_password, pwd); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./dbdimp.h:129:44: note: expanded from macro 'DPB_FILL_STRING' | |
DPB_FILL_STRING_LEN(dpb, code, string, strlen(string) ) | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | |
./dbdimp.h:134:43: note: expanded from macro 'DPB_FILL_STRING_LEN' | |
croak("DPB string too long (%d)", len); \ | |
^ | |
dbdimp.c:450:9: warning: format specifies type 'int' but the argument has type | |
'unsigned long' [-Wformat] | |
DPB_FILL_STRING(dpb, isc_dpb_lc_ctype, imp_dbh->ib_charset); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./dbdimp.h:129:44: note: expanded from macro 'DPB_FILL_STRING' | |
DPB_FILL_STRING_LEN(dpb, code, string, strlen(string) ) | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | |
./dbdimp.h:134:43: note: expanded from macro 'DPB_FILL_STRING_LEN' | |
croak("DPB string too long (%d)", len); \ | |
^ | |
dbdimp.c:455:9: warning: format specifies type 'int' but the argument has type | |
'unsigned long' [-Wformat] | |
DPB_FILL_STRING(dpb, isc_dpb_sql_role_name, ib_role); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./dbdimp.h:129:44: note: expanded from macro 'DPB_FILL_STRING' | |
DPB_FILL_STRING_LEN(dpb, code, string, strlen(string) ) | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | |
./dbdimp.h:134:43: note: expanded from macro 'DPB_FILL_STRING_LEN' | |
croak("DPB string too long (%d)", len); \ | |
^ | |
dbdimp.c:1637:80: warning: comparison of constant -1 with expression of type | |
'unsigned short' is always false [-Wtautological-constant-out-of-range-compare] | |
if (max_segment == -1L || total_length == -1L || blob_type == -1) | |
~~~~~~~~~ ^ ~~ | |
dbdimp.c:1773:12: warning: implicit declaration of function 'dbd_st_finish_internal' is | |
invalid in C99 [-Wimplicit-function-declaration] | |
return dbd_st_finish_internal(sth, imp_sth, TRUE); | |
^ | |
6 warnings generated. | |
Running Mkbootstrap for DBD::Firebird () | |
chmod 644 Firebird.bs | |
rm -f blib/arch/auto/DBD/Firebird/Firebird.bundle | |
env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector -framework Firebird Firebird.o dbdimp.o -o blib/arch/auto/DBD/Firebird/Firebird.bundle \ | |
\ | |
ld: framework not found Firebird | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
make: *** [blib/arch/auto/DBD/Firebird/Firebird.bundle] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment