List Info

Thread: php-frontend Digest 25 Jul 2006 09:36:54 -0000 Issue 125




php-frontend Digest 25 Jul 2006 09:36:54 -0000 Issue 125
user name
2006-07-25 09:36:54
php-frontend Digest 25 Jul 2006 09:36:54 -0000 Issue 125

Topics (messages 971 through 978):

Webboard: Does recent PHP extension work with recent
mnogosearch?
	971 by: nobody.mnogosearch.org
	972 by: nobody.mnogosearch.org
	973 by: nobody.mnogosearch.org
	974 by: nobody.mnogosearch.org
	976 by: nobody.mnogosearch.org
	977 by: nobody.mnogosearch.org

Re: Webboard: debian mnogosearch.so php5.1 problem
	975 by: Yannick Warnier

Webboard: make for php extension fails`
	978 by: nobody.mnogosearch.org

Administrivia:

To subscribe to the digest, e-mail:
	<php-frontend-digest-subscribemnogosearch.org>

To unsubscribe from the digest, e-mail:
	<php-frontend-digest-unsubscribemnogosearch.org>

To post to the list, e-mail:
	<php-frontendmnogosearch.org>


------------------------------------------------------------
----------
Author: Stewart Middleton
Email: stewart.middleton.spamgmail.com
Message:
I am using PHP 5.1.4 and therefore am having to install the
PHP extension seperately as it is no longer in the core PHP
release.

I have tried installing both 1.96 and 1.95 of the PHP
extension against 3.2.38 & 3.2.39 of mnogosearch, always
with the same results. The basic path I am following is:

1) phpize
2) ./configure --with-mnogosearch=/usr/local/mnogosearch
3) make && make install

Unfortunately make always fails with:

/bin/sh /usr/local/src/mnogosearch/1.96/libtool
--mode=compile gcc  -I. -I/usr/local/src/mnogosearch/1.96
-DPHP_ATOM_INC -I/usr/local/src/mnogosearch/1.96/include
-I/usr/local/src/mnogosearch/1.96/main
-I/usr/local/src/mnogosearch/1.96 -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext
-I/usr/local/mnogosearch/include  -DHAVE_CONFIG_H  -g -O2  
-c /usr/local/src/mnogosearch/1.96/php_mnogo.c -o
php_mnogo.lo
 gcc -I. -I/usr/local/src/mnogosearch/1.96 -DPHP_ATOM_INC
-I/usr/local/src/mnogosearch/1.96/include
-I/usr/local/src/mnogosearch/1.96/main
-I/usr/local/src/mnogosearch/1.96 -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext
-I/usr/local/mnogosearch/include -DHAVE_CONFIG_H -g -O2 -c
/usr/local/src/mnogosearch/1.96/php_mnogo.c  -fPIC -DPIC -o
.libs/php_mnogo.o
In file included from
/usr/local/mnogosearch/include/udm_common.h:741,
                 from
/usr/local/mnogosearch/include/udmsearch.h:21,
                 from
/usr/local/src/mnogosearch/1.96/php_mnogo.h:31,
                 from
/usr/local/src/mnogosearch/1.96/php_mnogo.c:30:
/usr/local/mnogosearch/include/udm_db_int.h:24:22: error:
libpq-fe.h: No such file or directory
In file included from
/usr/local/mnogosearch/include/udm_common.h:741,
                 from
/usr/local/mnogosearch/include/udmsearch.h:21,
                 from
/usr/local/src/mnogosearch/1.96/php_mnogo.h:31,
                 from
/usr/local/src/mnogosearch/1.96/php_mnogo.c:30:
/usr/local/mnogosearch/include/udm_db_int.h:69: error:
syntax error before 'PGresult'
/usr/local/mnogosearch/include/udm_db_int.h:69: warning: no
semicolon at end of struct or union
/usr/local/mnogosearch/include/udm_db_int.h:73: error:
syntax error before '}' token
/usr/local/mnogosearch/include/udm_db_int.h:73: warning:
data definition has no type or storage class
/usr/local/mnogosearch/include/udm_db_int.h:148: error:
syntax error before 'UDM_SQLRES'
/usr/local/mnogosearch/include/udm_db_int.h:155: error:
syntax error before 'UDM_SQLRES'
/usr/local/mnogosearch/include/udm_db_int.h:156: error:
syntax error before 'UDM_SQLRES'
/usr/local/mnogosearch/include/udm_db_int.h:157: error:
syntax error before 'UDM_SQLRES'
/usr/local/mnogosearch/include/udm_db_int.h:158: error:
syntax error before 'UDM_SQLRES'
make: *** [php_mnogo.lo] Error 1

Has anybody managed to install this configuration and if so
can you give me any pointers as to what is required to get
make to complete sucessfully?

Cheers Stewart.

Reply: <http://www.mnogosearch.org/board/message.php?id=18246&g
t;


Author: Stewart Middleton
Email: stewart.middleton.spamgmail.com
Message:
... and have just given todays CVS snapshot a try and that
produces the same error as well.

Cheers Stewart.

Reply: <http://www.mnogosearch.org/board/message.php?id=18247&g
t;


Author: Willy Frissen
Email: 
Message:
You could try the pecl extension from/for php ?
At: pecl.php.net (mnogosearch-1.0.0 alpha?)

I build it as a zend-extension and added an entry in my
php.ini.

This is the config I used:
./configure --enable-shared
--with-php-config=/path/to/php-config  --with-mnogosearch
(mnogosearch 3.2.39 is in it's default place:
/usr/local/mnogosearch)

It worked (for me) for php-5.1.4 (and even
php-5.2.0-dev...).

Reply: <http://www.mnogosearch.org/board/message.php?id=18248&g
t;


Author: Stewart Middleton
Email: stewart.middleton.spamgmail.com
Message:
Thanks for the suggestion, but unfortunately no joy. I get
exactly the same behaviour with the recent PECL release.

I guess there must something weird about my build
environment (and for others, being as I see this question
had been asked a few months ago without solution).

The system in question is:

Debian Etch
Kernel = 2.6.15-1-686 (Debian default)
Gcc = 4.0
G++ = 4.0

(Tried using GCC/G++ 3.3 & 4.1 to build the extension,
just to see if that altered the nature of the error = no)

I have also tried this build on a Debian Sarge system
(Kernel 2.6.8-3-k7, GCC/G++ 3.3) with the same results.

:-(

Config options for mnogosearch 3.2.39 were:

./configure --prefix=/usr/local/mnogosearch-3.2.39
--with-mysql=/usr/local/mysql

(/usr/local/mnogosearch symlink created after installation)

Reply: <http://www.mnogosearch.org/board/message.php?id=18249&g
t;


Author: Willy Frissen
Email: 
Message:
/usr/local/mnogosearch/include/udm_db_int.h:24:22: error:
libpq-fe.h: No such file or directory

I just re-read you're original message 
Could it be you're missing some development files for
postgres ?
As a google-search revealed the (missing) libpq-fe.h is part
of postgres-devel...

Reply: <http://www.mnogosearch.org/board/message.php?id=18250&g
t;


Author: Stewart Middleton
Email: stewart.middleton.spamgmail.com
Message:
Arrgh!!  I knew I
should have spent longer on this before posting 

I had been wondering about that libpq-fe.h error and had
previously installed the pgsql dev libraries. I wasn't sure
why I needed them, because I haven't compiled in pgsql
support in mnogosearch, but I figured I might as well put
them on. It had made no difference. But just now I have
edited udm_db_int.h and added the absolute path to
libpq-fe.h and it has compiled without issue. Should have
thought to try that before.

Having said that I don't really understand why:

1) It needed access to the pgsql library being as I had not
compiled support in mnogosearch.
2) Why it couldn't find the pgsql libraries even though
they are in the same basic location as the mysql ones, which
it had found without issue.

But hey, it works - thanks a lot for the suggestion 

Reply: <http://www.mnogosearch.org/board/message.php?id=18251&g
t;


Le mardi 18 juillet 2006 à 15:17 +0000, nobodymnogosearch.org a écrit :
> Author: adrian
> Email: aduciutureanu.ro
> Message:
> I'm using the php5.0-mnogosearch from
> http://people.debian
.org/~dexter

Did you try contacting Dexter himself first?

His packages might be different from the mnogosearch
packages in such a
way that we don't know how to help you...

Yannick W.


Author: Gerard
Email: gerard.isdellkinetic.co.uk
Message:
Hi there. 

I have installed mnogosearch for Unix or Fedora Core 3 box. 

Im trying to install the PHP module but it keeps failing
when i run 'make'.  I have posted the output below. What
do I need to do to ensure 'make' works.


make
/bin/sh /home/kinetic/mnogo/1.96/libtool --mode=compile gcc 
-I. -I/home/kinetic/mnogo/1.96 -DPHP_ATOM_INC
-I/home/kinetic/mnogo/1.96/include
-I/home/kinetic/mnogo/1.96/main -I/home/kinetic/mnogo/1.96
-I/usr/include/php -I/usr/include/php/main
-I/usr/include/php/TSRM -I/usr/include/php/Zend
-I/usr/local/mnogosearch//include  -DHAVE_CONFIG_H  -g -O2  
-c /home/kinetic/mnogo/1.96/php_mnogo.c -o php_mnogo.lo
/bin/sh /home/kinetic/mnogo/1.96/libtool --mode=compile gcc 
-I. -I/home/kinetic
/mnogo/1.96 -DPHP_ATOM_INC
-I/home/kinetic/mnogo/1.96/include -I/home/kinetic/mn
ogo/1.96/main -I/home/kinetic/mnogo/1.96 -I/usr/include/php
-I/usr/include/php/m
ain -I/usr/include/php/TSRM -I/usr/include/php/Zend
-I/usr/local/mnogosearch//in
clude  -DHAVE_CONFIG_H  -g -O2   -c
/home/kinetic/mnogo/1.96/php_mnogo.c -o php_
mnogo.lo
 gcc -I. -I/home/kinetic/mnogo/1.96 -DPHP_ATOM_INC
-I/home/kinetic/mnogo/1.96/in
clude -I/home/kinetic/mnogo/1.96/main
-I/home/kinetic/mnogo/1.96 -I/usr/include/
php -I/usr/include/php/main -I/usr/include/php/TSRM
-I/usr/include/php/Zend -I/u
sr/local/mnogosearch//include -DHAVE_CONFIG_H -g -O2 -c
/home/kinetic/mnogo/1.96
/php_mnogo.c  -fPIC -DPIC -o .libs/php_mnogo.o
In file included from
/usr/include/php/ext/standard/fsock.h:38,
                 from
/usr/include/php/ext/standard/php_standard.h:44,
                 from
/home/kinetic/mnogo/1.96/php_mnogo.c:31:
/usr/include/php/main/php_network.h:78:25: openssl/ssl.h: No
such file or direct
ory
In file included from
/usr/include/php/ext/standard/fsock.h:38,
                 from
/usr/include/php/ext/standard/php_standard.h:44,
                 from
/home/kinetic/mnogo/1.96/php_mnogo.c:31:
/usr/include/php/main/php_network.h:129: error: syntax error
before "SSL"
/usr/include/php/main/php_network.h:129: warning: no
semicolon at end of struct
or union
/usr/include/php/main/php_network.h:132: error: syntax error
before '}' token
/usr/include/php/main/php_network.h:162: error: syntax error
before "SSL_METHOD"
make: *** [php_mnogo.lo] Error 1

Thanks Gerard



Reply: <http://www.mnogosearch.org/board/message.php?id=18256&g
t;


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )