Advertisement
hakonhagland

install-dbd-firebird-macos

Oct 31st, 2021
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.19 KB | None | 0 0
  1. $ perl Makefile.PL
  2. Configuring DBD::Firebird (on darwin)
  3. Detected Firebird API version 30
  4.  
  5. FIREBIRD_HOME : /Library/Frameworks/Firebird.framework/Resources
  6. FIREBIRD_INCLUDE: /Library/Frameworks/Firebird.framework/Headers
  7. FIREBIRD_LIB : /Library/Frameworks/Firebird.framework/Libraries
  8. Client library : fbclient
  9.  
  10. Using DBI 1.643 (for perl 5.034000 on darwin-2level) installed in /Users/hakonhaegland/perl5/perlbrew/perls/perl-5.34.0/lib/site_perl/5.34.0/darwin-2level/auto/DBI/
  11. Found libfbembed, will build DBD::FirebirdEmbed too.
  12. Configuring DBD::FirebirdEmbedded (on darwin)
  13.  
  14. FIREBIRD_HOME : /Library/Frameworks/Firebird.framework/Resources
  15. FIREBIRD_INCLUDE: /Library/Frameworks/Firebird.framework/Headers
  16. FIREBIRD_LIB : /Library/Frameworks/Firebird.framework/Libraries
  17. Client library : fbclient
  18.  
  19. Writing MYMETA.yml and MYMETA.json
  20. Generating a Unix-style Makefile
  21. Writing Makefile for DBD::Firebird
  22. Writing MYMETA.yml and MYMETA.json
  23.  
  24. $ make
  25. cp lib/DBD/Firebird/TableInfo/Basic.pm blib/lib/DBD/Firebird/TableInfo/Basic.pm
  26. cp lib/DBD/Firebird/GetInfo.pm blib/lib/DBD/Firebird/GetInfo.pm
  27. cp lib/DBD/Firebird/TableInfo.pm blib/lib/DBD/Firebird/TableInfo.pm
  28. cp lib/DBD/Firebird/TypeInfo.pm blib/lib/DBD/Firebird/TypeInfo.pm
  29. cp Firebird.pm blib/lib/DBD/Firebird.pm
  30. cp lib/DBD/Firebird/TableInfo/Firebird21.pm blib/lib/DBD/Firebird/TableInfo/Firebird21.pm
  31. cp FirebirdEmbedded.pm ../blib/lib/DBD/FirebirdEmbedded.pm
  32. Running Mkbootstrap for FirebirdEmbedded ()
  33. chmod 644 "FirebirdEmbedded.bs"
  34. "/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.34.0/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- FirebirdEmbedded.bs ../blib/arch/auto/DBD/FirebirdEmbedded/FirebirdEmbedded.bs 644
  35. "/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.34.0/bin/perl" -p -e "s/~DRIVER~/FirebirdEmbedded/g" /Users/hakonhaegland/perl5/perlbrew/perls/perl-5.34.0/lib/site_perl/5.34.0/darwin-2level/auto/DBI/Driver.xst > FirebirdEmbedded.xsi
  36. "/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.34.0/bin/perl" "/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.34.0/lib/5.34.0/ExtUtils/xsubpp" -noprototypes -typemap '/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.34.0/lib/5.34.0/ExtUtils/typemap' FirebirdEmbedded.xs > FirebirdEmbedded.xsc
  37. mv FirebirdEmbedded.xsc FirebirdEmbedded.c
  38. cc -c -I"/Library/Frameworks/Firebird.framework/Headers" -I"/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.34.0/lib/site_perl/5.34.0/darwin-2level/auto/DBI" -I"/Library/Frameworks/Firebird.framework/Headers" -I"/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.34.0/lib/site_perl/5.34.0/darwin-2level/auto/DBI" -fno-common -DPERL_DARWIN -mmacosx-version-min=11.4 -fno-strict-aliasing -pipe -fstack-protector-strong -DPERL_USE_SAFE_PUTENV -Wno-error=implicit-function-declaration -O3 -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\" "-I/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.34.0/lib/5.34.0/darwin-2level/CORE" -DEMBEDDED FirebirdEmbedded.c
  39. FirebirdEmbedded.xs:1556:59: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
  40. DPB_FILL_STRING_LEN(dpb, isc_dpb_user_name, user, user_len);
  41. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
  42. ./dbdimp.h:140:43: note: expanded from macro 'DPB_FILL_STRING_LEN'
  43. croak("DPB string too long (%d)", len); \
  44. ~~ ^~~
  45. FirebirdEmbedded.xs:1560:57: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
  46. DPB_FILL_STRING_LEN(dpb, isc_dpb_password, pwd, pwd_len);
  47. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
  48. ./dbdimp.h:140:43: note: expanded from macro 'DPB_FILL_STRING_LEN'
  49. croak("DPB string too long (%d)", len); \
  50. ~~ ^~~
  51. 2 warnings generated.
  52. cc -c -I"/Library/Frameworks/Firebird.framework/Headers" -I"/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.34.0/lib/site_perl/5.34.0/darwin-2level/auto/DBI" -I"/Library/Frameworks/Firebird.framework/Headers" -I"/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.34.0/lib/site_perl/5.34.0/darwin-2level/auto/DBI" -fno-common -DPERL_DARWIN -mmacosx-version-min=11.4 -fno-strict-aliasing -pipe -fstack-protector-strong -DPERL_USE_SAFE_PUTENV -Wno-error=implicit-function-declaration -O3 -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\" "-I/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.34.0/lib/5.34.0/darwin-2level/CORE" -DEMBEDDED dbdimp.c
  53. dbdimp.c:443:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  54. DPB_FILL_STRING(dpb, isc_dpb_user_name, uid);
  55. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  56. ./dbdimp.h:135:44: note: expanded from macro 'DPB_FILL_STRING'
  57. DPB_FILL_STRING_LEN(dpb, code, string, strlen(string) )
  58. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  59. ./dbdimp.h:140:43: note: expanded from macro 'DPB_FILL_STRING_LEN'
  60. croak("DPB string too long (%d)", len); \
  61. ~~ ^~~
  62. dbdimp.c:445:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  63. DPB_FILL_STRING(dpb, isc_dpb_password, pwd);
  64. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  65. ./dbdimp.h:135:44: note: expanded from macro 'DPB_FILL_STRING'
  66. DPB_FILL_STRING_LEN(dpb, code, string, strlen(string) )
  67. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  68. ./dbdimp.h:140:43: note: expanded from macro 'DPB_FILL_STRING_LEN'
  69. croak("DPB string too long (%d)", len); \
  70. ~~ ^~~
  71. dbdimp.c:466:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  72. DPB_FILL_STRING(dpb, isc_dpb_lc_ctype, imp_dbh->ib_charset);
  73. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  74. ./dbdimp.h:135:44: note: expanded from macro 'DPB_FILL_STRING'
  75. DPB_FILL_STRING_LEN(dpb, code, string, strlen(string) )
  76. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  77. ./dbdimp.h:140:43: note: expanded from macro 'DPB_FILL_STRING_LEN'
  78. croak("DPB string too long (%d)", len); \
  79. ~~ ^~~
  80. dbdimp.c:471:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  81. DPB_FILL_STRING(dpb, isc_dpb_sql_role_name, ib_role);
  82. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  83. ./dbdimp.h:135:44: note: expanded from macro 'DPB_FILL_STRING'
  84. DPB_FILL_STRING_LEN(dpb, code, string, strlen(string) )
  85. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  86. ./dbdimp.h:140:43: note: expanded from macro 'DPB_FILL_STRING_LEN'
  87. croak("DPB string too long (%d)", len); \
  88. ~~ ^~~
  89. 4 warnings generated.
  90. rm -f ../blib/arch/auto/DBD/FirebirdEmbedded/FirebirdEmbedded.bundle
  91. cc -mmacosx-version-min=11.4 -bundle -undefined dynamic_lookup -fstack-protector-strong -framework Firebird FirebirdEmbedded.o dbdimp.o -o ../blib/arch/auto/DBD/FirebirdEmbedded/FirebirdEmbedded.bundle \
  92. \
  93.  
  94. ld: framework not found Firebird
  95. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  96. make[1]: *** [../blib/arch/auto/DBD/FirebirdEmbedded/FirebirdEmbedded.bundle] Error 1
  97. make: *** [subdirs] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement