Greetings,
I am in the process of Building PHP from source to include --with-ibm-db2 so that i 
can connect to a db2 database. When i try to do an rpm -bi mod_php4.spec it starts the 
process and then gives me this error.

linuxk:/usr/src/packages/SPECS # rpm -bi mod_php4.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.96649
+ umask 022
+ cd /usr/src/packages/BUILD
+ '[' '!' -e /usr/include/libxml ']'
+ cd /usr/src/packages/BUILD
+ rm -rf php-4.2.2
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/php-4.2.2.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd php-4.2.2
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ cd /usr/src/packages/BUILD
+ /bin/mkdir -p php-4.2.2
+ cd php-4.2.2
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/dist.99.linux.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/asp2php-0.76.12.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #0 (php-4.2.2.dif):'
Patch #0 (php-4.2.2.dif):
+ patch -p0 -s
+ echo 'Patch #1 (php-4.2.2-java.dif):'
Patch #1 (php-4.2.2-java.dif):
+ patch -p0 -s
+ echo 'Patch #2 (php-4.2.2-lib64.dif):'
Patch #2 (php-4.2.2-lib64.dif):
+ patch -p0 -s
+ echo 'Patch #3 (php-4.2.2-url.dif):'
Patch #3 (php-4.2.2-url.dif):
+ patch -p0 -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.98937
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd php-4.2.2
+ libtoolize --force
Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
You should update your `aclocal.m4' by running aclocal.
+ aclocal
+ autoheader
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING:   AC_DEFINE([NEED_MAIN], 1,
WARNING:             [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
configure.in:186: warning: AC_PROG_LEX invoked multiple times
autoheader: `main/php_config.h.in' is updated
+ autoconf
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.46418
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd php-4.2.2
+ DYNAMIC_MODULES=
+ '[' -e /usr/lib64/libssl.so ']'
+ DYNAMIC_MODULES= --with-openssl
+ '[' -e /usr/bin/curl-config ']'
+ DYNAMIC_MODULES= --with-openssl --with-curl
+ DYNAMIC_MODULES= --with-openssl --with-curl --with-imap-ssl
+ DYNAMIC_MODULES= --with-openssl --with-curl --with-imap-ssl --enable-xslt 
--with-xslt-sablot
+ LIST=apache core
+ LIST=aol servlet apache core
+ rm -f ./.status
+ . setJava --devel Java2
++ SET_JAVA_PL_HELP=no
++ '[' --devel == --help ']'
++ '[' Java2 == --help ']'
+++ setJava.pl --encaps 'source setJava' setenv --devel Java2
Error: no valid java configuration found in directory /etc/java
++ SET_JAVA_PL_OUTPUT=
Bad exit status from /var/tmp/rpm-tmp.46418 (%install)

Where can i find Java2 so that i can finish this build? is there something im missing? 
I have the IBM java2 sdk installed, but that does not seem to be that package it is 
looking for. Has anyone Built an RPM for PHP that includes ibm-db2 support?

any help would be appreciated.
Thanks,
Cameron Seader


This transmission may contain information that is privileged, confidential and/or 
exempt from disclosure under applicable law. If you are not the intended recipient, 
you are hereby notified that any disclosure, copying, distribution, or use of the 
information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. 
If you received this transmission in error, please immediately contact the sender and 
destroy the material in its entirety, whether in electronic or hard copy format. Thank 
you. A1.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to