[Bug 746384] New: adding php extensions with pecl does not work
https://bugzilla.novell.com/show_bug.cgi?id=746384 https://bugzilla.novell.com/show_bug.cgi?id=746384#c0 Summary: adding php extensions with pecl does not work Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: joachim.banzhaf@googlemail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 Installed with standard packages selection Updated to most current packages Added (at least) the following packags with zypper: apache2 php5 hg apache2-mod_php5 php5-pdo php5-devel php5-pear gcc-c++ Then I execute pecl (here with -f because I found a workaround and it is already installed) # pecl install -f pdo_ibm pecl.php.net is using a unsupported protocol - This should never happen. .. checking for PDO includes... configure: error: Cannot find php_pdo_driver.h. ERROR: `/tmp/pear/temp/PDO_IBM/configure --with-pdo-ibm=/opt/ibm/db2/V9.7.4' failed Two things, not sure if they are related: 1) "this should never happen" should never happen, right? 2) PDO includes should be found. They are in /usr/include/php5 Build can be "fixed" by creating a link like this: # cd /usr/include # ln -s php5 php I don't know if this is a packaging problem (i.e the distro should make sure this link is created) or the pecl and pdo_ibm (and other) packages should be changed upstream, so they can find what they need in /usr/include/php5. Anyways if I create this link, the extension builds just fine. But the "never happen" problem persists, even if I do root@job1 ~ # cd `pear config-get php_dir` root@job1 /usr/share/php5/PEAR # mv .channels .channels-broken root@job1 /usr/share/php5/PEAR # pear update-channels Updating channel "doc.php.net" Channel "doc.php.net" is up to date Updating channel "pear.php.net" Channel "pear.php.net" is up to date Updating channel "pecl.php.net" Update of Channel "pecl.php.net" succeeded Reproducible: Always Steps to Reproduce: 1. zypper install apache2 php5 hg apache2-mod_php5 php5-pdo php5-devel php5-pear gcc-c++ 2. pecl install -f pdo_ibm Actual Results: warning pecl.php.net is using a unsupported protocol - This should never happen. and extension does not build Expected Results: no warning and extension builds workaround: cd /usr/include ln -s php5 php -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=746384 https://bugzilla.novell.com/show_bug.cgi?id=746384#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |crrodriguez@opensuse.org |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=746384 https://bugzilla.novell.com/show_bug.cgi?id=746384#c1 Joachim Banzhaf <joachim.banzhaf@googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |Development AssignedTo|crrodriguez@opensuse.org |bnc-team-screening@forge.pr | |ovo.novell.com Product|openSUSE 12.1 |openSUSE 12.2 --- Comment #1 from Joachim Banzhaf <joachim.banzhaf@googlemail.com> 2012-11-08 15:20:42 UTC --- just came back to this and found its the same in 12.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=746384 https://bugzilla.novell.com/show_bug.cgi?id=746384#c Joachim Banzhaf <joachim.banzhaf@googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|openSUSE 12.1 |openSUSE 12.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=746384 https://bugzilla.novell.com/show_bug.cgi?id=746384#c Jiaying ren <jren@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jren@suse.com AssignedTo|bnc-team-screening@forge.pr |mvyskocil@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=746384 https://bugzilla.novell.com/show_bug.cgi?id=746384#c2 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pgajdos@suse.com AssignedTo|mvyskocil@suse.com |crrodriguez@opensuse.org --- Comment #2 from Michal Vyskocil <mvyskocil@suse.com> 2012-11-12 12:29:08 UTC --- moved to the bugowner of devel:languages:php/php5 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com