|
|
Choosing A Webhost: |
CVS update of libmysequoia/test-suite/php5 (README): msg#00080db.carob.cvs
Date: Thursday, February 23, 2006 @ 19:16:46 Author: mathieu Path: /cvsroot/carob/libmysequoia/test-suite/php5 Modified: README (1.3 -> 1.4) Added instructions to run the tests with RHEL4 --------+ README | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 131 insertions(+), 8 deletions(-) Index: libmysequoia/test-suite/php5/README diff -u libmysequoia/test-suite/php5/README:1.3 libmysequoia/test-suite/php5/README:1.4 --- libmysequoia/test-suite/php5/README:1.3 Thu Feb 23 14:26:23 2006 +++ libmysequoia/test-suite/php5/README Thu Feb 23 19:16:45 2006 @@ -1,8 +1,6 @@ Steps to run the tests: -Prerequisites: - -Debian (stable version): +Prerequisites for Debian (stable version): fakeroot, devscripts, debhelper, autotools-dev, doxygen, dpatch, libxml2-dev, zlib1g-dev, graphviz, autoconf, automake1.9, libtool, libmysqlclient15-dev, libcppunit-dev, lcov @@ -55,7 +53,131 @@ ./autogen.sh debuild -Red Hat Enterprise ES +Red Hat Enterprise ES: + +- Install MySQL 5 + Use rpms from MySQL web site (including dev package). + +- Install log4cxx rpm (this is NOT provided and must be rebuilt from source): + * download log4cxx-0.9.7-6.src.rpm from xmlbeansxx SourceForge project + * rpm -i rpm -i log4cxx-0.9.7-6.src.rpm + * edit /usr/src/redhat/SPECS/log4cxx.spec file + - %build + ./autogen.sh + chmod a+x ./configure <-- add this line + ./configure --prefix=/usr --enable-ltdl-convenience + - comment patch appliance (does not seem to work) + #Patch0: %{name}-touk-main.patch + #%patch0 -p1 + - add missing files: + %files + (...) + %{_bindir}/simplesocketserver + + %files devel + (...) + %{_libdir}/liblog4cxx.la + * rpmbuild -ba log4cxx.spec + * cd /usr/src/redhat/RPMS/i386 + rpm -i log4cxx-0.9.7-6.i386.rpm log4cxx-devel-0.9.7-6.i386.rpm + +- Install Carob rpm + * download carob module dir from CVS + * rename carob into carob-0.0.1 and create: + /usr/src/redhat/SOURCES/carob-0.0.1.tar.gz + * rpmbuild -ba carob.spec + * rpm -i carob-0.0.1-1.i386.rpm carob-devel-0.0.1-1.i386.rpm + +- Install libmysequoia + * download libmysequoia module from CVS + * cd libmysequoia + ./autogen.sh + ./configure --disable-cppunit --disable-gcov + make dist + rpmbuild -ta libmysequoia-0.7.tar.gz + rpm -i /usr/src/redhat/RPMS/i386/libmysequoia-devel-0.7-1.i386.rpm + rpm -i /usr/src/redhat/RPMS/i386/libmysequoia-0.7-1.i386.rpm + +- Install php5 + Should be the same version than the test suite (5.1.12). Below are + instructions to recompile rpm from source. In any case, php5-mysqli + must be recompiled against libmysequoia lib (see 2.) + + * download src.rpm from http://rpm.pbone.net/ + * rpm -i php-5.1.2-4.src.rpm + * edit PHP spec file: here is the diff: + +[root@node1 SPECS]# diff -u php.spec.orig php.spec +--- php.spec.save 2006-02-23 18:52:36.741190296 +0100 ++++ php.spec 2006-02-23 17:00:27.557181760 +0100 +@@ -35,7 +35,7 @@ + BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, expat-devel + BuildRequires: gmp-devel, aspell-devel >= 0.50.0 + BuildRequires: httpd-devel >= 2.0.46-1, libjpeg-devel, libpng-devel, pam-devel +-BuildRequires: libstdc++-devel, openssl-devel, sqlite-devel >= 3.0.0 ++BuildRequires: libstdc++-devel, openssl-devel + BuildRequires: zlib-devel, pcre-devel >= 4.5, smtpdaemon + BuildRequires: bzip2, fileutils, file >= 4.0, perl, libtool >= 1.4.3, gcc-c++ + Obsoletes: php-dbg, mod_php, php3, phpfi, stronghold-php, php-openssl +@@ -288,7 +288,7 @@ + # Regenerate configure scripts (patches change config.m4's) + ./buildconf --force + +-CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-pointer-sign" ++CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" + export CFLAGS + + # Install extension modules in %{_libdir}/php/modules. +@@ -376,11 +376,11 @@ + --with-xmlrpc=shared \ + --with-ldap=shared \ + --with-mysql=shared,%{_prefix} \ +- --with-mysqli=shared,%{_bindir}/mysql_config \ ++ --with-mysqli=shared,%{_bindir}/mysequoia_config \ + --enable-dom=shared \ + --with-dom-xslt=%{_prefix} --with-dom-exslt=%{_prefix} \ + --with-pgsql=shared \ +- --with-snmp=shared,%{_prefix} \ ++ --with-snmp=no \ + --enable-soap=shared \ + --with-xsl=shared,%{_prefix} \ + --enable-xmlreader=shared --enable-xmlwriter=shared \ +@@ -389,7 +389,7 @@ + --with-pdo-odbc=shared,unixODBC,%{_prefix} \ + --with-pdo-mysql=shared,%{_prefix} \ + --with-pdo-pgsql=shared,%{_prefix} \ +- --with-pdo-sqlite=shared,%{_prefix} ++ --with-pdo-sqlite=no + popd + + # Build Apache module, and the CLI SAPI, /usr/bin/php +@@ -525,7 +525,9 @@ + %files odbc -f files.odbc + %files imap -f files.imap + %files ldap -f files.ldap +-%files snmp -f files.snmp ++#%files snmp -f files.snmp ++%files snmp ++%config(noreplace) %attr(644,root,root) /etc/php.d/snmp.ini + %files xml -f files.xml + %files xmlrpc -f files.xmlrpc + %files mbstring -f files.mbstring +@@ -534,7 +536,11 @@ + %files soap -f files.soap + %files bcmath -f files.bcmath + %files dba -f files.dba +-%files pdo -f files.pdo ++#%files pdo -f files.pdo ++%files pdo ++%attr(755,root,root) /usr/lib/php/modules/pdo.so ++%config(noreplace) %attr(644,root,root) /etc/php.d/pdo.ini ++%config(noreplace) %attr(644,root,root) /etc/php.d/pdo_sqlite.ini + + %changelog + * Tue Jan 31 2006 Joe Orton <jorton-H+wXaHxf7aLQT0dZR+AlfA@xxxxxxxxxxxxxxxx> 5.1.2-4 + + * rpm -i php5 (you may have to use force to install pear from php4) + 2. Recompile mysqli @@ -67,8 +189,7 @@ Debian -- apt-get source php5 -- cd php5.x.y/debian +- apt-get source php5- cd php5.x.y/debian - edit rules file: Replace: --with-mysqli=shared,/usr/bin/mysql_config \ @@ -85,8 +206,10 @@ Red Hat Enterprise ES -3. Start your cluster and load a virtual database named 'test' +Already done if you have installed php5 using 1. instructions. -4. ./run to run all the tests or simply ./run 001.phpt to run only the 001.phpt test + +3. Start your cluster and load a virtual database named 'test' +4. ./run to run all the tests or simply ./run 001.phpt to run only the 001.phpt test
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS update of libmysequoia/src (MySQLAPI.cpp), zsolt-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
|---|---|
| Next by Date: | CVS update of carob/test/10-Connection (2 files), gilles-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Previous by Thread: | CVS update of libmysequoia/test-suite/php5 (README), mathieu-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Next by Thread: | CVS update of libmysequoia/test-suite/php5 (README), csaba-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|