adding a new module to debian stable install

From: Date: Sat, 22 Nov 2003 09:24:57 +0000
Subject: adding a new module to debian stable install
Groups: php.install 
Request: Send a blank email to php-install+get-12289@lists.php.net to get a copy of this message
Hi! I would like to compile the mnogosearch module in a Debian stable instalation. I don´t want to go and install the unstable version of apache and PHP for now, although I´m running mnogosearch-mysql from unstable. So I did the following:Download mnogosearch-3.2.15.tar.gz, compiled and installed in /usr/local/mnogosearch in order to have all header files (I couldn´t find a mnogosearch-dev or something on unstable).Download php-4.1.2.tar.gz, untar´d and and replaced ext/mnogosearch from mnogosearch´s newer php extension (4.1.2´s is incompatible with mnogosearch 3.2.15).Compiled php-4.1.2 with "./configure --enable-shared --enable-static=no --with-mnogosearch=shared --without-mysql". I just wanted a mnogosearch.so, so I didn´t care to put support to everything else.make install-modules: it goes "installing shared modules into /usr/local/lib/php/extensions/no-debug-non-zts-20010901". Went to that directory and found a mnogosearch.a file. I was expecting a mnogosearch.so. Tried to "dl('mnogosearch.a');" and got a message Warning:  Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20010901/mnogosearch.a' - /usr/local/lib/php/extensions/no-debug-non-zts-20010901/mnogosearch.a: invalid ELF header in - on line 1It´s right, a ".a" file is not an executable. So what should I do to get a mnogosearch.so file?Thanks in advance,Daniel Wey_______________________José Daniel Ramos WeyDiretor de TecnologiaONE2ONE Interativaemail: wey@one2one.com.brTel: (11) 3814-9249Fax: (11) 3819-5263

« previous php.install (#12289) next »