Hi List, Trying to compile PHP4 on Woody, using the deb-src package php4-4.1.2. When I try to add, --with-java=/usr/lib/j2sdk1.3 to COMMON_CONFIG in php4-4.1.2/debian/rules then issue:
-- dpkg-buildpackage -uc -b Everything proceeds fine through the autoconf stage and starts compiling until I get this error: -- /usr/bin/ld: cannot find -l--library=db2 I think it's being caused by this malformed make line: -- /bin/sh /home/lbarbuto/php4-4.1.2/cgi-build/libtool --silent --mode=link gcc -I. -I/home/lbarbuto/php4-4.1.2/ -I/home/lbarbuto/php4-4.1.2/cgi-build/main -I/home/lbarbuto/php4-4.1.2 -I/home/lbarbuto/php4-4.1.2/cgi-build/Zend -I/home/lbarbuto/php4-4.1.2/main -I/home/lbarbuto/php4-4.1.2/Zend -I/home/lbarbuto/php4-4.1.2/TSRM -I/home/lbarbuto/php4-4.1.2/cgi-build/TSRM -O2 -Wall -fsigned-char -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -prefer-non-pic -static -o libphp4.la -rpath /home/lbarbuto/php4-4.1.2/cgi-build/libs stub.lo Zend/libZend.la sapi/cgi/libsapi.la main/libmain.la regex/libregex.la ext/zlib/libzlib.la ext/bcmath/libbcmath.la ext/bz2/libbz2.la ext/calendar/libcalendar.la ext/ctype/libctype.la ext/dba/libdba.la ext/exif/libexif.la ext/filepro/libfilepro.la ext/ftp/libftp.la ext/gettext/libgettext.la ext/iconv/libiconv.la ext/mbstring/libmbstring.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/shmop/libshmop.la ext/sockets/libsockets.la ext/standard/libstandard.la ext/sysvsem/libsysvsem.la ext/sysvshm/libsysvshm.la ext/wddx/libwddx.la ext/xml/libxml.la ext/yp/libyp.la TSRM/libtsrm.la -ldl -lexpat -lpcre -l -ldb2 -ldb1 -lbz2 -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt You can see at the end of the line "... -l -ldb2". I think this is the problem (missing argument to -l causing it took look for a library called "--library=db2"), I can't figure out where to fix it. Should I file a bug report? Can anyone help me with this issue? Thanks, Lucas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

