The module is ignored because you need to add it to the PHP Extensions config file. Add it there and I'm sure you'll be fine. --- Eric F Crist Secure Computing Networks -----Original Message----- From: Giovanni Cutolo <cutolo at unina.it> Date: Tue, 27 May 2008 09:52:29 To:"A place to discuss Mac OS X from the perspective of the command line." <x-unix at listserver.themacintoshguy.com> Subject: [X-Unix] compiling php Hi all, I am trying to compile php 5.2.6 on my MacBook (Leopard), since I need the pgsql module that is not in the php build shipped by Apple (why?, if I may ask). So I try with ../compile /SourceCache/apache_mod_php/apache_mod_php-44/php/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info -- disable-dependency-tracking --with-apxs2=/usr/sbin/apxs --with-ldap=/ usr --with-kerberos=/usr --enable-cli --with-zlib-dir=/usr --enable- trans-sid --with-xml --enable-exif --enable-ftp --enable-mbstring -- enable-mbregex --enable-dbx --enable-sockets --with-iodbc=/usr --with- curl=/usr --with-config-file-path=/etc --sysconfdir=/private/etc -- with-mysql-sock=/var/mysql --with-mysqli=/usr/bin/mysql_config --with- mysql=/usr --with-pgsql=shared,/Library/PostgreSQL8/ --with-openssl -- with-xmlrpc --with-xsl=/usr --without-pear (that is, the compilation options chosen by Apple, as I can read them from the phpinfo command, plus --with-pgsql=shared,/Library/ PostgreSQL8/ . Well, this fails because, apparently, of some problems with openssl (which I also need, of course): ......... Configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... no checking for xml2-config path... (cached) /usr/bin/xml2-config checking whether libxml build works... (cached) yes checking for OpenSSL support... yes checking for Kerberos support... /usr checking for krb5-config... /usr/bin/krb5-config checking for DSA_get_default_method in -lssl... no checking for pkg-config... no configure: error: Cannot find OpenSSL's libraries Does anybody have any hint on why this happens and what could I do to fix it? Unless I am wrong the libraries are in place. I also tried the trick suggested by http://www.heritage-tech.net/165/getting-additional-php-modules-without-totally-recompiling/ (also see http://www2.russbrooks.com:8080/2007/11/4/install-postgresql-on-mac-os-x-10-5-leopard#comment-138 ) that is: compiling the module itself (using the source of php 5.2.5) and then moving it to the appropriate (?) location in the pre-existing installation of php. No avail: the module is simply ignored. Thank in advance. Giovanni Cutolo ======================================== Dr. Giovanni Cutolo Dipartimento di Matematica e Applicazioni "R. Caccioppoli" Universita` degli Studi di Napoli "Federico II" tel.: +39 081675695 fax (not personal): +39 0817662106 http://www.dma.unina.it/~cutolo/ e-mail: cutolo at unina.it _______________________________________________ X-Unix mailing list X-Unix at listserver.themacintoshguy.com http://listserver.themacintoshguy.com/mailman/listinfo/x-unix