PHP5 configuration error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

 

I’m trying to install the PHP 5.2.4 on a linux machine (uname -a:   Linux desk1 2.4.21-47.ELsmp #1 SMP Wed Jul 5 20:30:30 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux) and I get the following message after I run the ‘configure’ step. I’m pasting the ‘debug.log’ file below.

 

Could you please let me know how to fix this error?

 

 

+--------------------------------------------------------------------+

|                       *** 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      |

| php-install@xxxxxxxxxxxxx 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.                            |

+--------------------------------------------------------------------+

 

 

**debug.log**

 

 

CONFIGURE:   './configure'  '--prefix=/wwwroot/php' '--with-apxs2=/wwwroot/bin/apxs' '--with-config-file-path=/wwwroot/conf' '--with-oci8=/tool/pandora/.package/oracle-10.2.0.1.0' '--with-gd' '--enable-sigchild' '--with-libxml-dir=/wwwroot/libxml2' '--with-jpeg-dir=/tool/pandora/.package/jpeg-6b' '--with-png-dir=/tool/pandora/.package/libpng-1.2.0'

CC:         gcc

CFLAGS:     -I/usr/include -g -O2

CPPFLAGS:  

CXX:       

CXXFLAGS:  

INCLUDES:    -I/wwwroot/libxml2/include/libxml2 -I/usr/src/php-5.2.4/ext/date/lib -I/tool/pandora/.package/jpeg-6b/include -I/tool/pandora/.package/libpng-1.2.0/include -I/tool/pandora/.package/oracle-10.2.0.1.0/rdbms/public -I/tool/pandora/.package/oracle-10.2.0.1.0/rdbms/demo

LDFLAGS:    -L/usr/lib  -Wl,-rpath,/wwwroot/libxml2/lib -L/wwwroot/libxml2/lib -Wl,-rpath,/tool/pandora/.package/jpeg-6b/lib -L/tool/pandora/.package/jpeg-6b/lib -Wl,-rpath,/tool/pandora/.package/libpng-1.2.0/lib -L/tool/pandora/.package/libpng-1.2.0/lib -Wl,-rpath,/tool/pandora/.package/oracle-10.2.0.1.0/lib -L/tool/pandora/.package/oracle-10.2.0.1.0/lib

LIBS:       -lpng -lz -ljpeg -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm -ldl -lm -lnsl -lirc -lclntsh -lxml2 -lz -lm

DLIBS:     

SAPI:       apache2handler

PHP_RPATHS:  /wwwroot/libxml2/lib /tool/pandora/.package/jpeg-6b/lib /tool/pandora/.package/libpng-1.2.0/lib /tool/pandora/.package/oracle-10.2.0.1.0/lib

uname -a:   Linux desk1 2.4.21-47.ELsmp #1 SMP Wed Jul 5 20:30:30 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

 

gcc -o conftest -I/usr/include -g -O2  -L/usr/lib  -Wl,-rpath,/wwwroot/libxml2/lib -L/wwwroot/libxml2/lib -Wl,-rpath,/tool/pandora/.package/jpeg-6b/lib -L/tool/pandora/.package/jpeg-6b/lib -Wl,-rpath,/tool/pandora/.package/libpng-1.2.0/lib -L/tool/pandora/.package/libpng-1.2.0/lib -Wl,-rpath,/tool/pandora/.package/oracle-10.2.0.1.0/lib -L/tool/pandora/.package/oracle-10.2.0.1.0/lib conftest.c -lpng -lz -ljpeg -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lxml2 -lz -lm -ldl -lm -lnsl -lirc -lclntsh -lxml2 -lz -lm 1>&5

/usr/bin/ld: skipping incompatible /tool/pandora/.package/libpng-1.2.0/lib/libpng.so when searching for -lpng

/usr/bin/ld: skipping incompatible /tool/pandora/.package/libpng-1.2.0/lib/libpng.a when searching for -lpng

/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz

/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz

/usr/bin/ld: skipping incompatible /tool/pandora/.package/jpeg-6b/lib/libjpeg.so when searching for -ljpeg

/usr/bin/ld: skipping incompatible /tool/pandora/.package/jpeg-6b/lib/libjpeg.a when searching for -ljpeg

/usr/bin/ld: skipping incompatible /usr/lib/libresolv.so when searching for -lresolv

/usr/bin/ld: skipping incompatible /usr/lib/libresolv.a when searching for -lresolv

/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm

/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm

/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl

/usr/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl

/usr/bin/ld: skipping incompatible /usr/lib/libnsl.so when searching for -lnsl

/usr/bin/ld: skipping incompatible /usr/lib/libnsl.a when searching for -lnsl

/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz

/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz

/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm

/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm

/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz

/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz

/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm

/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm

/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl

/usr/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl

/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm

/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm

/usr/bin/ld: skipping incompatible /usr/lib/libnsl.so when searching for -lnsl

/usr/bin/ld: skipping incompatible /usr/lib/libnsl.a when searching for -lnsl

/usr/bin/ld: skipping incompatible /tool/pandora/.package/oracle-10.2.0.1.0/lib/libirc.a when searching for -lirc

/usr/bin/ld: cannot find -lirc

collect2: ld returned 1 exit status

 

 

 

TIA

Hemanth

 


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux