After a couple of hours of trying to figure-out how to install apc so that I can setup multisite drupal on my ubuntu server I thought.... "The forum gurus will know" So, here is my issue:
I have installed the following:
apt-get install apache2-mpm-worker
apt-get install apache2-threaded-dev
apt-get install perl
apt-get install php5
apt-get install php5-dev
apt-get install php-pear
apt-get install mysql-server
#SET SYMBOLIC LINK FOR apxs
ln -s /usr/bin/apxs2 /usr/bin/apxs
# THEN I RUN THE FOLLOWING COMMAND:
pecl install apc
# I ANSWER THE FOLLOWING QUESTION:
Use apxs to set compile flags (if using APC with Apache)? [yes] : y
# I GET THE FOLLOWING:
----------------------------------------------------------------------------------------------
building in /var/tmp/pear-build-root/APC-3.0.19
running: /tmp/pear/temp/APC/configure --with-apxs=y
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes