Hi all,

Well i'm worrying about an error message preventing the config.cache
file to be created:

I'd like to compile with the options above:

cd ./php-4.0.4pl1; clear
./configure --prefix=/u/PHP4 \
            --with-mysql=/usr/local/mysql --enable-force-cgi-redirect \
            --with-apxs=/home/apache_1.3.14/bin/apxs \
            --with-java=/usr/java1.3 --enable-inline-optimization

At the end of the ./configure i obtain such a message:
../..
creating regex/Makefile
creating main/internal_functions.c
+--------------------------------------------------------------------+
|                       *** ATTENTION ***                            |
|                                                                    |
| Something is likely to be messed 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. Please |
| see the file debug.log for error messages.                         |
|                                                                    |
| If you are unable to fix this, send the file debug.log to the      |
| [EMAIL PROTECTED] mailing list and include appropiate      |
| information about your setup.                                      |
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+

Thank you for using PHP.

a more of debug.log gives me:

bash /u # more php-4.0.4pl1/debug.log
CONFIGURE:   './configure' '--prefix=/u/PHP4'
'--with-mysql=/usr/local/mysql' '--enable-force-cgi-redirect
' '--with-apxs=/home/apache_1.3.14/bin/apxs' '--with-java=/usr/java1.3'
'--enable-inline-optimization'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270 -DTARGET="sioux"
-DUSE_EXPAT
CXX:
CXXFLAGS:
INCLUDES:    -I/home/apache_1.3.14/include  -I$(top_builddir)/Zend
-I/usr/local/mysql/include/mysql
LDFLAGS:     -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 -L/usr/local
/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 -R/usr/local/mysql/lib/mysql
-L/usr/local/mysql/lib/mysql
LIBS:       -lmysqlclient -lresolv -lresolv -lm -ldl -lcrypt -lnsl
-lsocket  -lsocket -lgcc
DLIBS:
SAPI:       apache
PHP_RPATHS:  /usr/ucblib
/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2
/usr/local/mysql/lib/mysql
uname -a:   SunOS petrus 5.7 Generic_106541-11 sun4u sparc
SUNW,Ultra-5_10

gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=270
-DTARGET="sioux" -DUSE_EXPAT  -R/usr/ucb
lib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2
-L/usr/local/lib/gcc-lib/sparc-sun-
solaris2.7/2.95.2 -R/usr/local/mysql/lib/mysql
-L/usr/local/mysql/lib/mysql conftest.c -lmysqlclient -lres
olv -lresolv -lm -ldl -lcrypt -lnsl -lsocket  -lsocket -lgcc 1>&5
Undefined                       first referenced
 symbol                             in file
uncompress
/usr/local/mysql/lib/mysql/libmysqlclient.so
compress
/usr/local/mysql/lib/mysql/libmysqlclient.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status

What does the blue text means ?
Assuming that i run apache 1.23.14 with mod_jk and mod_perl that i need
MySQL running against Perl and PHP...
 I found out a method which consist first running my compilation of PHP
parsing
--with-mysql without indicating a DIR; so that i obtain an error message
saying that if i want to make PHP running MySQL with stuff like mod_perl
in apache, i would better use my local installation Dir of MySQL ( which
is in my case /u/MySQL )
so i don't rm anything (like config.cache) and run again ./configure
parsing
--with-mysql=/u/MySQL
and things go OK !
Is that a good way to make what i want ???

I don't really know what to do .

Thank you for helping.

Friendly yours JLB ;O)



Reply via email to