Re: Configure problem
| From: | Matt Dunford | Date: | Wed, 08 Nov 2000 17:26:30 +0000 |
| Subject: | Re: Configure problem | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-661@lists.php.net to get a copy of this message | ||
I can't get php compiled on redhat 6.2 without specifying the paths to db3
and apxs. Perhaps supply those in your configure options. Here's an
example.
./configure
--with-apxs=/www/apache/bin/apxs
--with-mysql=/usr/local
--with-db3=/usr/local/BerkeleyDB.3.1
On Wed, 8 Nov 2000 orlando@tvcnet.com wrote:
>Hello,
>
>Platform RH6.2
>[Wed Nov 8 06:41:52 2000] [notice] Apache/1.3.12 (Unix) (Red
>Hat/Linux) PHP/4.0.0 ApacheJServ/1.1 mod_perl/1.23 mod_ssl/2.6.4
>OpenSSL/0.9.5a configured -- resuming normal operations
>
>I am attempting to compile php4.0.3.
>
>I found the following error mesg in debug.log:
>
>[root@vs03 php-4.0.3]# more debug.log
>CONFIGURE: './configure' '--with-mysql=/usr' '--with-apxs'
>'--with-imap' '--wi
>th-db3' '--with-imap-ssl'
>CC: gcc
>CFLAGS: -g -O2
>CPPFLAGS: -DEAPI
>CXX:
>CXXFLAGS:
>INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend
>-I$(top_srcdir) -I/us
>r/include/imap -I/usr/include/mysql
>LDFLAGS:
>LIBS: -lmysqlclient -lcrypto -lssl -l -lresolv -lm -ldl -lcrypt
>-lnsl -lr
>esolv
>DLIBS: -lc-client
>SAPI: apache
>PHP_RPATHS:
>uname -a: Linux vs03.thevirtualcompany.com 2.2.16 #7 Fri Jun 9
>12:15:07 PDT 20
>00 i686 unknown
>
>gcc -o conftest -g -O2 -DEAPI conftest.c -lmysqlclient -lcrypto -lssl
>-l -lres
>olv -lm -ldl -lcrypt -lnsl -lresolv 1>&5
>/usr/bin/ld: cannot find -l--library=resolv
>collect2: ld returned 1 exit status
>
>I also tried to configure with zlib and get the following.
>
>configure: error: Zlib module requires zlib >= 1.0.9.
>^X
>[1]+ Exit 1 ./configure --with-mysql=/usr --with-apxs
>--with-imap --with-db3 --with-imap-ssl --with-zlib 1>&1LOGFILE
>
>I do have zlib installed:
>
>[root@vs03 php-4.0.3]# rpm -qa | grep zlib
>zlib-1.1.3-6
>zlib-devel-1.1.3-6
>
>Any help would be appreciated.
>
>Best Regards,
>
>Orlando Castro
>
>
>
>--
>PHP Install Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
>For additional commands, e-mail: php-install-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>