configure php problem on new vps
-
Hello, I recently suscribed and I am following the ultimate vps guide. I have ran into a road block when doing ./configure for php. Here is the output:
root@dev:/usr/local/src/php-5.3.0# ./configure --with-config-file-path=/etc/php --with-config-file-scan-dir=/usr/local/lib/php --with-bz2 --with-curl --with-fpm --with-fpm-group=www-data --with-fpm-user=www-data --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-libevent=/usr/local/lib --with-mcrypt --with-mysqli=mysqlnd --with-openssl --with-zlib --enable-gd-native-ttf --enable-inline-optimization --enable-mbstring --enable-mbregex --enable-sockets --enable-sysvsem --enable-sysvshm --enable-zip --with-mysql --without-sqlite
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for icc... no
checking for suncc... no
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking whether ln -s works... yes
checking for system library directory... lib
checking whether to enable runpaths... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for gawk... gawk
checking for bison... no
checking for byacc... no
checking for bison version... invalid
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found: none).
checking for re2c... no
configure: warning: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking whether to enable computed goto gcc extension with re2c... no
checking whether to force non-PIC code in shared modules... no
checking whether /dev/urandom exists... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib...Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support... no
checking whether to enable Apache charset compatibility option... no
checking for Caudium support... no
checking for CLI build... yes
checking for Continuity support... no
checking for embedded SAPI library support... noConfiguring fpm
checking dynamic linker characteristics... GNU/Linux ld.so
checking for libevent >= 1.4.11... no
configure: warning: libevent.a could not be found. We looked in:
configure: warning: "/lib64 /usr/lib64 /usr/local/lib64"
configure: warning: Install libevent system-wide (make install)
configure: warning: Syntax:
configure: warning: --with-libevent=yes|path - link to libevent.a (static library)
configure: warning: --with-libevent=shared,path - link to libevent.so (shared library)
configure: error: libevent.a could not be found. Stop.
root@dev:/usr/local/src/php-5.3.0#I am doing this on ubuntu 10.4. My main server is a virtuozzo setup and my vps is a container within it.
I also had some confusing time on the adding domain entry and setting up the email, as my vps is not from any other company but from my own server. For the time being I just skipped that part.
Any help is appreciated.
Posted 1 year ago # -
I may have overlooked something in the tutorial, after taking a break for a few hours and re-doing it now it seems to be compiling without issues.
Posted 1 year ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
