Bug 110482 - php-4.3.3-6.src.rpm with oci8 build errors
Summary: php-4.3.3-6.src.rpm with oci8 build errors
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: php
Version: 1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: David Lawrence
URL:
Whiteboard:
: 113189 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-19 22:20 UTC by Richard D. Hamblett
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version: 4.3.4-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-12-18 11:18:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
fix for mysql and oracle (1.14 KB, patch)
2003-11-28 14:44 UTC, Jan Visser
no flags Details | Diff

Description Richard D. Hamblett 2003-11-19 22:20:40 UTC
Description of problem:
When building php-4.3.3-6 from src.rpm with --define 'oracle 1' the 
files lists and stub .ini files for the oci8 subpackage are not
generated and the build stops with errors.  When I changed
"%{!?oracle:oci8}", in line 397 of the php.spec file, to "oci8" the
build worked OK.  I don't know enough sh scipting to fix it properly.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jan Visser 2003-11-28 14:44:46 UTC
Created attachment 96237 [details]
fix for mysql and oracle 

This patch should fix the problem with files.mssql and files.oci8 not being
generated

Comment 2 Joe Orton 2003-11-28 14:56:18 UTC
Thanks for looking into this.  It looks like a simpler fix is to change:

%{!?oracle:oci8} %{!?mssql:mssql}

to

%{?oracle:oci8} %{?mssql:mssql}


Comment 3 Joe Orton 2003-12-01 11:23:46 UTC
I've integrated that change for 4.3.4-2 in Raw Hide, can you try it
out when it's available?

Comment 4 Joe Orton 2003-12-18 11:18:23 UTC
Please reopen if there are furhter problems with 4.3.4-2 or later. 
Thanks for the report and patch.

Comment 5 Joe Orton 2004-01-09 14:53:02 UTC
*** Bug 113189 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.