[MacPorts] #34424: php52 compilation issues (pcre 1.0 related)
#34424: php52 compilation issues (pcre 1.0 related) ------------------------------------+--------------------------------------- Reporter: nicolabeghin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: ------------------------------------+--------------------------------------- Port php52 does not compile anymore due to pcre-related issues. I followed ryandesign latest SVN commits and even tried to compile with the previous versions of the ports (pcre,apache2,php52) but got no success. It seems it's all related to the upgrade of pcre to version 1.0 from /opt/local/lib/libpcre.0.dylib to /opt/local/lib/libpcre.1.dylib In attachment the port52 compilation log I tried with different variants (universal/readline) as the previous one was +apache2+imap+mysql5+pear+postgresql84+readline+sockets+sqlite+tidy but got no lock. -- Ticket URL: <https://trac.macports.org/ticket/34424> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34424: php52: Undefined symbols _pcre_info ------------------------------------+--------------------------------------- Reporter: nicolabeghin@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: php52 ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * cc: nicolabeghin@… (removed) * status: new => assigned * port: => php52 * owner: macports-tickets@… => ryandesign@… Comment: This was [https://bugs.php.net/bug.php?id=60986 fixed in PHP 5.3 and later]. I'll see if I can identify the fix and back-port it to PHP 5.2. Or maybe find a patch that another distribution is already using for this. -- Ticket URL: <https://trac.macports.org/ticket/34424#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34424: php52: Undefined symbols _pcre_info ------------------------------------+--------------------------------------- Reporter: nicolabeghin@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: php52 ------------------------------------+--------------------------------------- Comment(by ryandesign@…): Replying to [comment:2 ryandesign@…]:
I'll see if I can identify the fix
https://github.com/php/php- src/commit/0f6e3408db4d8fd96e24459389b06dc7a6e40ee2 https://github.com/php/php- src/commit/4ecfa5abf5d5cb47677565808bdd15dfb25e39b5 -- Ticket URL: <https://trac.macports.org/ticket/34424#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34424: php52: Undefined symbols _pcre_info -------------------------------------+-------------------------------------- Reporter: nicolabeghin@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: php52 | -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Replying to [comment:2 ryandesign@…]:
and back-port it to PHP 5.2
r92984 -- Ticket URL: <https://trac.macports.org/ticket/34424#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34424: php52: Undefined symbols _pcre_info -------------------------------------+-------------------------------------- Reporter: nicolabeghin@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: php52 | -------------------------------------+-------------------------------------- Comment(by nicolabeghin@…): thanks Ryan -- Ticket URL: <https://trac.macports.org/ticket/34424#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts