Compiling --with-db3 on FreeBSD 4.1.1
| From: | Yanek Korff | Date: | Wed, 15 Nov 2000 05:09:29 +0000 |
| Subject: | Compiling --with-db3 on FreeBSD 4.1.1 | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-4443@lists.php.net to get a copy of this message | ||
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@puffer.cox.rr.com:/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.