[PHP-DB] Compiling --with-db3 on FreeBSD 4.1.1 From: Yanek Korff (yanek <email protected>)
Date: 11/15/00

Has anyone accommplished this before? I've tried editing the Makefile to
add --with-db3, and modifying scripts/configure.php in the mod_php4 dir to allow
DB3:
\"DB3\")
 echo "LIB_DEPENDS+= db3:\${PORTSDIR}/databases/db3"
 echo "CONFIGURE_ARGS+=--with-db3"
 ;;

But I've had no success. Am I missing something here?

**********contents of debug.log**************
CONFIGURE: './configure' '--with-apxs=/usr/local/sbin/apxs'
'--enable-versioning' '--with-system-regex'
'--with-config-file-path=/usr/local/etc' '--disable-debug'
'--enable-track-vars=yes' '--without-gd' '--disable-pear' '--without-mysql'
'--with-zlib' '--with-db3' '--with-xml=/usr/local' '--prefix=/usr/local'
'i386--freebsd4.1.1'
CC: cc
CFLAGS: -O -pipe
CPPFLAGS:
CXX: c++
CXXFLAGS: -O -pipe
INCLUDES: -I/usr/local/include/apache -I$(top_builddir)/Zend -I$(top_srcdir)
LDFLAGS:
LIBS: -l -lm -lcrypt
DLIBS:
SAPI: apache
PHP_RPATHS:
uname -a: FreeBSD puffer.spinthread.com 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0:
Mon Oct 30 22:55:17 EST 2000
root <email protected>:/usr/src/sys/compile/SPINTHREAD i386

cc -o conftest -O -pipe conftest.c -l -lm -lcrypt 1>&5
/usr/libexec/elf/ld: cannot find -l--library=m

-Yanek.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>