Date: Tue, 15 Aug 2006 16:37:33 -0700 (PDT) From: Mark Kent <mark@noc.mainstreet.net> To: freebsd-ports@freebsd.org Subject: php-templates in 6.1 Message-ID: <20060815233733.BACC1284F9@noc.mainstreet.net>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060815233733.BACC1284F9>