cvs commit: ports/lang/php5 Makefile Makefile.ext distinfo
ports/lang/php5/files patch-sapi_cgi_config9.m4
ports/databases/php5-dba/files patch-config.m4
ports/databases/php5-mysqli/files patch-mysqli_api.c
ports/databases/php5-odbc/files patch-config.m4
Adam McDougall
mcdouga9 at egr.msu.edu
Tue Sep 18 17:56:46 PDT 2007
On FreeBSD 6.2-stable on multiple machines (one pretty fresh install)
I get a compile error early with php5-session 5.2.4 (but not 5.2.3),
but php5-session 5.2.4 works on 7.x:
host:/usr/ports/www/php5-session % make
===> Vulnerability check disabled, database not found
===> Extracting for php5-session-5.2.4
=> MD5 Checksum OK for php-5.2.4.tar.bz2.
=> SHA256 Checksum OK for php-5.2.4.tar.bz2.
===> Patching for php5-session-5.2.4
===> php5-session-5.2.4 depends on executable: phpize - found
===> php5-session-5.2.4 depends on file: /usr/local/bin/autoconf-2.59 - found
===> PHPizing for php5-session-5.2.4
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
===> Configuring for php5-session-5.2.4
configure: WARNING: you should use --build, --host, --target
checking for egrep... grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for i386-portbld-freebsd6.2-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether cc understands -c and -o together... yes
checking if compiler supports -R... yes
checking build system type... i386-portbld-freebsd6.2
checking host system type... i386-portbld-freebsd6.2
checking target system type... i386-portbld-freebsd6.2
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main
-I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext
-I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/20060613
checking for PHP installed headers prefix... /usr/local/include/php
checking for re2c... no
configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable PHP sessions... yes, shared
checking for mm support... no
checking whether pwrite works... yes
checking whether pread works... yes
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i386-portbld-freebsd6.2-g++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking the maximum length of command line arguments... (cached) 262144
checking command to parse nm output from cc object... ok
checking for objdir... .libs
checking for i386-portbld-freebsd6.2-ar... no
checking for ar... ar
checking for i386-portbld-freebsd6.2-ranlib... no
checking for ranlib... ranlib
checking for i386-portbld-freebsd6.2-strip... no
checking for strip... strip
checking if cc static flag works... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... freebsd6.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd6.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
configure: creating ./config.status
config.status: creating config.h
===> Building for php5-session-5.2.4
/bin/sh /usr/ports/www/php5-session/work/php-5.2.4/ext/session/libtool --mode=compile cc -I.
-I/usr/ports/www/php5-session/work/php-5.2.4/ext/session -DPHP_ATOM_INC
-I/usr/ports/www/php5-session/work/php-5.2.4/ext/session/include
-I/usr/ports/www/php5-session/work/php-5.2.4/ext/session/main
-I/usr/ports/www/php5-session/work/php-5.2.4/ext/session -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
-I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2
-fno-strict-aliasing -pipe -c /usr/ports/www/php5-session/work/php-5.2.4/ext/session/session.c -o
session.lo
mkdir .libs
cc -I. -I/usr/ports/www/php5-session/work/php-5.2.4/ext/session -DPHP_ATOM_INC
-I/usr/ports/www/php5-session/work/php-5.2.4/ext/session/include
-I/usr/ports/www/php5-session/work/php-5.2.4/ext/session/main
-I/usr/ports/www/php5-session/work/php-5.2.4/ext/session -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
-I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2
-fno-strict-aliasing -pipe -c /usr/ports/www/php5-session/work/php-5.2.4/ext/session/session.c -fPIC
-DPIC -o .libs/session.o
/usr/ports/www/php5-session/work/php-5.2.4/ext/session/session.c: In function `OnUpdateSaveDir':
/usr/ports/www/php5-session/work/php-5.2.4/ext/session/session.c:154: error: `PHP_INI_STAGE_HTACCESS'
undeclared (first use in this function)
/usr/ports/www/php5-session/work/php-5.2.4/ext/session/session.c:154: error: (Each undeclared
identifier is reported only once
/usr/ports/www/php5-session/work/php-5.2.4/ext/session/session.c:154: error: for each function it
appears in.)
*** Error code 1
Stop in /usr/ports/www/php5-session/work/php-5.2.4/ext/session.
*** Error code 1
I haven't had time to sit down and look deeply yet and I don't see any
relevant logs on pointyhat yet to indicate if this is my fault or not.
Figured I'd post to the mailing list before leaving work incase its
simple for someone else to fix. Let me know if I need to provide more
info? Thanks.
On Fri, Sep 14, 2007 at 06:29:31AM +0000, Alex Dupre wrote:
ale 2007-09-14 06:29:31 UTC
FreeBSD ports repository
Modified files:
lang/php5 Makefile Makefile.ext distinfo
lang/php5/files patch-sapi_cgi_config9.m4
databases/php5-dba/files patch-config.m4
Added files:
databases/php5-odbc/files patch-config.m4
Removed files:
databases/php5-mysqli/files patch-mysqli_api.c
Log:
Update to 5.2.4 release.
Revision Changes Path
1.6 +42 -52 ports/databases/php5-dba/files/patch-config.m4
1.2 +0 -32 ports/databases/php5-mysqli/files/patch-mysqli_api.c (dead)
1.1 +119 -0 ports/databases/php5-odbc/files/patch-config.m4 (new)
1.120 +5 -5 ports/lang/php5/Makefile
1.47 +11 -3 ports/lang/php5/Makefile.ext
1.36 +9 -9 ports/lang/php5/distinfo
1.3 +16 -16 ports/lang/php5/files/patch-sapi_cgi_config9.m4
_______________________________________________
cvs-ports at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-ports
To unsubscribe, send any mail to "cvs-ports-unsubscribe at freebsd.org"
More information about the cvs-ports
mailing list