Re: php7.0 fail on stable

2016-08-18 Thread Thuban
* Frank Groeneveld  le [18-08-2016
22:07:07 +0200]:
> On Thu, Aug 18, 2016 at 09:09:38PM +0200, Thuban wrote:
> > Hello,
> > I was trying to build php7.0 with ports, but it fails (see configure
> > failure below).
> >
> > I'm running on 5.9 with stable patches (for both ports and src of
> > course).
> >
> > It seems that configure doesn't recognise the "--with-apxs" option".
>
> It's missing a dependency, see this thread:
> http://marc.info/?t=14605309296=1=2
>
> This should be fixed in 6.0, but for 5.9 you can work around it by
> installing apache-httpd before compiling php.
>
> Frank


Thanks!

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



Re: php7.0 fail on stable

2016-08-18 Thread Frank Groeneveld
On Thu, Aug 18, 2016 at 09:09:38PM +0200, Thuban wrote:
> Hello,
> I was trying to build php7.0 with ports, but it fails (see configure
> failure below).
> 
> I'm running on 5.9 with stable patches (for both ports and src of
> course).
> 
> It seems that configure doesn't recognise the "--with-apxs" option".

It's missing a dependency, see this thread:
http://marc.info/?t=14605309296=1=2

This should be fixed in 6.0, but for 5.9 you can work around it by
installing apache-httpd before compiling php.

Frank



php7.0 fail on stable

2016-08-18 Thread Thuban
Hello,
I was trying to build php7.0 with ports, but it fails (see configure
failure below).

I'm running on 5.9 with stable patches (for both ports and src of
course).

It seems that configure doesn't recognise the "--with-apxs" option".



===>  Configuring for php-7.0.2
Using /usr/ports/pobj/php-7.0.2/config.site (generated)
/usr/bin/perl /usr/ports/infrastructure/bin/pkg_subst
-DMODPHP_CONFIG_PATH=/var/www/conf -DSV=70 -DPV=7.0 -D^MODULE_NAME=
-DMACHINE_ARCH=amd64 -DARCH=amd64 -DHOMEPAGE=http://www.php.net/
-D^PREFIX=/usr/local -D^SYSCONFDIR=/etc -DFLAVOR_EXT= -DFULLPKGNAME=php-7.0.2
-DMAINTAINER=Robert\ Nagy\ \ -D^BASE_PKGPATH=lang/php/7.0
-D^LOCALBASE=/usr/local -D^X11BASE=/usr/X11R6 -D^TRUEPREFIX=/usr/local
-D^RCDIR=/etc/rc.d -D^LOCALSTATEDIR=/var -i -B /usr/ports/pobj/php-7.0.2
/usr/ports/pobj/php-7.0.2/php-7.0.2/main/php_ini.c
configure: WARNING: unrecognized options: --enable-sqlite-utf8,
--with-apxs, --enable-zend-multibyte, --enable-fastcgi, --with-t1lib,
--enable-ucd-snmp-hack, --disable-silent-rules, --disable-gtk-doc
configure: loading site script /usr/ports/pobj/php-7.0.2/config.site
checking for grep that handles long lines and -e... (cached)
/usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking build system type... x86_64-unknown-openbsd5.9
checking host system type... x86_64-unknown-openbsd5.9
checking target system type... x86_64-unknown-openbsd5.9
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether ln -s works... yes
checking for system library directory... lib
checking whether to enable runpaths... no
checking if compiler supports -R... yes
checking for gawk... (cached) awk
checking if awk is broken... no
checking for bison... yacc
checking for bison version... invalid
configure: WARNING: This bison version is not supported for regeneration
of the Zend/PHP parsers (found: none, min: 204, excluded: ).
checking for re2c... re2c
checking for re2c version... 0.15.3 (ok)
checking whether to enable computed goto gcc extension with re2c... no
checking whether to force non-PIC code in shared modules... no
checking whether /dev/urandom exists... yes
checking whether /dev/arandom exists... yes
checking for global register variables support... no
checking for pthreads_cflags...
checking for pthreads_lib...

Configuring SAPI modules
checking for Apache 2.0 handler-module support via DSO through APXS...

Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using
--with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is
displayed)

The output of /usr/local/sbin/apxs2 follows:
./configure[6900]: /usr/local/sbin/apxs2: not found
configure: error: Aborting
*** Error 127 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2750
'/usr/ports/pobj/php-7.0.2/.configure_done': @for d in
/usr/ports/pobj/php...)
*** Error 1 in /usr/ports/lang/php/7.0
(/usr/ports/infrastructure/mk/bsd.port.mk:2495 'all')


--
/Thuban/

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]