Hi Guys and gals,

I have a little problem.
I have to build php on a solaris machine with a few extras, so here is
my normal configure command:
./configure --enable-libgcc \
--with-oci8 \
--with-oracle \
--with-pdflib=/usr/local \
--with-apxs=/usr/local/bin/apxs \
--with-zlib-dir=/usr/local/lib \
--with-gd=/usr/local

We use pdflib version 4.0.2 and to use this pdflib version with php we
have to copy some files from the pdflib distribution to the php source
tree.
In fact we replace <phpdir>/ext/pdf/pdf.c and <phpdir>/ext/pdf/config.m4
After this replacement, I have to run buildconf, which results in the
following errors:

<begin-snip>
# ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.4 (ok)
buildconf: libtool version 1.4.2 (ok)
rebuilding Makefile templates
rebuilding configure
autoconf: Undefined macros:
configure.in:11:  AC_MSG_ERROR(--with-shared-apache is not supported.
Please refer to the documentation for using APXS)
configure.in:15:  AC_MSG_ERROR(--with-apache and --with-apxs cannot be
used together)
configure.in:219: AC_DEFINE(HAVE_LIBSOCKET,1,[ ]) ], [
configure.in:237: AC_DEFINE(HAVE_LIBNSL,1,[ ]) ],[
configure.in:240:  AC_DEFINE(HAVE_LIBNSL,1,[ ]) ], [])
configure.in:266: AC_DEFINE(HAVE_LIBSOCKET,1,[ ]) ], [
configure.in:269:  AC_DEFINE(HAVE_LIBRESOLV,1,[ ])
configure.in:362:  AC_DEFINE(HAVE_IPV6,1,[Whether you have IPv6
support])
configure.in:437:  AC_DEFINE(HAVE_GETADDRINFO,1,[Define if you have the
getaddrinfo function])
configure.in:465:  AC_DEFINE(in_addr_t, u_int, [ ])
configure.in:528:  AC_DEFINE(PHP_SAFE_MODE,1,[ ])
configure.in:530:  AC_DEFINE(PHP_SAFE_MODE,0,[ ])
configure.in:540:
AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
configure.in:543:
AC_DEFINE_UNQUOTED(PHP_SAFE_MODE_EXEC_DIR,"$withval", [ ])
configure.in:547:
AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
configure.in:551:
AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
configure.in:569:  AC_DEFINE(PHP_SIGCHILD, 1, [ ])
configure.in:571:  AC_DEFINE(PHP_SIGCHILD, 0, [ ])
configure.in:578:  AC_DEFINE(MAGIC_QUOTES, 1, [ ])
configure.in:580:  AC_DEFINE(MAGIC_QUOTES, 0, [ ])
configure.in:593:    AC_MSG_ERROR(Cannot locate libgcc. Make sure that
gcc is in your path)
configure.in:603:  AC_DEFINE(DEFAULT_SHORT_OPEN_TAG,"1",[ ])
configure.in:605:  AC_DEFINE(DEFAULT_SHORT_OPEN_TAG,"0",[ ])
configure.in:616:    AC_DEFINE(HAVE_DMALLOC,1,[Whether you have
dmalloc])
configure.in:619:    AC_MSG_ERROR(Problem with enabling dmalloc. Please
check config.log for details.)
configure.in:629:  AC_DEFINE(HAVE_PHP_STREAM, 1, [Whether to use php
streams])
configure.in:635:  AC_DEFINE(HAVE_CRYPT,1,[ ])
configure.in:706:  AC_DEFINE(ZTS,1,[ ])
configure.in:819:AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE",[PH
P build date])
configure.in:821:AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a
output])
configure.in:823:AC_DEFINE_UNQUOTED(PHP_OS,"$PHP_OS",[uname output])
rebuilding main/php_config.h.in
<end-snip>


I don't know what to do now and hopefully someone here is able to help
me.

Regards
Markus
--
Markus Boehmer
SSI Schaefer Shop GmbH
Datenbankadministration/-entwicklung
mailto:[EMAIL PROTECTED]


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to