Help In Building PHP 5.0.4
| From: | Shoaib Lari | Date: | Tue, 05 Apr 2005 00:18:51 +0000 |
| Subject: | Help In Building PHP 5.0.4 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-15918@lists.php.net to get a copy of this message | ||
Hi,
I am trying to build PHP 5.0.4 on Linux in an Apache2 environment, and
I am getting the error "/usr/bin/ld: cannot find -lirc". I looked for
libirc.so on /usr/lib etc., but I cannot find it. There is
/usr/lib/ksirc.so, but I cannot figure out how to change the configure
script to not add -lirc or look for ksirc.so instead.
Here is the debug.log:
/scratch/slari/wsrvr/php-5.0.4>
m debug.log
CONFIGURE: './configure' '--prefix=/scratch/slari/wsrvr/php'
'--with-apxs2=/scratch/slari/wsrvr/apache2/bin/apxs'
'--with-oci8-instant-client=/scratch/slari/wsrvr/instantclient_10_1'
'--enable-sigchil
d'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/usr/include/libxml2
-I/scratch/slari/wsrvr/instantclient_10_1/sdk/include
LDFLAGS: -Wl,-rpath,/scratch/slari/wsrvr/instantclient_10_1
-L/scratch/slari/wsrvr/instantclient_10_1
LIBS: -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -ldl
-lm -lnsl -lirc -lclntsh -lxm
l2 -lz -lm
DLIBS:
SAPI: apache2handler
PHP_RPATHS: /scratch/slari/wsrvr/instantclient_10_1
uname -a: Linux stadf66 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST
2004 i686 i686 i386 GNU/Linux
gcc -o conftest -g -O2
-Wl,-rpath,/scratch/slari/wsrvr/instantclient_10_1
-L/scratch/slari/wsrvr/in
stantclient_10_1 conftest.c -lresolv -lm -ldl -lnsl -lxml2 -lz -lm
-lxml2 -lz -lm -ldl -lm -lnsl -lirc
-lclntsh -lxml2 -lz -lm 1>&5
/usr/bin/ld: cannot find -lirc
collect2: ld returned 1 exit status
Is there way to build without requiring libirc.so, and if not where do
I find libirc.so.
Any help will be appreciated.
Thanks.
Shoaib