[MonetDB-users] how compile PHP interface on Linux

I am running CentOS 4.5 (RHEL4.5). I compiled PHP 5.2.2 from source. I compiled "MonetDB server v5.2.0, based on kernel v1.20.0" from source with monetdb-install.sh . MonetDB server works for me. I downloaded clients-1.20.0.tar.gz, unpacked in /tmp and runned: ./configure --prefix=/mytest/MonetDB --with-php --with-php-config=/mytest/php/bin --with-php-extensiondir=/mytest/php/lib/php/extensions I see only warning, that Buildtools are not installed and that I will not able to build from CVS, that should be fine, I am not using source code from CVS (right?). I run make and it seams to me, that the process is only building only mapiclient and mapilib. Output of make does not mention any problems but there is also no mentioning of PHP in this output. The output files are here http://www.struix.com/phpmonetdb.zip. I wonder, if somebody could help me out. Sincerely, Martin

Martin, for our convenience, could you please provide us with the output of grep --color -1 -i php config.log in the directory where you called ./configure ? Thanks in advance! Stefan On Mon, Nov 12, 2007 at 01:02:55AM +0100, Martin Minka wrote:
I am running CentOS 4.5 (RHEL4.5). I compiled PHP 5.2.2 from source. I compiled "MonetDB server v5.2.0, based on kernel v1.20.0" from source with monetdb-install.sh . MonetDB server works for me. I downloaded clients-1.20.0.tar.gz, unpacked in /tmp and runned:
./configure --prefix=/mytest/MonetDB --with-php --with-php-config=/mytest/php/bin --with-php-extensiondir=/mytest/php/lib/php/extensions
I see only warning, that Buildtools are not installed and that I will not able to build from CVS, that should be fine, I am not using source code from CVS (right?).
I run make and it seams to me, that the process is only building only mapiclient and mapilib. Output of make does not mention any problems but there is also no mentioning of PHP in this output.
The output files are here http://www.struix.com/phpmonetdb.zip.
I wonder, if somebody could help me out.
Sincerely, Martin
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |

Here it is. Thank you for looking at my problem, Martin -------------------- $ ./configure --prefix=/mytest/MonetDB --with-php --with-php-config=/mytest/php/bin --with-php-extensiondir=/mytest/php/lib/php/extensions -- configure:36344: result: -C --backup=nil configure:36374: checking for /mytest/php/bin configure:36405: result: /mytest/php/bin configure:36427: checking for PHP configure:36595: checking for buildtools-config -- config.status:960: creating src/perl/Makefile config.status:960: creating src/php/Makefile config.status:960: creating src/python/Makefile -- config.status:960: creating src/perl/MonetDB-CLI/Makefile config.status:960: creating src/php/Cimpl/Makefile config.status:960: creating src/python/Cimpl/Makefile -- config.status:960: creating src/perl/DBD/monetdb/Makefile config.status:960: creating src/php/Cimpl/examples/Makefile config.status:960: creating src/php/Cimpl/examples/php.ini config.status:960: creating src/python/Cimpl/MonetSQLdb/Makefile -- ac_cv_path_PERL=/usr/bin/perl ac_cv_path_PHP_CONFIG=/mytest/php/bin ac_cv_path_PYTHON=/usr/bin/python -- HAVE_PERL_TRUE='' HAVE_PHP_FALSE='' HAVE_PHP_TRUE='#' HAVE_PYTHON_DEVEL_FALSE='#' -- PERL_LIBS='-L/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE -lperl' PHP_CONFIG='/mytest/php/bin' PHP_EXTENSIONDIR='' PHP_INCS='' PROFILING_FALSE='' -- XCLIENTS_SOURCE='/tmp/clients-1.20.0' XPHP_EXTENSIONDIR='' X_CFLAGS='' ---------------------- Stefan Manegold wrote:
Martin,
for our convenience, could you please provide us with the output of
grep --color -1 -i php config.log
in the directory where you called ./configure ?
Thanks in advance!
Stefan
On Mon, Nov 12, 2007 at 01:02:55AM +0100, Martin Minka wrote:
I am running CentOS 4.5 (RHEL4.5). I compiled PHP 5.2.2 from source. I compiled "MonetDB server v5.2.0, based on kernel v1.20.0" from source with monetdb-install.sh . MonetDB server works for me. I downloaded clients-1.20.0.tar.gz, unpacked in /tmp and runned:
./configure --prefix=/mytest/MonetDB --with-php --with-php-config=/mytest/php/bin --with-php-extensiondir=/mytest/php/lib/php/extensions
I see only warning, that Buildtools are not installed and that I will not able to build from CVS, that should be fine, I am not using source code from CVS (right?).
I run make and it seams to me, that the process is only building only mapiclient and mapilib. Output of make does not mention any problems but there is also no mentioning of PHP in this output.
The output files are here http://www.struix.com/phpmonetdb.zip.
I wonder, if somebody could help me out.
Sincerely, Martin

