Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

CVS update of libmysequoia/test-suite/php5 (README): msg#00078

db.carob.cvs

Subject: CVS update of libmysequoia/test-suite/php5 (README)

Date: Thursday, February 23, 2006 @ 14:26:23
Author: mathieu
Path: /cvsroot/carob/libmysequoia/test-suite/php5

Modified: README (1.2 -> 1.3)

Added instructions for debian


--------+
README | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
1 files changed, 84 insertions(+), 16 deletions(-)


Index: libmysequoia/test-suite/php5/README
diff -u libmysequoia/test-suite/php5/README:1.2
libmysequoia/test-suite/php5/README:1.3
--- libmysequoia/test-suite/php5/README:1.2 Wed Feb 22 14:40:25 2006
+++ libmysequoia/test-suite/php5/README Thu Feb 23 14:26:23 2006
@@ -1,24 +1,92 @@
Steps to run the tests:

-1. Add the following to your /etc/apt/sources.list:
+Prerequisites:

- ### MySQL 5 and PHP 5 repository
+Debian (stable version):
+fakeroot, devscripts, debhelper, autotools-dev, doxygen, dpatch,
+libxml2-dev, zlib1g-dev, graphviz, autoconf, automake1.9, libtool,
+libmysqlclient15-dev, libcppunit-dev, lcov
+(and maybe other)
+
+1. Install php5, mysql5, carob and libmysequoia
+
+Ubuntu:
+
+- Add the following to your /etc/apt/sources.list:
+ ### MySQL 5 and PHP 5 repository for Ubuntu
deb http://ftp.yi.se/pub/software/dotdeb/ stable all
deb-src http://ftp.yi.se/pub/software/dotdeb/ stable all
-
- ### Continuent repository
- deb http://carob.continuent.org/repo/debian/ binary/
+
+ ### Continuent repository
+ deb http://carob.continuent.org/repo/debian/ binary/
deb-src http://carob.continuent.org/repo/debian/ source/
-
-2. apt-get update
- apt-get install mysql-server-5.0 mysql-client-5.0 libmysqlclient15-dev
- apt-get install php5 php5-cli php5-mysqli
- apt-get install libmysequoia libmysequoia-dev
-
-3. apt-get source php5
- Recompile PHP replacing mysql_config with mysequoia_config and replace
/usr/lib/php5/20050922/mysqli.so with
- ext/mysqli/.libs/mysqli.so

-4. Start your cluster
+- apt-get update
+ apt-get install mysql-server-5.0 mysql-client-5.0 libmysqlclient15-dev
+ apt-get install php5 php5-cli php5-mysqli
+ apt-get install libmysequoia libmysequoia-dev
+
+Debian:
+
+- Add the following to your /etc/apt/sources.list:
+ # MySQL 5 and PHP 5 repository for Debian (backport to stable)
+ deb http://packages.dotdeb.org/ stable all
+ deb-src http://sources.dotdeb.org/ stable all
+
+- apt-get update
+ apt-get install mysql-server-5.0 mysql-client-5.0 libmysqlclient15-dev
+ apt-get install php5 php5-cli php5-mysqli
+ apt-get install libmysequoia libmysequoia-dev
+
+- if no package is available, rebuild deb from source:
+ * install log4cxx: not in stable, must be recomplied from testing:
+ - download .dsc .diff .tgz.orig files
+ - dpkg-buildpackage -x .dsc
+ - cd log4cxx-x.y
+ - debuild
+
+ * carob
+ cd carob/
+ debuild
+ then install the 2 packages
+
+ * libmysequoia
+ cd libmysequoia
+ ./autogen.sh
+ debuild
+
+Red Hat Enterprise ES
+
+2. Recompile mysqli
+
+Ubuntu
+
+- apt-get source php5
+ Recompile PHP replacing mysql_config with mysequoia_config and replace
/usr/lib/php5/20050922/mysqli.so with
+ ext/mysqli/.libs/mysqli.so
+
+Debian
+
+- apt-get source php5
+- cd php5.x.y/debian
+- edit rules file:
+ Replace:
+ --with-mysqli=shared,/usr/bin/mysql_config \
+ by:
+ --with-mysqli=shared,/usr/bin/mysequoiaconfig \
+- edit control file (Build-Depends line):
+ libmysqlclient12-dev -> libmysqlclient15-dev
+ automake1.4 -> automake1.9
+- debuild (Dependencies may have to be installed if needed: apt-get builddep
php5)
+ Warning: if the build is failing, you have most likely to redownload
+ the source (some pacths may be applied several times)
+- reinstall php5-mysqli with the new package
+- modify /etc/php5/cli/php.ini: add extension=mysqli.so
+
+Red Hat Enterprise ES
+
+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
+

-5. ./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>
Google Custom Search

Free Magazines

Cisco News
Receive 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

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo