* Attempting to compile latest php 8.0.0 from source
@ 2020-06-29 17:45 Cary Lewis
2020-06-29 18:42 ` Kevin Schnitzius
0 siblings, 1 reply; 2+ messages in thread
From: Cary Lewis @ 2020-06-29 17:45 UTC (permalink / raw)
To: cygwin
I did a git clone:
git clone https://github.com/php/php-src.git
then:
./configure --with-pear --enable-mbstring --with-curl --with-openssl
--with-xmlrpc --enable-soap --enable-zip --with-jpeg-dir
--with-png-dir --with-mysqli --enable-embedded-mysqli
--with-freetype-dir --enable-intl --with-xsl --with-zlib --with-json
but when I try to run make, i get errors:
/bin/sh /home/clewis/php-src/libtool --silent --preserve-dup-deps
--mode=compile g++ -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1
-DU_HIDE_OBSOLETE_UTF_OLD_H=1 -Wno-write-strings -D__STDC_LIMIT_MACROS
-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -std=c++11
-DUNISTR_FROM_CHAR_EXPLICIT=explicit
-DUNISTR_FROM_STRING_EXPLICIT=explicit -Iext/intl/
-I/home/clewis/php-src/ext/intl/ -DPHP_ATOM_INC
-I/home/clewis/php-src/include -I/home/clewis/php-src/main
-I/home/clewis/php-src -I/home/clewis/php-src/ext/date/lib
-I/usr/include/libxml2 -I/home/clewis/php-src/ext/mbstring/libmbfl
-I/home/clewis/php-src/ext/mbstring/libmbfl/mbfl
-I/home/clewis/php-src/TSRM -I/home/clewis/php-src/Zend -g -O2 -c
/home/clewis/php-src/ext/intl/intl_convertcpp.cpp -o
ext/intl/intl_convertcpp.lo
In file included from /home/clewis/php-src/Zend/zend.h:41,
from /home/clewis/php-src/main/php.h:31,
from /home/clewis/php-src/ext/intl/intl_convertcpp.cpp:20:
/home/clewis/php-src/Zend/zend_signal.h:44:2: error: ‘siginfo_t’ does not
name a type
44 | siginfo_t *siginfo;
| ^~~~~~~~~
In file included from /home/clewis/php-src/Zend/zend_types.h:25,
from /home/clewis/php-src/ext/intl/intl_convertcpp.h:23,
from /home/clewis/php-src/ext/intl/intl_convertcpp.cpp:17:
/home/clewis/php-src/Zend/zend_portability.h:378:18: error: ‘sigjmp_buf’
does not name a type; did you mean ‘jmp_buf’?
378 | # define JMP_BUF sigjmp_buf
| ^~~~~~~~~~
/home/clewis/php-src/Zend/zend_globals.h:151:2: note: in expansion of macro
‘JMP_BUF’
151 | JMP_BUF *bailout;
| ^~~~~~~
make: *** [Makefile:988: ext/intl/intl_convertcpp.lo] Error 1
Does anyone know how to patch php to compile under cygwin?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Attempting to compile latest php 8.0.0 from source
2020-06-29 17:45 Attempting to compile latest php 8.0.0 from source Cary Lewis
@ 2020-06-29 18:42 ` Kevin Schnitzius
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Schnitzius @ 2020-06-29 18:42 UTC (permalink / raw)
To: cygwin
On Monday, June 29, 2020, 01:46:09 PM EDT, Cary Lewis via Cygwin <cygwin@cygwin.com> wrote:
> I did a git clone:
> git clone https://github.com/php/php-src.git
The src is available from the setup-x86_64.exe. Find the package you are interested in and choose Src? checkbox.
Cloning the original source will not get any Cygwin patches.
Kevin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-29 18:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29 17:45 Attempting to compile latest php 8.0.0 from source Cary Lewis
2020-06-29 18:42 ` Kevin Schnitzius
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).