SHARE
TWEET

Untitled

a guest Nov 8th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [root@us-01 timezonedb-2019.3]# /usr/local/php71/bin/phpize
  2. Configuring for:
  3. PHP Api Version:         20160303
  4. Zend Module Api No:      20160303
  5. Zend Extension Api No:   320160303
  6. autoconf: warning: both `configure.ac' and `configure.in' are present.
  7. autoconf: warning: proceeding with `configure.ac'.
  8. autoheader: 'configure.ac' and 'configure.in' both present.
  9. autoheader: proceeding with 'configure.ac'
  10. [root@us-01 timezonedb-2019.3]# ./configure --with-php-config=/usr/local/php71/bin/php-config
  11. checking for grep that handles long lines and -e... /usr/bin/grep
  12. checking for egrep... /usr/bin/grep -E
  13. checking for a sed that does not truncate output... /usr/bin/sed
  14. checking for cc... cc
  15. checking whether the C compiler works... yes
  16. checking for C compiler default output file name... a.out
  17. checking for suffix of executables...
  18. checking whether we are cross compiling... no
  19. checking for suffix of object files... o
  20. checking whether we are using the GNU C compiler... yes
  21. checking whether cc accepts -g... yes
  22. checking for cc option to accept ISO C89... none needed
  23. checking how to run the C preprocessor... cc -E
  24. checking for icc... no
  25. checking for suncc... no
  26. checking whether cc understands -c and -o together... yes
  27. checking for system library directory... lib
  28. checking if compiler supports -R... no
  29. checking if compiler supports -Wl,-rpath,... yes
  30. checking build system type... x86_64-unknown-linux-gnu
  31. checking host system type... x86_64-unknown-linux-gnu
  32. checking target system type... x86_64-unknown-linux-gnu
  33. checking for PHP prefix... /usr/local/php71
  34. checking for PHP includes... -I/usr/local/php71/include/php -I/usr/local/php71/include/php/main -I/usr/local/php71/include/php/TSRM -I/usr/local/php71/include/php/Zend -I/usr/local/php71/include/php/ext -I/usr/local/php71/include/php/ext/date/lib
  35. checking for PHP extension directory... /usr/local/php71/lib/php/extensions/no-debug-non-zts-20160303
  36. checking for PHP installed headers prefix... /usr/local/php71/include/php
  37. checking if debug is enabled... no
  38. checking if zts is enabled... no
  39. checking for re2c... no
  40. configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
  41. checking for gawk... gawk
  42. checking whether to enable timezonedb support... yes, shared
  43. checking for ld used by cc... /usr/bin/ld
  44. checking if the linker (/usr/bin/ld) is GNU ld... yes
  45. checking for /usr/bin/ld option to reload object files... -r
  46. checking for BSD-compatible nm... /usr/bin/nm -B
  47. checking whether ln -s works... yes
  48. checking how to recognize dependent libraries... pass_all
  49. checking for ANSI C header files... yes
  50. checking for sys/types.h... yes
  51. checking for sys/stat.h... yes
  52. checking for stdlib.h... yes
  53. checking for string.h... yes
  54. checking for memory.h... yes
  55. checking for strings.h... yes
  56. checking for inttypes.h... yes
  57. checking for stdint.h... yes
  58. checking for unistd.h... yes
  59. checking dlfcn.h usability... yes
  60. checking dlfcn.h presence... yes
  61. checking for dlfcn.h... yes
  62. checking the maximum length of command line arguments... 1966080
  63. checking command to parse /usr/bin/nm -B output from cc object... ok
  64. checking for objdir... .libs
  65. checking for ar... ar
  66. checking for ranlib... ranlib
  67. checking for strip... strip
  68. checking if cc supports -fno-rtti -fno-exceptions... no
  69. checking for cc option to produce PIC... -fPIC
  70. checking if cc PIC flag -fPIC works... yes
  71. checking if cc static flag -static works... no
  72. checking if cc supports -c -o file.o... yes
  73. checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  74. checking whether -lc should be explicitly linked in... no
  75. checking dynamic linker characteristics... GNU/Linux ld.so
  76. checking how to hardcode library paths into programs... immediate
  77. checking whether stripping libraries is possible... yes
  78. checking if libtool supports shared libraries... yes
  79. checking whether to build shared libraries... yes
  80. checking whether to build static libraries... no
  81.  
  82. creating libtool
  83. appending configuration tag "CXX" to libtool
  84. configure: creating ./config.status
  85. config.status: creating config.h
  86. config.status: config.h is unchanged
  87. [root@us-01 timezonedb-2019.3]# make
  88. /bin/sh /usr/local/directadmin/custombuild/timezonedb-2019.3/libtool --mode=install cp ./timezonedb.la /usr/local/directadmin/custombuild/timezonedb-2019.3/modules
  89. cp ./.libs/timezonedb.so /usr/local/directadmin/custombuild/timezonedb-2019.3/modules/timezonedb.so
  90. cp ./.libs/timezonedb.lai /usr/local/directadmin/custombuild/timezonedb-2019.3/modules/timezonedb.la
  91. PATH="$PATH:/sbin" ldconfig -n /usr/local/directadmin/custombuild/timezonedb-2019.3/modules
  92. ----------------------------------------------------------------------
  93. Libraries have been installed in:
  94.   /usr/local/directadmin/custombuild/timezonedb-2019.3/modules
  95.  
  96. If you ever happen to want to link against installed libraries
  97. in a given directory, LIBDIR, you must either use libtool, and
  98. specify the full pathname of the library, or use the `-LLIBDIR'
  99. flag during linking and do at least one of the following:
  100.    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
  101.     during execution
  102.   - add LIBDIR to the `LD_RUN_PATH' environment variable
  103.      during linking
  104.    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
  105.   - have your system administrator add LIBDIR to `/etc/ld.so.conf'
  106.  
  107. See any operating system documentation about shared libraries for
  108. more information, such as the ld(1) and ld.so(8) manual pages.
  109. ----------------------------------------------------------------------
  110.  
  111. Build complete.
  112. Don't forget to run 'make test'.
  113.  
  114. [root@us-01 timezonedb-2019.3]# make install
  115. Installing shared extensions:     /usr/local/php71/lib/php/extensions/no-debug-non-zts-20160303/
  116. [root@us-01 timezonedb-2019.3]# echo "extension=timezonedb.so" >> /usr/local/php71/lib/php.conf.d/99-custom.ini
  117. [root@us-01 timezonedb-2019.3]# service httpd restart
  118. Redirecting to /bin/systemctl restart httpd.service
  119. [root@us-01 timezonedb-2019.3]# service php-fpm71 restart
  120. Redirecting to /bin/systemctl restart php-fpm71.service
  121. [root@us-01 timezonedb-2019.3]#
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top