Bug 33679 - Missing parts in SPEC file to build mysql module for php3
Summary: Missing parts in SPEC file to build mysql module for php3
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: php
Version: 6.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Copeland
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-03-28 20:41 UTC by Russell McOrmond
Modified: 2007-04-18 16:32 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-12-07 23:59:06 UTC
Embargoed:


Attachments (Terms of Use)

Description Russell McOrmond 2001-03-28 20:41:28 UTC
Looking at the SPEC file for php-3.0.18-1.6.x it suggests that all I need
to do to build a mysql PHP module is to change the define at the top.  This
is not the case as there is other missing information to be able to build
the mysql module.

Here is the missing info as a patch file:

--- php.spec    Fri Jan 19 11:01:28 2001
+++ php.spec-rwm        Tue Mar 27 22:31:49 2001
@@ -48,6 +48,21 @@
 The php-manual package provides comprehensive documentation for the
 PHP3 HTML-embedded scripting language, in HTML format.
 
+# MySQL module
+%if %{mysql}
+%package mysql
+Obsoletes: mod_php3-mysql
+Group: System Environment/Daemons
+Summary: A MySQL database module for PHP3
+Prereq: php = %{version}
+
+%description mysql
+The php-mysql package includes a dynamic shared object (DSO) that can
+be compiled in to the Apache Web server to add mysql database
+support to PHP3.
+%endif
+
+
 %package pgsql
 Group: System Environment/Daemons
 Prereq: php = %{version}
@@ -114,6 +129,8 @@
        --with-system-regex \
        --disable-debug \
        --with-zlib \
+       --with-dbase \
+       --with-filepro \
        --with-gdbm \
        --with-db2 \
        --enable-debugger \
@@ -121,7 +138,6 @@
        --enable-track-vars \
        --enable-sysvsem \
        --enable-sysvshm \
-       --enable-track-vars \
        --with-xml \
        --with-ftp
 


Note: While not a bug, I also note that --enable-track-vars was included
twice in the configure line.

Comment 1 Bill Nottingham 2001-12-08 03:37:23 UTC
This is not something that would be backported to a future 6.x package, most likely.


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