Thread: Can't install APC on Ubuntu Server 10.04
i'm trying install alternative php cache on web server , running error pecl.
i have apache2-threaded-dev installed don't know go here. apache installed using lamp during os install.code:checking whether apc needs compiler flags apxs... sorry, not able run apxs. possible reasons: 1. perl not installed; 2. apache not compiled dso support (--enable-module=so); 3. 'apxs' not in path. try use --with-apxs=/path/to/apxs output of /var/tmp/pear-build-root/apc-3.0.19/y follows /tmp/pear/temp/apc/configure: line 4113: /var/tmp/pear-build-root/apc-3.0.19/y: no such file or directory configure: error: aborting error: `/tmp/pear/temp/apc/configure --with-apxs=y' failed
full output when trying install is:
anyone have ideas? there doesn't seem lot of perl related guides around debain based systems. ones i've found older versions , aren't helping.code:chris@webserver:~$ sudo pecl install apc [sudo] password chris: downloading apc-3.0.19.tgz ... starting download apc-3.0.19.tgz (115,735 bytes) ......................done: 115,735 bytes 47 source files, building running: phpize configuring for: php api version: 20090626 zend module api no: 20090626 zend extension api no: 220090626 use apxs set compile flags (if using apc apache)? [yes] : y building in /var/tmp/pear-build-root/apc-3.0.19 running: /tmp/pear/temp/apc/configure --with-apxs=y checking grep handles long lines , -e... /bin/grep checking egrep... /bin/grep -e checking sed not truncate output... /bin/sed checking cc... cc checking whether c compiler works... yes checking c compiler default output file name... a.out checking suffix of executables... checking whether cross compiling... no checking suffix of object files... o checking whether using gnu c compiler... yes checking whether cc accepts -g... yes checking cc option accept iso c89... none needed checking how run c preprocessor... cc -e checking icc... no checking suncc... no checking whether cc understands -c , -o together... yes checking system library directory... lib checking if compiler supports -r... no checking if compiler supports -wl,-rpath,... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking php prefix... /usr checking 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 checking php extension directory... /usr/lib/php5/20090626+lfs checking php installed headers prefix... /usr/include/php5 checking if debug enabled... no checking if zts enabled... no checking re2c... no configure: warning: need re2c 0.13.4 or later if want regenerate php parsers. checking gawk... no checking nawk... nawk checking if nawk broken... no checking whether apc needs compiler flags apxs... sorry, not able run apxs. possible reasons: 1. perl not installed; 2. apache not compiled dso support (--enable-module=so); 3. 'apxs' not in path. try use --with-apxs=/path/to/apxs output of /var/tmp/pear-build-root/apc-3.0.19/y follows /tmp/pear/temp/apc/configure: line 4113: /var/tmp/pear-build-root/apc-3.0.19/y: no such file or directory configure: error: aborting error: `/tmp/pear/temp/apc/configure --with-apxs=y' failed chris@webserver:~$ checking whether apc needs compiler flags apxs... sorry, not able run apxs. possible reasons: 1. perl not installed; 2. apache not compiled dso support (--enable-module=so); 3. 'apxs' not in path. try use --with-apxs=/path/to/apxs output of /var/tmp/pear-build-root/apc-3.0.19/y follows /tmp/pear/temp/apc/configure: line 4113: /var/tmp/pear-build-root/apc-3.0.19/y: no such file or directory configure: error: aborting error: `/tmp/pear/temp/apc/configure --with-apxs=y' failed no command 'checking' found, did mean: command 'checkint' package 'netdiag' (universe) checking: command not found
apc packaged on ubuntu 10.04, have tried packaged php module version?
package: php-apc
current version: 3.1.3p1-2
dependencies: libc6 phpapi-20090626+lfs
suggests: php5-gd
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] Can't install APC on Ubuntu Server 10.04
Ubuntu
Comments
Post a Comment