Hi,
I am having some trouble building PHP 4.3 with Sablotron support for
Mac OS X v10.2.
My configure script looks like this:
./configure \
--prefix=/DCServers/php_server/php \
--with-apxs=/DCServers/php_server/apache/bin/apxs \
--with-mysql=shared,/usr/local/mysql \
--with-pgsql=shared \
--with-curl=shared,/DCServers/php_server/php/support/curl \
--with-openssl=shared,/usr/local/ssl \
--with-expat-dir=/usr/local \
--with-iconv-dir=/usr/local \
--with-iconv=shared,usr/local \
--enable-sablot-errors-descriptive \
--with-xslt-sablot=shared \
--with-sablot=shared,usr/local/lib \
--enable-xslt \
--enable-shared=yes \
--enable-debugger \
--enable-discard-path \
--enable-maintainer-mode \
--enable-safe-mode \
--enable-track-dirs \
--enable-track-vars \
--enable-url-includes \
--enable-mbstr-enc-trans \
--enable-mbstring \
--enable-mbregex \
--enable-wddx \
--disable-force-cgi-redirect \
--disable-short-tags \
< /dev/null
When I run make, it dies with this message:
gcc -dynamic -twolevel_namespace -bundle -bundle_loader
/DCServers/php_server/apache/bin/httpd -g -O2 -L/usr/local/ssl/lib
-L/usr/local/lib ext/ctype/ctype.o ext/mbstring/mbfilter_ja.o
ext/mbstring/mbfilter_cn.o ext/mbstring/mbfilter_tw.o
ext/mbstring/mbfilter_kr.o ext/mbstring/mbfilter_ru.o
ext/mbstring/mbfilter.o ext/mbstring/mbstring.o ext/mbstring/mbregex.o
ext/mbstring/php_mbregex.o ext/mbstring/html_entities.o
ext/mbstring/php_unicode.o ext/overload/overload.o
ext/pcre/pcrelib/maketables.o ext/pcre/pcrelib/get.o
ext/pcre/pcrelib/study.o ext/pcre/pcrelib/pcre.o ext/pcre/php_pcre.o
ext/posix/posix.o ext/session/session.o ext/session/mod_files.o
ext/session/mod_mm.o ext/session/mod_user.o ext/standard/array.o
ext/standard/base64.o ext/standard/basic_functions.o
ext/standard/browscap.o ext/standard/crc32.o ext/standard/crypt.o
ext/standard/cyr_convert.o ext/standard/datetime.o ext/standard/dir.o
ext/standard/dl.o ext/standard/dns.o ext/standard/exec.o
ext/standard/file.o ext/standard/filestat.o ext/standard/flock_compat.o
ext/standard/formatted_print.o ext/standard/fsock.o ext/standard/head.o
ext/standard/html.o ext/standard/image.o ext/standard/info.o
ext/standard/iptc.o ext/standard/lcg.o ext/standard/link.o
ext/standard/mail.o ext/standard/math.o ext/standard/md5.o
ext/standard/metaphone.o ext/standard/microtime.o ext/standard/pack.o
ext/standard/pageinfo.o ext/standard/parsedate.o
ext/standard/quot_print.o ext/standard/rand.o ext/standard/reg.o
ext/standard/soundex.o ext/standard/string.o ext/standard/scanf.o
ext/standard/syslog.o ext/standard/type.o ext/standard/uniqid.o
ext/standard/url.o ext/standard/url_scanner.o ext/standard/var.o
ext/standard/versioning.o ext/standard/assert.o
ext/standard/strnatcmp.o ext/standard/levenshtein.o
ext/standard/incomplete_class.o ext/standard/url_scanner_ex.o
ext/standard/ftp_fopen_wrapper.o ext/standard/http_fopen_wrapper.o
ext/standard/php_fopen_wrapper.o ext/standard/credits.o
ext/standard/css.o ext/standard/var_unserializer.o ext/standard/ftok.o
ext/standard/aggregation.o ext/standard/sha1.o
ext/tokenizer/tokenizer.o ext/wddx/wddx.o ext/xml/xml.o ext/xslt/xslt.o
ext/xslt/sablot.o regex/regcomp.o regex/regexec.o regex/regerror.o
regex/regfree.o TSRM/TSRM.o TSRM/tsrm_strtok_r.o
TSRM/tsrm_virtual_cwd.o main/main.o main/snprintf.o main/spprintf.o
main/php_sprintf.o main/safe_mode.o main/fopen_wrappers.o main/alloca.o
main/php_ini.o main/SAPI.o main/rfc1867.o main/php_content_types.o
main/strlcpy.o main/strlcat.o main/mergesort.o main/reentrancy.o
main/php_variables.o main/php_ticks.o main/streams.o main/network.o
main/php_open_temporary_file.o main/php_logos.o main/output.o
main/memory_streams.o main/user_streams.o Zend/zend_language_parser.o
Zend/zend_language_scanner.o Zend/zend_ini_parser.o
Zend/zend_ini_scanner.o Zend/zend_alloc.o Zend/zend_compile.o
Zend/zend_constants.o Zend/zend_dynamic_array.o Zend/zend_execute_API.o
Zend/zend_highlight.o Zend/zend_llist.o Zend/zend_opcode.o
Zend/zend_operators.o Zend/zend_ptr_stack.o Zend/zend_stack.o
Zend/zend_variables.o Zend/zend.o Zend/zend_API.o
Zend/zend_extensions.o Zend/zend_hash.o Zend/zend_list.o
Zend/zend_indent.o Zend/zend_builtin_functions.o Zend/zend_sprintf.o
Zend/zend_ini.o Zend/zend_qsort.o Zend/zend_multibyte.o
Zend/zend_execute.o sapi/apache/sapi_apache.o sapi/apache/mod_php4.o
sapi/apache/php_apache.o main/internal_functions.o -lsablot -liconv
-lexpat -lexpat -lssl -lcrypto -lm -ldl -ldl -o libs/libphp4.bundle &&
cp libs/libphp4.bundle libs/libphp4.so
ld: Undefined symbols:
vtable for __cxxabiv1::__class_type_info
vtable for __cxxabiv1::__si_class_type_info
operator delete[](void*)
operator delete(void*)
operator new(unsigned long)
___gxx_personality_v0
std::terminate()
operator new[](unsigned long)
vtable for __cxxabiv1::__vmi_class_type_info
___cxa_pure_virtual
make: *** [libs/libphp4.bundle] Error 1
Am I missing some libraries for Sablotron, or what? Could one of you
big brain guys help me out?
Thanks,
Dean