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 |
| [EMAIL PROTECTED] |
| make installworld |
| ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail |
| ln -s /var/qmail/bin/newaliases /usr/sbin/newaliases |
+______________________________________________________+
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]