From owner-freebsd-ports@FreeBSD.ORG Fri Sep 23 01:54:14 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD6E716A41F for ; Fri, 23 Sep 2005 01:54:14 +0000 (GMT) (envelope-from jdyke@azimapower.com) Received: from mail.prospeed.net (mail.prospeed.net [12.46.111.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C24943D45 for ; Fri, 23 Sep 2005 01:54:14 +0000 (GMT) (envelope-from jdyke@azimapower.com) Received: from [192.168.2.45] ([12.41.46.74]) by mail.prospeed.net (8.13.0/8.13.0) with ESMTP id j8N1sCRI020087 for ; Thu, 22 Sep 2005 21:54:13 -0400 Message-ID: <4333603C.40500@azimapower.com> Date: Fri, 23 Sep 2005 01:54:04 +0000 From: jdyke Organization: Azima Inc. User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: zlib with php in a jail X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jdyke@azimapower.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2005 01:54:14 -0000 i'm building three/four jails for dev-prod development evironments...the last environment is php4, it has to be backwards compatible with our last software release....in trying to install php4-extensions i'm getting the following error on zlib php4 - config ===> The following configuration options are set for php4-4.3.11: APACHE2=on "Use apache 2.x instead of apache 1.3.x" DEBUG=off "Enable debug" IPV6=off "Enable ipv6 support" OPENSSL=on "Build static OpenSSL extension" ===> Building for php4-zlib-4.3.11 /bin/sh /usr/ports/archivers/php4-zlib/work/php-4.3.11/ext/zlib/libtool --mode=compile cc -I. -I/usr/ports/archivers/php4-zlib/work/php-4.3.11/ext/zlib -DPHP_ATOM_INC -I/usr/ports/archivers/php4-zlib/work/php-4.3.11/ext/zlib/include -I/usr/ports/archivers/php4-zlib/work/php-4.3.11/ext/zlib/main -I/usr/ports/archivers/php4-zlib/work/php-4.3.11/ext/zlib -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -DHAVE_CONFIG_H -O -pipe -c /usr/ports/archivers/php4-zlib/work/php-4.3.11/ext/zlib/zlib.c -o zlib.lo cc -I. -I/usr/ports/archivers/php4-zlib/work/php-4.3.11/ext/zlib -DPHP_ATOM_INC -I/usr/ports/archivers/php4-zlib/work/php-4.3.11/ext/zlib/include -I/usr/ports/archivers/php4-zlib/work/php-4.3.11/ext/zlib/main -I/usr/ports/archivers/php4-zlib/work/php-4.3.11/ext/zlib -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -DHAVE_CONFIG_H -O -pipe -c /usr/ports/archivers/php4-zlib/work/php-4.3.11/ext/zlib/zlib.c -fPIC -DPIC -o zlib.lo In file included from /usr/local/include/php/ext/standard/fsock.h:38, from /usr/local/include/php/ext/standard/php_standard.h:44, from /usr/ports/archivers/php4-zlib/work/php-4.3.11/ext/zlib/zlib.c:48: */usr/local/include/php/main/php_network.h:78:25: openssl/ssl.h: No such file or directory* In file included from /usr/local/include/php/ext/standard/fsock.h:38, from /usr/local/include/php/ext/standard/php_standard.h:44, from /usr/ports/archivers/php4-zlib/work/php-4.3.11/ext/zlib/zlib.c:48: /usr/local/include/php/main/php_network.h:129: error: syntax error before "SSL" /usr/local/include/php/main/php_network.h:162: error: syntax error before "SSL_METHOD" I can build this on the main server, but not in the jail. ' the missing file is in /usr/local/include/openssl/ssl.h, but this is not in the include path noted with -I unless i'm blind Any assistance is greatly appreciated. Thanks Jeff ps. i'm aware that 4.4.0 is out, but they have changed some internal reference handling (http://bugs.php.net/bug.php?id=33643) and its way to much work to update the code, when its all moving to php5 anyway.