{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/10101","labels_url":"https://api.github.com/repos/phalcon/cphalcon/issues/10101/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/cphalcon/issues/10101/comments","events_url":"https://api.github.com/repos/phalcon/cphalcon/issues/10101/events","html_url":"https://github.com/phalcon/cphalcon/issues/10101","id":69633556,"number":10101,"title":"[help!] [2.0.0] build phalcon 2.0.0 error...what should i do?","user":{"login":"Xiphin","id":3348428,"avatar_url":"https://avatars.githubusercontent.com/u/3348428?v=3","gravatar_id":"","url":"https://api.github.com/users/Xiphin","html_url":"https://github.com/Xiphin","followers_url":"https://api.github.com/users/Xiphin/followers","following_url":"https://api.github.com/users/Xiphin/following{/other_user}","gists_url":"https://api.github.com/users/Xiphin/gists{/gist_id}","starred_url":"https://api.github.com/users/Xiphin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xiphin/subscriptions","organizations_url":"https://api.github.com/users/Xiphin/orgs","repos_url":"https://api.github.com/users/Xiphin/repos","events_url":"https://api.github.com/users/Xiphin/events{/privacy}","received_events_url":"https://api.github.com/users/Xiphin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-20T17:09:28Z","updated_at":"2015-04-20T19:16:00Z","closed_at":null,"body":"#sudo ./install\r\nfind . -name \\*.gcno -o -name \\*.gcda | xargs rm -f\r\nfind . -name \\*.lo -o -name \\*.o | xargs rm -f\r\nfind . -name \\*.la -o -name \\*.a | xargs rm -f \r\nfind . -name \\*.so | xargs rm -f\r\nfind . -name .libs -a -type d|xargs rm -rf\r\nrm -f libphp.la   modules/* libs/*\r\nCleaning..\r\nConfiguring for:\r\nPHP Api Version:         20131106\r\nZend Module Api No:      20131226\r\nZend Extension Api No:   220131226\r\nchecking for grep that handles long lines and -e... /bin/grep\r\nchecking for egrep... /bin/grep -E\r\nchecking for a sed that does not truncate output... /bin/sed\r\nchecking for C compiler default output file name... a.out\r\nchecking whether the C compiler works... yes\r\nchecking whether we are cross compiling... no\r\nchecking for suffix of executables... \r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether gcc accepts -g... yes\r\nchecking for gcc option to accept ISO C89... none needed\r\nchecking how to run the C preprocessor... gcc -E\r\nchecking for icc... no\r\nchecking for suncc... no\r\nchecking whether gcc and cc understand -c and -o together... yes\r\nchecking for system library directory... lib\r\nchecking if compiler supports -R... no\r\nchecking if compiler supports -Wl,-rpath,... yes\r\nchecking build system type... x86_64-unknown-linux-gnu\r\nchecking host system type... x86_64-unknown-linux-gnu\r\nchecking target system type... x86_64-unknown-linux-gnu\r\nchecking for PHP prefix... /usr\r\nchecking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib\r\nchecking for PHP extension directory... /usr/lib64/php/modules\r\nchecking for PHP installed headers prefix... /usr/include/php\r\nchecking if debug is enabled... no\r\nchecking if zts is enabled... no\r\nchecking for re2c... no\r\nconfigure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.\r\nchecking for gawk... gawk\r\nchecking whether to enable phalcon... yes, shared\r\nchecking whether HAVE_BUNDLED_PCRE is declared... no\r\nchecking whether HAVE_JSON is declared... yes\r\nchecking for ext/json/php_json.h... yes\r\nchecking for ld used by gcc... /usr/bin/ld\r\nchecking if the linker (/usr/bin/ld) is GNU ld... yes\r\nchecking for /usr/bin/ld option to reload object files... -r\r\nchecking for BSD-compatible nm... /usr/bin/nm -B\r\nchecking whether ln -s works... yes\r\nchecking how to recognize dependent libraries... pass_all\r\nchecking for ANSI C header files... yes\r\nchecking for sys/types.h... yes\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... yes\r\nchecking for stdint.h... yes\r\nchecking for unistd.h... yes\r\nchecking dlfcn.h usability... yes\r\nchecking dlfcn.h presence... yes\r\nchecking for dlfcn.h... yes\r\nchecking the maximum length of command line arguments... 1966080\r\nchecking command to parse /usr/bin/nm -B output from gcc object... ok\r\nchecking for objdir... .libs\r\nchecking for ar... ar\r\nchecking for ranlib... ranlib\r\nchecking for strip... strip\r\nchecking if gcc supports -fno-rtti -fno-exceptions... no\r\nchecking for gcc option to produce PIC... -fPIC\r\nchecking if gcc PIC flag -fPIC works... yes\r\nchecking if gcc static flag -static works... yes\r\nchecking if gcc supports -c -o file.o... yes\r\nchecking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes\r\nchecking whether -lc should be explicitly linked in... no\r\nchecking dynamic linker characteristics... GNU/Linux ld.so\r\nchecking how to hardcode library paths into programs... immediate\r\nchecking whether stripping libraries is possible... yes\r\nchecking if libtool supports shared libraries... yes\r\nchecking whether to build shared libraries... yes\r\nchecking whether to build static libraries... no\r\n\r\ncreating libtool\r\nappending configuration tag \"CXX\" to libtool\r\nconfigure: creating ./config.status\r\nconfig.status: creating config.h\r\n/bin/sh /root/cphalcon/build/64bits/libtool --mode=compile gcc  -I. -I/root/cphalcon/build/64bits -DPHP_ATOM_INC -I/root/cphalcon/build/64bits/include -I/root/cphalcon/build/64bits/main -I/root/cphalcon/build/64bits -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DPHALCON_RELEASE -DHAVE_CONFIG_H  -march=native -mtune=native -O2 -finline-functions -fomit-frame-pointer -fvisibility=hidden   -c /root/cphalcon/build/64bits/phalcon.zep.c -o phalcon.lo \r\nmkdir .libs\r\n gcc -I. -I/root/cphalcon/build/64bits -DPHP_ATOM_INC -I/root/cphalcon/build/64bits/include -I/root/cphalcon/build/64bits/main -I/root/cphalcon/build/64bits -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DPHALCON_RELEASE -DHAVE_CONFIG_H -march=native -mtune=native -O2 -finline-functions -fomit-frame-pointer -fvisibility=hidden -c /root/cphalcon/build/64bits/phalcon.zep.c  -fPIC -DPIC -o .libs/phalcon.o\r\n/root/cphalcon/build/64bits/phalcon.zep.c: In function ‘zephir_fetch_static_property_ce’:\r\n/root/cphalcon/build/64bits/phalcon.zep.c:6559: warning: passing argument 2 of ‘zend_read_static_property’ discards qualifiers from pointer target type\r\n/usr/include/php/Zend/zend_API.h:321: note: expected ‘char *’ but argument is of type ‘const char *’\r\n/root/cphalcon/build/64bits/phalcon.zep.c: In function ‘zephir_update_static_property_ex’:\r\n/root/cphalcon/build/64bits/phalcon.zep.c:6669: warning: passing argument 2 of ‘zend_std_get_static_property’ discards qualifiers from pointer target type\r\n/usr/include/php/Zend/zend_object_handlers.h:147: note: expected ‘char *’ but argument is of type ‘const char *’\r\n/root/cphalcon/build/64bits/phalcon.zep.c: At top level:\r\n/root/cphalcon/build/64bits/phalcon.zep.c:126687: error: ‘ZEND_FE_END’ undeclared here (not in a function)\r\n\r\nPlease help me! What should i do?\r\n-----------------------------------------------------------------------------------------------------------------------------\r\nFrom China Phalconer!"},"comment":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/comments/94545023","html_url":"https://github.com/phalcon/cphalcon/issues/10101#issuecomment-94545023","issue_url":"https://api.github.com/repos/phalcon/cphalcon/issues/10101","id":94545023,"user":{"login":"Xiphin","id":3348428,"avatar_url":"https://avatars.githubusercontent.com/u/3348428?v=3","gravatar_id":"","url":"https://api.github.com/users/Xiphin","html_url":"https://github.com/Xiphin","followers_url":"https://api.github.com/users/Xiphin/followers","following_url":"https://api.github.com/users/Xiphin/following{/other_user}","gists_url":"https://api.github.com/users/Xiphin/gists{/gist_id}","starred_url":"https://api.github.com/users/Xiphin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xiphin/subscriptions","organizations_url":"https://api.github.com/users/Xiphin/orgs","repos_url":"https://api.github.com/users/Xiphin/repos","events_url":"https://api.github.com/users/Xiphin/events{/privacy}","received_events_url":"https://api.github.com/users/Xiphin/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T19:16:00Z","updated_at":"2015-04-20T19:16:00Z","body":"Usage: /usr/bin/php-config [OPTION]\r\nOptions:\r\n  --prefix            [/usr]\r\n  --includes          [-I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib]\r\n  --ldflags           []\r\n  --libs              [-lcrypt   -lcrypt -ledit -lncurses -lgmp -lbz2 -lz -lpcre -lm -ldl -lnsl  -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lssl -lcrypto -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lcrypt ]\r\n  --extension-dir     [/usr/lib64/php/modules]\r\n  --include-dir       [/usr/include/php]\r\n  --php-binary        [/usr/bin/php]\r\n  --php-sapis         [cli cgi]\r\n  --configure-options [--build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-libdir=lib64 --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic --disable-rpath --without-pear --with-bz2 --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-pcre-regex=/usr --with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --with-kerberos --enable-ucd-snmp-hack --enable-shmop --enable-calendar --without-sqlite --with-libxml-dir=/usr --enable-xml --with-system-tzdata --enable-force-cgi-redirect --enable-pcntl --with-imap=shared --with-imap-ssl --enable-mbstring=shared --enable-mbregex --with-gd=shared --enable-bcmath=shared --enable-dba=shared --with-db4=/usr --with-xmlrpc=shared --with-ldap=shared --with-ldap-sasl --with-mysql=shared,/usr --with-mysqli=shared,/usr/lib64/mysql/mysql_config --enable-dom=shared --with-pgsql=shared --enable-wddx=shared --with-snmp=shared,/usr --enable-soap=shared --with-xsl=shared,/usr --enable-xmlreader=shared --enable-xmlwriter=shared --with-curl=shared,/usr --enable-fastcgi --enable-pdo=shared --with-pdo-odbc=shared,unixODBC,/usr --with-pdo-mysql=shared,/usr/lib64/mysql/mysql_config --with-pdo-pgsql=shared,/usr --with-pdo-sqlite=shared,/usr --with-sqlite3=shared,/usr --enable-json=shared --enable-zip=shared --without-readline --with-libedit --with-pspell=shared --enable-phar=shared --with-tidy=shared,/usr --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared --enable-posix=shared --with-unixODBC=shared,/usr --enable-fileinfo=shared --enable-intl=shared --with-icu-dir=/usr --with-enchant=shared,/usr --with-recode=shared,/usr]\r\n  --version           [5.3.3]\r\n  --vernum            [50303]"}}