APC breaking under freebsd!
| From: | Dan Phoenix | Date: | Wed, 04 Apr 2001 22:11:07 +0000 |
| Subject: | APC breaking under freebsd! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47135@lists.php.net to get a copy of this message | ||
Trying to enable apc under freebsd php. Running into problems compiling it
right into apache.
gcc -I. -I/usr/home/dphoenix/freebsd/php-4.0.4pl1/ext/apc
-I/usr/home/dphoenix/freebsd/php-4.0.4pl1/main
-I/usr/home/dphoenix/freebsd/php-4.0.4pl1
-I/usr/home/dphoenix/freebsd/apache_1.3.19/src/include
-I/usr/home/dphoenix/freebsd/apache_1.3.19/src/os/unix
-I/usr/home/dphoenix/freebsd/php-4.0.4pl1/Zend -I/usr/local/curl/include
-I/usr/local/include/freetype -I/usr/local/gd -I/usr/local/mysql/include
-I/usr/home/dphoenix/freebsd/php-4.0.4pl1/ext/xml/expat/xmltok
-I/usr/home/dphoenix/freebsd/php-4.0.4pl1/ext/xml/expat/xmlparse
-I/usr/home/dphoenix/freebsd/php-4.0.4pl1/TSRM -DXML_BYTE_ORDER=12 -O2
-c apc_sem.c && touch apc_sem.lo
apc_sem.c:33: redefinition of `union semun'
*** Error code 1
any ideas?
trying DSO method returns this
[root@frodo apc]# phpize
aclocal: not found
autoconf: Undefined macros:
configure.in:43:AC_PROG_LIBTOOL
You should add the contents of `/usr/local/share/aclocal/libtool.m4' to
`aclocal.m4'.
[root@frodo apc]#
very interesting....not sure how to proceed at this point.
as it is i had to cd into ports collection to install autoconf for this
apc thing. Any ideas would be great.
--
Dan
+------------------------------------------------------+
| BRAVENET WEB SERVICES |
| dan@bravenet.com |
| make installworld |
| ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail |
| ln -s /var/qmail/bin/newaliases /usr/sbin/newaliases |
+______________________________________________________+