From owner-freebsd-ports@FreeBSD.ORG Tue Aug 15 23:37:35 2006 Return-Path: X-Original-To: freebsd-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 2F09016A4DD for ; Tue, 15 Aug 2006 23:37:35 +0000 (UTC) (envelope-from mark@noc.mainstreet.net) Received: from noc.mainstreet.net (noc.mainstreet.net [207.5.0.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA0B643D78 for ; Tue, 15 Aug 2006 23:37:34 +0000 (GMT) (envelope-from mark@noc.mainstreet.net) Received: from localhost (localhost [127.0.0.1]) by noc.mainstreet.net (Postfix) with ESMTP id 7C56A284E6 for ; Tue, 15 Aug 2006 16:37:34 -0700 (PDT) Received: from noc.mainstreet.net ([127.0.0.1]) by localhost (noc.mainstreet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 69398-06 for ; Tue, 15 Aug 2006 16:37:33 -0700 (PDT) Received: by noc.mainstreet.net (Postfix, from userid 1002) id BACC1284F9; Tue, 15 Aug 2006 16:37:33 -0700 (PDT) From: Mark Kent To: freebsd-ports@freebsd.org Message-Id: <20060815233733.BACC1284F9@noc.mainstreet.net> Date: Tue, 15 Aug 2006 16:37:33 -0700 (PDT) Subject: php-templates in 6.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Aug 2006 23:37:35 -0000 Hello, I'm trying to build php4 with php-templates on 6.1-RELEASE. My system, with /usr/ports updated, uses php-4.4.3 and php-templates-1.7.2. I get a compile error in php-templates (see below). I looked at the code and the pre-processor output and the best I can come up with is "Yeah, looks like a problem", which puts me on par with the compiler, but doesn't help me move forward. Any hints on how I fix this? BTW, I just installed a virgin 6.1 and note that it uses php-4.4.2 and php_templates-1.7, and it fails in the same way. Thanks, -mark ===> Building for php-templates-1.7.2 /bin/sh /usr/ports/www/php-templates/work/templates/libtool --mode=compile gcc -I. -I/usr/ports/www/php-templates/work/templates -DPHP_ATOM_INC -I/usr/ports/www/php-templates/work/templates/include -I/usr/ports/www/php-templates/work/templates/main -I/usr/ports/www/php-templates/work/templates -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 -O2 -fno-strict-aliasing -pipe -c /usr/ports/www/php-templates/work/templates/templates.c -o templates.lo gcc -I. -I/usr/ports/www/php-templates/work/templates -DPHP_ATOM_INC -I/usr/ports/www/php-templates/work/templates/include -I/usr/ports/www/php-templates/work/templates/main -I/usr/ports/www/php-templates/work/templates -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 -O2 -fno-strict-aliasing -pipe -c /usr/ports/www/php-templates/work/templates/templates.c -fPIC -DPIC -o templates.lo /usr/ports/www/php-templates/work/templates/templates.c: In function `php_tmpl_init': /usr/ports/www/php-templates/work/templates/templates.c:370: error: `__zend_filename' undeclared (first use in this function) /usr/ports/www/php-templates/work/templates/templates.c:370: error: (Each undeclared identifier is reported only once /usr/ports/www/php-templates/work/templates/templates.c:370: error: for each function it appears in.) /usr/ports/www/php-templates/work/templates/templates.c:370: error: `__zend_lineno' undeclared (first use in this function) *** Error code 1 Stop in /usr/ports/www/php-templates/work/templates.