delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/29/13:46:46

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 73E12383F869
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1593452763;
bh=Y5foNSiVCbIlDECOvQ1buAfAX+PnbshJA1ZT25KvZ2M=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=bbObcxQdIJjOt6v5NuE/VFDPl9EIRl/FNKkDXkJKxMEA+OGYOXcIxMwUscEjjkwB4
gwE6gdYUttKUOAwDOneMDAaNpUhAOUSqMMhAZTuF4HY3gXdKT7ff0kMcU4fDsHgorf
hsayKi+1Qn7DmYgtASKRg8hkSa70gXPLVsqE4olU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 71AB1386EC42
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=FLGd2r563pNbkhhabsnKsDTteSFIS6qa4/U8GUu1+w4=;
b=jiIvABTB6ZSeErqN9ZNrLTBbFKP01X4YthljR4ZHcVtoDk+3nOSaTZrZIifBwXQNUO
oDtQU7vwdQWDQfpfV47zlr/WRllcGFn9z19XHX/yDAGgVqATt35a1cBlhOkQ1P7A+tyO
BMzsCTE0zDiEi88GBeci8ltmd9+Sv1ra4JRS6Jmeb+5kUFHhhwXP5W74/GWEqppShVje
OHVPxC0/WihB/xd3Jr/EGDfIf7Tae6+Uz2N6836dgomF9ox1p+t2voDr5iJaKFg/1cDv
3JPjDOxqTYcEQVcgjrwaOwvaEBD7qjHmO19jlBCdMs3/Xj0VTCpg54mtJbULBoU93NJH
iVTQ==
X-Gm-Message-State: AOAM531xMIdJyGlWGoWWaF3hQoXqRcHoDpCcPvFUMCi3zFY6+TXd7GRr
G+kja11Jd+UJaLggtOOYFSvxjxvIZbzsCRGcK6WaFvHjzgtHMyo=
X-Google-Smtp-Source: ABdhPJzXpT6o5r5DBFTlo3rKMgu/O+YZvqmlnz2gyhDT2hBIrXdFGNGPHozMfV9Vc+SdYEY3x23JJ+lqAXUtXtPZpYc=
X-Received: by 2002:a19:22d6:: with SMTP id i205mr9871834lfi.50.1593452758960;
Mon, 29 Jun 2020 10:45:58 -0700 (PDT)
MIME-Version: 1.0
Date: Mon, 29 Jun 2020 13:45:47 -0400
Message-ID: <CAEF1h+VOh=ESLoXGfKPGGX9KZVFTYqM2MjvbJLu3iXvaSxze9w@mail.gmail.com>
Subject: Attempting to compile latest php 8.0.0 from source
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Cary Lewis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Cary Lewis <cary DOT lewis AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 05THkRui021449

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?
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019