Martin, `configure --help | grep -i php` says --with-php=<value> PHP support (yes/no/auto) --with-php-config=FILE Path to php-config script ^^^^ --with-php-extensiondir=DIR relative path for php extension directory (where php hence, could you please try again with configure ... --with-php-config=/mytest/php/bin/php-config ... instead of configure ... --with-php-config=/mytest/php/bin ... ? Stefan On Mon, Nov 12, 2007 at 01:25:26PM +0100, Martin Minka wrote:
Here it is.
Thank you for looking at my problem, Martin --------------------
$ ./configure --prefix=/mytest/MonetDB --with-php --with-php-config=/mytest/php/bin --with-php-extensiondir=/mytest/php/lib/php/extensions
-- configure:36344: result: -C --backup=nil configure:36374: checking for /mytest/php/bin configure:36405: result: /mytest/php/bin configure:36427: checking for PHP configure:36595: checking for buildtools-config -- config.status:960: creating src/perl/Makefile config.status:960: creating src/php/Makefile config.status:960: creating src/python/Makefile -- config.status:960: creating src/perl/MonetDB-CLI/Makefile config.status:960: creating src/php/Cimpl/Makefile config.status:960: creating src/python/Cimpl/Makefile -- config.status:960: creating src/perl/DBD/monetdb/Makefile config.status:960: creating src/php/Cimpl/examples/Makefile config.status:960: creating src/php/Cimpl/examples/php.ini config.status:960: creating src/python/Cimpl/MonetSQLdb/Makefile -- ac_cv_path_PERL=/usr/bin/perl ac_cv_path_PHP_CONFIG=/mytest/php/bin ac_cv_path_PYTHON=/usr/bin/python -- HAVE_PERL_TRUE='' HAVE_PHP_FALSE='' HAVE_PHP_TRUE='#' HAVE_PYTHON_DEVEL_FALSE='#' -- PERL_LIBS='-L/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE -lperl' PHP_CONFIG='/mytest/php/bin' PHP_EXTENSIONDIR='' PHP_INCS='' PROFILING_FALSE='' -- XCLIENTS_SOURCE='/tmp/clients-1.20.0' XPHP_EXTENSIONDIR='' X_CFLAGS='' ----------------------
Stefan Manegold wrote:
Martin,
for our convenience, could you please provide us with the output of
grep --color -1 -i php config.log
in the directory where you called ./configure ?
Thanks in advance!
Stefan
On Mon, Nov 12, 2007 at 01:02:55AM +0100, Martin Minka wrote:
I am running CentOS 4.5 (RHEL4.5). I compiled PHP 5.2.2 from source. I compiled "MonetDB server v5.2.0, based on kernel v1.20.0" from source with monetdb-install.sh . MonetDB server works for me. I downloaded clients-1.20.0.tar.gz, unpacked in /tmp and runned:
./configure --prefix=/mytest/MonetDB --with-php --with-php-config=/mytest/php/bin --with-php-extensiondir=/mytest/php/lib/php/extensions
I see only warning, that Buildtools are not installed and that I will not able to build from CVS, that should be fine, I am not using source code from CVS (right?).
I run make and it seams to me, that the process is only building only mapiclient and mapilib. Output of make does not mention any problems but there is also no mentioning of PHP in this output.
The output files are here http://www.struix.com/phpmonetdb.zip.
I wonder, if somebody could help me out.
Sincerely, Martin
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |

I am ashamed. It works now. thank you, Martin Stefan Manegold wrote:
Martin,
`configure --help | grep -i php` says
--with-php=<value> PHP support (yes/no/auto) --with-php-config=FILE Path to php-config script ^^^^ --with-php-extensiondir=DIR relative path for php extension directory (where php
hence, could you please try again with configure ... --with-php-config=/mytest/php/bin/php-config ... instead of configure ... --with-php-config=/mytest/php/bin ... ?
Stefan
On Mon, Nov 12, 2007 at 01:25:26PM +0100, Martin Minka wrote:
Here it is.
Thank you for looking at my problem, Martin --------------------
$ ./configure --prefix=/mytest/MonetDB --with-php --with-php-config=/mytest/php/bin --with-php-extensiondir=/mytest/php/lib/php/extensions
-- configure:36344: result: -C --backup=nil configure:36374: checking for /mytest/php/bin configure:36405: result: /mytest/php/bin configure:36427: checking for PHP configure:36595: checking for buildtools-config -- config.status:960: creating src/perl/Makefile config.status:960: creating src/php/Makefile config.status:960: creating src/python/Makefile -- config.status:960: creating src/perl/MonetDB-CLI/Makefile config.status:960: creating src/php/Cimpl/Makefile config.status:960: creating src/python/Cimpl/Makefile -- config.status:960: creating src/perl/DBD/monetdb/Makefile config.status:960: creating src/php/Cimpl/examples/Makefile config.status:960: creating src/php/Cimpl/examples/php.ini config.status:960: creating src/python/Cimpl/MonetSQLdb/Makefile -- ac_cv_path_PERL=/usr/bin/perl ac_cv_path_PHP_CONFIG=/mytest/php/bin ac_cv_path_PYTHON=/usr/bin/python -- HAVE_PERL_TRUE='' HAVE_PHP_FALSE='' HAVE_PHP_TRUE='#' HAVE_PYTHON_DEVEL_FALSE='#' -- PERL_LIBS='-L/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE -lperl' PHP_CONFIG='/mytest/php/bin' PHP_EXTENSIONDIR='' PHP_INCS='' PROFILING_FALSE='' -- XCLIENTS_SOURCE='/tmp/clients-1.20.0' XPHP_EXTENSIONDIR='' X_CFLAGS='' ----------------------
Stefan Manegold wrote:
Martin,
for our convenience, could you please provide us with the output of
grep --color -1 -i php config.log
in the directory where you called ./configure ?
Thanks in advance!
Stefan
On Mon, Nov 12, 2007 at 01:02:55AM +0100, Martin Minka wrote:
I am running CentOS 4.5 (RHEL4.5). I compiled PHP 5.2.2 from source. I compiled "MonetDB server v5.2.0, based on kernel v1.20.0" from source with monetdb-install.sh . MonetDB server works for me. I downloaded clients-1.20.0.tar.gz, unpacked in /tmp and runned:
./configure --prefix=/mytest/MonetDB --with-php --with-php-config=/mytest/php/bin --with-php-extensiondir=/mytest/php/lib/php/extensions
I see only warning, that Buildtools are not installed and that I will not able to build from CVS, that should be fine, I am not using source code from CVS (right?).
I run make and it seams to me, that the process is only building only mapiclient and mapilib. Output of make does not mention any problems but there is also no mentioning of PHP in this output.
The output files are here http://www.struix.com/phpmonetdb.zip.
I wonder, if somebody could help me out.
Sincerely, Martin
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
participants (2)
-
Martin Minka
-
Stefan Manegold