[MacPorts] #20627: php5 5.3.0 Compile errors in pecl packages about missing pcre.h
#20627: php5 5.3.0 Compile errors in pecl packages about missing pcre.h -----------------------------+---------------------------------------------- Reporter: uwe@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 -----------------------------+---------------------------------------------- When building pecl extensions using php5 5.3.0 there is a problem with missing pcre.h. One example is the apc extension. It seems as this is a result of using the external pcre lib when building php5. But /opt/local/include is not appended to the includes when configuring the package. There is a [http://pecl.php.net/bugs/bug.php?id=15297 PECL Bug] that covers this bug. I manually added "-I/opt/local/include" in /opt/local/bin/php-config to the includes variable and after that apc compiled without any problems. I am not quite sure whether this is a bug in PHP or with macports. My knowledge about building php and messing with php-config is near to zero. ;) -- Ticket URL: <http://trac.macports.org/ticket/20627> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20627: php5 5.3.0 Compile errors in pecl packages about missing pcre.h -----------------------------+---------------------------------------------- Reporter: uwe@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 -----------------------------+---------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: I have not had any trouble compiling the php5-apc port. Are you using that, or attempting to compile APC manually outside of MacPorts? -- Ticket URL: <http://trac.macports.org/ticket/20627#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20627: php5 5.3.0 Compile errors in pecl packages about missing pcre.h -----------------------------+---------------------------------------------- Reporter: uwe@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 -----------------------------+---------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * status: new => assigned Comment: It probably makes sense for `php-config --includes` to list `-I${prefix}/includes` in addition to the paths it already lists. -- Ticket URL: <http://trac.macports.org/ticket/20627#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20627: php5 5.3.0 Compile errors in pecl packages about missing pcre.h -----------------------------+---------------------------------------------- Reporter: uwe@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 -----------------------------+---------------------------------------------- Comment(by uwe@…): I used pecl to install apc not the php5-apc port. -- Ticket URL: <http://trac.macports.org/ticket/20627#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20627: php5 5.3.0 Compile errors in pecl packages about missing pcre.h -----------------------------+---------------------------------------------- Reporter: uwe@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 -----------------------------+---------------------------------------------- Comment(by ryandesign@…): Fixed in php5 in r58589. Still need to fix php5-devel and investigate whether php52 and php4 are affected. -- Ticket URL: <http://trac.macports.org/ticket/20627#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20627: php5 5.3.0 Compile errors in pecl packages about missing pcre.h -----------------------------+---------------------------------------------- Reporter: uwe@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 -----------------------------+---------------------------------------------- Comment(by ryandesign@…): Fixed php5-devel in r58830. -- Ticket URL: <http://trac.macports.org/ticket/20627#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20627: php5 5.3.0 Compile errors in pecl packages about missing pcre.h -----------------------------+---------------------------------------------- Reporter: uwe@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: php5 -----------------------------+---------------------------------------------- Comment(by ryandesign@…): Fixed php52 in r58833. -- Ticket URL: <http://trac.macports.org/ticket/20627#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20627: php4, php52, php5, php5-devel: Compile errors in pecl packages about missing pcre.h --------------------------------------------+------------------------------- Reporter: uwe@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: php4, php52, php5, php5-devel | --------------------------------------------+------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed * port: php5 => php4, php52, php5, php5-devel Comment: Fixed php4 in r58844. -- Ticket URL: <http://trac.macports.org/ticket/20627#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts