From: Tim Kellers on 17 Jun 2010 21:04 Sergey you saved my bacon. An upgrade to apache20 rev 15 broke nearly everything (and yes I had followed the upgrade instructions regarding apr -->apr1 to the letter that were posted in /usr/ports/UPDATING). php52 wouldn't compile with the apache module, svn was screwed up, apache20 was hopelessly unhappy... But now it works! l# uname -a FreeBSD l.njit.edu 7.3-PRERELEASE FreeBSD 7.3-PRERELEASE #0: Tue Mar 23 10:42:56 EDT 2010 timothyk(a)l.njit.edu:/usr/obj/usr/src/sys/AMD2 amd64 [Thu Jun 17 20:56:29 2010] [notice] Apache/2.0.63 (FreeBSD) DAV/2 SVN/1.6.11 PHP/5.2.13 with Suhosin-Patch configured -- resuming normal operations Thanks you again, Sergey. Tim Kellers New Jersey Institute of Technology _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: "Philip M. Gollucci" on 17 Jun 2010 23:21 You should file a bug. myself of ale@ will need to patch the php52 port to account for the changes to www/apche20. I'd suggest you use www/apache22 instead which does not have this issue. On 6/9/2010 9:27 PM, Sergey Matveychuk wrote: > Hi. > > I've update apache20 to the freshest version and I've tried update > php52, but fails with a compilation error: > > ----- > /bin/sh /usr/ports/lang/php52/work/php-5.2.13/libtool --silent > --preserve-dup-deps --mode=compile cc -I/usr/local/include/apache2 > -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/apr-0 > -I/usr/local/include/apr-0 -I/usr/local/include > -I/usr/local/include/db42 -Isapi/apache2handler/ > -I/usr/ports/lang/php52/work/php-5.2.13/sapi/apache2handler/ > -DPHP_ATOM_INC -I/usr/ports/lang/php52/work/php-5.2.13/include > -I/usr/ports/lang/php52/work/php-5.2.13/main > -I/usr/ports/lang/php52/work/php-5.2.13 > -I/usr/ports/lang/php52/work/php-5.2.13/ext/date/lib > -I/usr/local/include/libxml2 -I/usr/local/include > -I/usr/ports/lang/php52/work/php-5.2.13/TSRM > -I/usr/ports/lang/php52/work/php-5.2.13/Zend -O2 -fno-strict-aliasing > -pipe -march=prescott -prefer-non-pic -c > /usr/ports/lang/php52/work/php-5.2.13/sapi/apache2handler/sapi_apache2.c > -o sapi/apache2handler/sapi_apache2.lo > In file included from /usr/local/include/apache2/httpd.h:44, > from > /usr/ports/lang/php52/work/php-5.2.13/sapi/apache2handler/ > php_apache.h:24, > from > /usr/ports/lang/php52/work/php-5.2.13/sapi/apache2handler/ > mod_php5.c:26: > /usr/local/include/apache2/ap_regex.h:90: error: conflicting types for > 'regoff_t > ' > /usr/ports/lang/php52/work/php-5.2.13/regex/regex.h:17: error: previous > declarat > ion of 'regoff_t' was here > *** Error code 1 > In file included from /usr/local/include/apache2/httpd.h:44, > /bin/sh /usr/ports/lang/php52/work/php-5.2.13/libtool --silent > --preserve-dup-de > ps --mode=compile cc -I/usr/local/include/apache2 -D_REENTRANT > -D_THREAD_SAFE > -I/usr/local/include/apr-0 -I/usr/local/include/apr-0 > -I/usr/local/include -I/ > usr/local/include/db42 -Isapi/apache2handler/ > -I/usr/ports/lang/php52/work/php-5 > .2.13/sapi/apache2handler/ -DPHP_ATOM_INC > -I/usr/ports/lang/php52/work/php-5.2.1 > 3/include -I/usr/ports/lang/php52/work/php-5.2.13/main > -I/usr/ports/lang/php52/w > ork/php-5.2.13 -I/usr/ports/lang/php52/work/php-5.2.13/ext/date/lib > -I/usr/local > /include/libxml2 -I/usr/local/include > -I/usr/ports/lang/php52/work/php-5.2.13/TS > RM -I/usr/ports/lang/php52/work/php-5.2.13/Zend -O2 > -fno-strict-aliasing -pip > e -march=prescott -prefer-non-pic -c > /usr/ports/lang/php52/work/php-5.2.13/sapi > /apache2handler/sapi_apache2.c -o sapi/apache2handler/sapi_apache2.lo > In file included from /usr/local/include/apache2/httpd.h:44, > from > /usr/ports/lang/php52/work/php-5.2.13/sapi/apache2handler/ > php_apache.h:24, > from > /usr/ports/lang/php52/work/php-5.2.13/sapi/apache2handler/ > mod_php5.c:26: > /usr/local/include/apache2/ap_regex.h:90: error: conflicting types for > 'regoff_t > ' > /usr/ports/lang/php52/work/php-5.2.13/regex/regex.h:17: error: previous > declarat > ion of 'regoff_t' was here > *** Error code 1 > In file included from /usr/local/include/apache2/httpd.h:44, > ----- > > I've fixed it by commenting of the line: > > typedef int regoff_t; > > in /usr/local/include/apache2/ap_regex.h but I wonder if somebody got > the error too? -- ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci(a)p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.
From: Alex Keda on 3 Jul 2010 08:47 18.06.2010 07:21, Philip M. Gollucci пишет: > You should file a bug. myself of ale@ will need to patch the php52 port > to account for the changes to www/apche20. > Alex Dupre does not support this port If you know how fix it - please say, I'm fix. _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
|
Pages: 1 Prev: compilation error of php52 Next: Simple hack to get $1500 to your home. |