Guest User


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