Date: Wed, 27 Oct 1999 08:43:13 -0700 From: "Erik Stainsby" <stainsby@telus.net> To: "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG> Subject: apache + php3 make bombing on mysqlclient Message-ID: <000301bf2091$fb540ec0$cf19c2cf@ws1>
next in thread | raw e-mail | index | archive | help
Greets,
This one is probably for Dirk ...?
Attempting to build an apache 1.3.9 + php 3.0.12 + mod_ssl 2.4.2
with about half of the configure.sh options selected:
* modssl (rsaref, openssl and ssh already in and working)
* GD
* freetype
* zlib
* pdflib
* IMAP
* MySQL (separately installed)
* OpenLDAP
* XML
make goes through checking the file dependencies, then
goes through a number of shared lib dependencies, starts some heavy disk
work and then bombs out with the following line:
/usr/bin/tar: archive - EOF not on block boundary
I have no clear idea of which file it is complaining about. I have randomly
brought down fresh copies of the key components, without change. Any
assistance would be appreciated.
Below is a capture of the current make output, followed by the
Makefile.inc -- Will provide further details as needed.
TIA, Erik
===
make >dump :
===> Extracting for apache+php+mod_ssl-1.3.9+3.0.12+2.4.2
>> No MD5 checksum file.
===> apache+php+mod_ssl-1.3.9+3.0.12+2.4.2 depends on executable:
openssl - found
===> apache+php+mod_ssl-1.3.9+3.0.12+2.4.2 depends on executable:
mm-config - found
===> apache+php+mod_ssl-1.3.9+3.0.12+2.4.2 depends on file:
/usr/local/lib/libssl.a - found
===> apache+php+mod_ssl-1.3.9+3.0.12+2.4.2 depends on file:
/usr/local/lib/libcrypto.a - found
===> apache+php+mod_ssl-1.3.9+3.0.12+2.4.2 depends on file:
/usr/local/lib/libmm.a - found
===> apache+php+mod_ssl-1.3.9+3.0.12+2.4.2 depends on file:
/usr/local/lib/libc-client4.a - found
===> apache+php+mod_ssl-1.3.9+3.0.12+2.4.2 depends on file:
/usr/local/lib/libldap.a - found
===> apache+php+mod_ssl-1.3.9+3.0.12+2.4.2 depends on file:
/usr/local/lib/liblber.a - found
===> apache+php+mod_ssl-1.3.9+3.0.12+2.4.2 depends on file:
/usr/local/lib/libexpat.a - found
===> apache+php+mod_ssl-1.3.9+3.0.12+2.4.2 depends on file:
/usr/local/include/xml/xmlparse.h - found
===> apache+php+mod_ssl-1.3.9+3.0.12+2.4.2 depends on file:
/usr/local/include/xml/xmltok.h - found
===> apache+php+mod_ssl-1.3.9+3.0.12+2.4.2 depends on shared library:
gd.0 - found
===> apache+php+mod_ssl-1.3.9+3.0.12+2.4.2 depends on shared library:
ttf.3 - found
===> apache+php+mod_ssl-1.3.9+3.0.12+2.4.2 depends on shared library:
pdf.2 - found
===> apache+php+mod_ssl-1.3.9+3.0.12+2.4.2 depends on shared library:
mysqlclient.6 - found
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
===
Makefile.inc:
PKGNAME=
apache+php+mod_ssl-${VERSION_APACHE}+${VERSION_PHP}+${VERSION_MODSSL}
DISTFILES+= mod_ssl-${VERSION_MODSSL}-${VERSION_APACHE}${EXTRACT_SUFX}
BUILD_DEPENDS+= openssl:${PORTSDIR}/security/openssl \
mm-config:${PORTSDIR}/devel/mm \
${PREFIX}/lib/libssl.a:${PORTSDIR}/security/openssl \
${PREFIX}/lib/libcrypto.a:${PORTSDIR}/security/openssl \
${PREFIX}/lib/libmm.a:${PORTSDIR}/devel/mm
RUN_DEPENDS+= openssl:${PORTSDIR}/security/openssl
VERSION_MODSSL= 2.4.2
RESTRICTED= "Contains cryptography"
CONFIGURE_ARGS+=--enable-module=ssl \
--enable-module=define
CONFIGURE_ENV+= SSL_BASE='SYSTEM' EAPI_MM='SYSTEM'
PATH="${PREFIX}/bin:${PATH}"
PLIST= ${PKGDIR}/PLIST.modssl
SSL= ssl
TYPE= test
CRT=
KEY=
pre-patch:
@cd ${WRKDIR}/mod_ssl-${VERSION_MODSSL}-${VERSION_APACHE} \
&& ${ECHO_MSG} "===> Applying mod_ssl-${VERSION_MODSSL} extension" \
&& ./configure --with-apache=../${DISTNAME} --expert
post-patch:
@cd ${WRKSRC} \
&& find . -type f -name "*.orig" -print | xargs ${RM} -f
post-build:
@cd ${WRKSRC} \
&& ${ECHO_MSG} "===> Creating Dummy Certificate for Server (SnakeOil)" \
&& ${ECHO_MSG} " [use 'make certificate' to create a real one]" \
&& ${MAKE} certificate TYPE=dummy >/dev/null 2>&1
certificate:
@cd ${WRKSRC} \
&& ${ECHO_MSG} "===> Creating Test Certificate for Server" \
&& ${MAKE} certificate TYPE=$(TYPE) CRT=$(CRT) KEY=$(KEY)
LIB_DEPENDS+= gd.0:${PORTSDIR}/graphics/gd
PHP_CONF_ARGS+= --with-gd=${PREFIX}
LIB_DEPENDS+= ttf.3:${PORTSDIR}/print/freetype
PHP_CONF_ARGS+= --with-ttf=${PREFIX}
PHP_CONF_ARGS+= --with-zlib
LIB_DEPENDS+= pdf.2:${PORTSDIR}/print/pdflib
PHP_CONF_ARGS+= --with-pdflib=${PREFIX} \
--with-jpeg-dir=${PREFIX} \
--with-tiff-dir=${PREFIX}
BUILD_DEPENDS+= ${PREFIX}/lib/libc-client4.a:${PORTSDIR}/mail/imap-uw
PHP_CONF_ARGS+= --with-imap=${PREFIX}
LIB_DEPENDS+= mysqlclient.6:${PORTSDIR}/databases/mysql322-client
PHP_CONF_ARGS+= --with-mysql=${PREFIX}
BUILD_DEPENDS+= ${PREFIX}/lib/libldap.a:${PORTSDIR}/net/openldap
BUILD_DEPENDS+= ${PREFIX}/lib/liblber.a:${PORTSDIR}/net/openldap
PHP_CONF_ARGS+= --with-ldap=${PREFIX}
BUILD_DEPENDS+= ${PREFIX}/lib/libexpat.a:${PORTSDIR}/textproc/expat
BUILD_DEPENDS+= ${PREFIX}/include/xml/xmlparse.h:${PORTSDIR}/textproc/expat
BUILD_DEPENDS+= ${PREFIX}/include/xml/xmltok.h:${PORTSDIR}/textproc/expat
PHP_CONF_ARGS+= --with-xml=${PREFIX}
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000301bf2091$fb540ec0$cf19c2cf>
