> I am trying to install PHP 4.0 on a intel machine running Red Hat Linux
> 6.2.  Everything seems to work ok up to the ./configure command of the
> php.  I got the message:  
> 
> **************************************************************************
> ************
> * Attention!
> *
> * Something is likely to be screwed up here, because the configure script
> *
> * was not able to detect a simple feature on your platform.  This is often
> *
> * caused by incorrect configuration parameters.
> *
> **************************************************************************
> ************
> 
> I have Apache installed, up and running, installed MySQL and tested it and
> it works fine.  I get to the PHP installation and get an error that
> something is most likely wrong.  I have included the contents of the
> debug.log file.  MySQL is located in
> /usr/local/mysql-3.22.32-pc-linux-gnu-i686 and I also verified the
> location of the apxs to be correct.
> I tried the ./configure command with and without the trailing / at the end
> of i686.  Let me know if there is any additional information that  is
> needed to figure out my problem.  Thanks for any help you can offer.  
> 
> Contents of debug.log:
> 
> CONFIGURE:   './configure'
> '--with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i
> 686' '--with-apxs=/usr/local/apache_1.3.12/bin/apxs'
> CC:         gcc
> CFLAGS:     -g -O2
> CPPFLAGS:
> CXX:
> CXXFLAGS:
> INCLUDES:    -I/usr/local/apache_1.3.12/include  -I$(top_builddir)/Zend
> -I$(top_
> srcdir)  -I/usr/local/mysql-3.22.32-pc-linux-gnu-i686/include
> LDFLAGS:
> -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql -L/
> usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql
> LIBS:       -lmysqlclient -lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv
> DLIBS:
> SAPI:       apache
> PHP_RPATHS:  /usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql
> uname -a:   Linux linux.rc.national.edu 2.2.14-5.0smp #1 SMP Tue Mar 7
> 21:01:40
> EST 2000 i686 unknown
> 
> gcc -o conftest -g -O2
> -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686/l
> ib/mysql -L/usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql conftest.c
> -lmys
> qlclient -lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv 1>&5
> /usr/bin/ld: cannot find -lmysqlclient
> collect2: ld returned 1 exit status 
> 
PHP works fine if I omit the --with MySQL stuff.
>    
> Laurie A. Keith
> Network Manager       
> National American University
> (605) 394-5008
> [EMAIL PROTECTED]
> 
> 

Reply via email to