Bug 223989
| Summary: | php-oci8 from source rpm compile issue | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Alexandre CUILLERIER <acuillerier> | ||||
| Component: | php | Assignee: | Joe Orton <jorton> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | David Lawrence <dkl> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4.0 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-02-02 13:16:58 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Alexandre CUILLERIER
2007-01-23 14:41:17 UTC
Created attachment 146300 [details]
compilation log file
re-adding log file, couldn't see it
Solution found !!! the source rpm includes an oci8 patch which is not applied by the .spec file. This little patch (please be gentle, it's my first one : "diff -urN oldfile newfile" ) seems to make the compilation with oci8 option work! content of the patch (I named it: php-4.3.9-spec-RHEL4.oci8.patch): " --- php.spec 2006-11-02 22:26:49.000000000 +0100 +++ php.spec.patched 2007-01-23 17:28:21.000000000 +0100 @@ -37,6 +37,7 @@ Patch23: php-4.3.9-curlpost.patch Patch24: php-4.3.8-gdnspace.patch Patch25: php-4.3.2-curlsafemode.patch +Patch26: php-4.3.9-oci8.patch # Functional changes Patch30: php-4.3.1-dlopen.patch @@ -330,6 +331,7 @@ %patch23 -p1 -b .curlpost %patch24 -p1 -b .gdnspace %patch25 -p1 -b .curlsafemode +%patch26 -p1 -b .oci8 %patch30 -p1 -b .dlopen %patch31 -p1 -b .easter " which I applied with command: # patch -p0 <php-4.3.9-spec-RHEL4.oci8.patch Then compile php this way: # rpmbuild -bb --define "_with_oci8 1" php.spec |