Advertisement
Guest User

Untitled

a guest
Mar 19th, 2014
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.46 KB | None | 0 0
  1. user@user-pc:~/PhpstormProjects$ git clone https://github.com/phalcon/cphalcon.git
  2. Cloning into 'cphalcon'...
  3. remote: Reusing existing pack: 61414, done.
  4. remote: Total 61414 (delta 0), reused 0 (delta 0)
  5. Receiving objects: 100% (61414/61414), 45.09 MiB | 4.25 MiB/s, done.
  6. Resolving deltas: 100% (47074/47074), done.
  7. user@user-pc:~/PhpstormProjects$ cd cphalcon/build
  8. user@user-pc:~/PhpstormProjects/cphalcon/build$ sudo ./install
  9. Configuring for:
  10. PHP Api Version: 20100412
  11. Zend Module Api No: 20100525
  12. Zend Extension Api No: 220100525
  13. checking for grep that handles long lines and -e... /bin/grep
  14. checking for egrep... /bin/grep -E
  15. checking for a sed that does not truncate output... /bin/sed
  16. checking whether the C compiler works... yes
  17. checking for C compiler default output file name... a.out
  18. checking for suffix of executables...
  19. checking whether we are cross compiling... no
  20. checking for suffix of object files... o
  21. checking whether we are using the GNU C compiler... yes
  22. checking whether gcc accepts -g... yes
  23. checking for gcc option to accept ISO C89... none needed
  24. checking how to run the C preprocessor... gcc -E
  25. checking for icc... no
  26. checking for suncc... no
  27. checking whether gcc and cc understand -c and -o together... yes
  28. checking for system library directory... lib
  29. checking if compiler supports -R... no
  30. checking if compiler supports -Wl,-rpath,... yes
  31. checking build system type... x86_64-unknown-linux-gnu
  32. checking host system type... x86_64-unknown-linux-gnu
  33. checking target system type... x86_64-unknown-linux-gnu
  34. checking for PHP prefix... /usr
  35. checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
  36. checking for PHP extension directory... /usr/lib/php5/20100525
  37. checking for PHP installed headers prefix... /usr/include/php5
  38. checking if debug is enabled... no
  39. checking if zts is enabled... no
  40. checking for re2c... re2c
  41. checking for re2c version... 0.13.5 (ok)
  42. checking for gawk... no
  43. checking for nawk... nawk
  44. checking if nawk is broken... no
  45. checking whether to enable phalcon framework... yes, shared
  46. checking whether byte ordering is bigendian... no
  47. checking for ext/igbinary/igbinary.h... no
  48. checking whether HAVE_BUNDLED_PCRE is declared... no
  49. checking whether HAVE_JSON is declared... yes
  50. checking for ext/json/php_json.h... yes
  51. checking whether HAVE_PHP_SESSION is declared... yes
  52. checking for ext/session/php_session.h... yes
  53. checking whether HAVE_HASH_EXT is declared... yes
  54. checking for ext/hash/php_hash.h... yes
  55. checking whether to include code coverage symbols... no
  56. checking how to print strings... printf
  57. checking for a sed that does not truncate output... (cached) /bin/sed
  58. checking for fgrep... /bin/grep -F
  59. checking for ld used by gcc... /usr/bin/ld
  60. checking if the linker (/usr/bin/ld) is GNU ld... yes
  61. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  62. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  63. checking whether ln -s works... yes
  64. checking the maximum length of command line arguments... 1572864
  65. checking whether the shell understands some XSI constructs... yes
  66. checking whether the shell understands "+="... yes
  67. checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
  68. checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
  69. checking for /usr/bin/ld option to reload object files... -r
  70. checking for objdump... objdump
  71. checking how to recognize dependent libraries... pass_all
  72. checking for dlltool... no
  73. checking how to associate runtime and link libraries... printf %s\n
  74. checking for ar... ar
  75. checking for archiver @FILE support... @
  76. checking for strip... strip
  77. checking for ranlib... ranlib
  78. checking for gawk... (cached) nawk
  79. checking command to parse /usr/bin/nm -B output from gcc object... ok
  80. checking for sysroot... no
  81. checking for mt... mt
  82. checking if mt is a manifest tool... no
  83. checking for ANSI C header files... yes
  84. checking for sys/types.h... yes
  85. checking for sys/stat.h... yes
  86. checking for stdlib.h... yes
  87. checking for string.h... yes
  88. checking for memory.h... yes
  89. checking for strings.h... yes
  90. checking for inttypes.h... yes
  91. checking for stdint.h... yes
  92. checking for unistd.h... yes
  93. checking for dlfcn.h... yes
  94. checking for objdir... .libs
  95. checking if gcc supports -fno-rtti -fno-exceptions... no
  96. checking for gcc option to produce PIC... -fPIC -DPIC
  97. checking if gcc PIC flag -fPIC -DPIC works... yes
  98. checking if gcc static flag -static works... yes
  99. checking if gcc supports -c -o file.o... yes
  100. checking if gcc supports -c -o file.o... (cached) yes
  101. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  102. checking whether -lc should be explicitly linked in... no
  103. checking dynamic linker characteristics... GNU/Linux ld.so
  104. checking how to hardcode library paths into programs... immediate
  105. checking whether stripping libraries is possible... yes
  106. checking if libtool supports shared libraries... yes
  107. checking whether to build shared libraries... yes
  108. checking whether to build static libraries... no
  109. configure: creating ./config.status
  110. config.status: creating config.h
  111. config.status: executing libtool commands
  112. /bin/sh /home/user/PhpstormProjects/cphalcon/build/64bits/libtool --mode=compile gcc -I. -I/home/user/PhpstormProjects/cphalcon/build/64bits -DPHP_ATOM_INC -I/home/user/PhpstormProjects/cphalcon/build/64bits/include -I/home/user/PhpstormProjects/cphalcon/build/64bits/main -I/home/user/PhpstormProjects/cphalcon/build/64bits -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DPHALCON_RELEASE -DHAVE_CONFIG_H -march=native -mtune=native -O2 -finline-functions -fomit-frame-pointer -fvisibility=hidden -c /home/user/PhpstormProjects/cphalcon/build/64bits/phalcon.c -o phalcon.lo
  113. libtool: compile: gcc -I. -I/home/user/PhpstormProjects/cphalcon/build/64bits -DPHP_ATOM_INC -I/home/user/PhpstormProjects/cphalcon/build/64bits/include -I/home/user/PhpstormProjects/cphalcon/build/64bits/main -I/home/user/PhpstormProjects/cphalcon/build/64bits -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DPHALCON_RELEASE -DHAVE_CONFIG_H -march=native -mtune=native -O2 -finline-functions -fomit-frame-pointer -fvisibility=hidden -c /home/user/PhpstormProjects/cphalcon/build/64bits/phalcon.c -fPIC -DPIC -o .libs/phalcon.o
  114. /bin/sh /home/user/PhpstormProjects/cphalcon/build/64bits/libtool --mode=link gcc -DPHP_ATOM_INC -I/home/user/PhpstormProjects/cphalcon/build/64bits/include -I/home/user/PhpstormProjects/cphalcon/build/64bits/main -I/home/user/PhpstormProjects/cphalcon/build/64bits -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DPHALCON_RELEASE -DHAVE_CONFIG_H -march=native -mtune=native -O2 -finline-functions -fomit-frame-pointer -fvisibility=hidden -o phalcon.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/user/PhpstormProjects/cphalcon/build/64bits/modules phalcon.lo
  115. libtool: link: gcc -shared -fPIC -DPIC .libs/phalcon.o -march=native -mtune=native -O2 -Wl,-soname -Wl,phalcon.so -o .libs/phalcon.so
  116. libtool: link: ( cd ".libs" && rm -f "phalcon.la" && ln -s "../phalcon.la" "phalcon.la" )
  117. /bin/sh /home/user/PhpstormProjects/cphalcon/build/64bits/libtool --mode=install cp ./phalcon.la /home/user/PhpstormProjects/cphalcon/build/64bits/modules
  118. libtool: install: cp ./.libs/phalcon.so /home/user/PhpstormProjects/cphalcon/build/64bits/modules/phalcon.so
  119. libtool: install: cp ./.libs/phalcon.lai /home/user/PhpstormProjects/cphalcon/build/64bits/modules/phalcon.la
  120. libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /home/user/PhpstormProjects/cphalcon/build/64bits/modules
  121. ----------------------------------------------------------------------
  122. Libraries have been installed in:
  123. /home/user/PhpstormProjects/cphalcon/build/64bits/modules
  124.  
  125. If you ever happen to want to link against installed libraries
  126. in a given directory, LIBDIR, you must either use libtool, and
  127. specify the full pathname of the library, or use the `-LLIBDIR'
  128. flag during linking and do at least one of the following:
  129. - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
  130. during execution
  131. - add LIBDIR to the `LD_RUN_PATH' environment variable
  132. during linking
  133. - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
  134. - have your system administrator add LIBDIR to `/etc/ld.so.conf'
  135.  
  136. See any operating system documentation about shared libraries for
  137. more information, such as the ld(1) and ld.so(8) manual pages.
  138. ----------------------------------------------------------------------
  139.  
  140. Build complete.
  141. Don't forget to run 'make test'.
  142.  
  143. Installing shared extensions: /usr/lib/php5/20100525/
  144.  
  145. Thanks for compiling Phalcon!
  146. Build succeed: Please restart your web server to complete the installation
  147. user@user-pc:~/PhpstormProjects/cphalcon/build$ cat /etc/php5/fpm/php.ini |grep phalcon
  148. extension=phalcon.so
  149. user@user-pc:~/PhpstormProjects/cphalcon/build$ sudo /etc/init.d/php5-fpm restart
  150. [ ok ] Restarting PHP5 FastCGI Process Manager: php5-fpm.
  151. user@user-pc:~/PhpstormProjects/cphalcon/build$ sudo /etc/init.d/nginx restart
  152. Restarting nginx: nginx.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement