On Wed, Nov 12, 2003 at 02:00:11PM -0200, Marcello Mezzanotti wrote: > Hello all, > > im trying to to rebuild php with oci support but it doest work Well, I know zilch about PHP, but I have installed Oracle client on Linux a few times. One thing that leaps out at me is if you're using 9i you won't have an "oci8" package anywhere on the system. If (as it appears at a casual glance) PHP is looking for, or at least expects there to be, a set of oci8 tools on the machine, I imagine it's going to be disappointed. > > i have ALL packages installed, i installed oracle client sucesful, > i compiled DBD-Oracle 1.14 and tested it, everything works fine, so i > got php-4.3.3-6.src.rpm from FC1 SRPMS and typed > rpmbuild --rebuild --define 'oracle 1' php-4.3.3-6.src.rpm > as root and in the end i got this > > Processing files: php-oci8-4.3.3-6 > error: Could not open %files file > /usr/src/redhat/BUILD/php-4.3.3/files.oci8: No such file or directory > Processing files: php-snmp-4.3.3-6 > Provides: config(php-snmp) = 4.3.3-6 snmp.so > Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > Requires: config(php-snmp) = 4.3.3-6 libc.so.6 libc.so.6(GLIBC_2.0) > libc.so.6(GLIBC_2.1.3) libcrypto.so.4 libelf.so.1 libm.so.6 > libnetsnmp.so.5 php = 4.3.3-6Processing files: php-domxml-4.3.3-6 > Provides: config(php-domxml) = 4.3.3-6 domxml.so > Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > Requires: config(php-domxml) = 4.3.3-6 libc.so.6 libc.so.6(GLIBC_2.0) > libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libexslt.so.0 libm.so.6 > libxml2.so.2 libxslt.so.1 libxsltbreakpoint.so.1 libz.so.1 php = 4.3.3-6 > Processing files: php-xmlrpc-4.3.3-6 > Provides: config(php-xmlrpc) = 4.3.3-6 xmlrpc.so > Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > Requires: config(php-xmlrpc) = 4.3.3-6 libc.so.6 libc.so.6(GLIBC_2.0) > libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) > libexpat.so.0 php = 4.3.3-6 > Processing files: php-debuginfo-4.3.3-6 > Provides: domxml.so.debug imap.so.debug ldap.so.debug libphp4.so.debug > mysql.so.debug oci8.so.debug odbc.so.debug pgsql.so.debug snmp.so.debug > xmlrpc.so.debug > Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > > > RPM build errors: > Could not open %files file > /usr/src/redhat/BUILD/php-4.3.3/files.oci8: No such file or directory > > [root@wendy root]# export > declare -x BASH_ENV="/root/.bashrc" > declare -x DISPLAY="localhost:13.0" > declare -x G_BROKEN_FILENAMES="1" > declare -x HISTSIZE="1000" > declare -x HOME="/root" > declare -x HOSTNAME="wendy.intranet" > declare -x INPUTRC="/etc/inputrc" > declare -x LAMHELPFILE="/etc/lam/lam-helpfile" > declare -x LANG="en_US.UTF-8" > declare -x LD_LIBRARY_PATH="/oracle/u01/app/oracle/product/9.2.0/lib" > declare -x LESSOPEN="|/usr/bin/lesspipe.sh %s" > declare -x LOGNAME="root" > declare -x > LS_COLORS="no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:" > declare -x MAIL="/var/spool/mail/root" > declare -x NLS_LANG="AMERICAN_BRAZIL.WE8ISO8859P1" > declare -x OLDPWD="/usr/src/redhat/SPECS" > declare -x ORACLE_BASE="/oracle/u01/app/oracle" > declare -x ORACLE_DOC="/oracle/u01/app/oracle/product/9.2.0/doc" > declare -x ORACLE_HOME="/oracle/u01/app/oracle/product/9.2.0" > declare -x ORACLE_SID="wendy" > declare -x > ORA_NLS33="/oracle/u01/app/oracle/product/9.2.0/ocommon/nls/admin/data" > declare -x > PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/root/bin:/etc:/oracle/u01/app/oracle/product/9.2.0/bin:/root/bin:/etc:/oracle/u01/app/oracle/product/9.2.0/bin" > declare -x PVM_ROOT="/usr/share/pvm3" > declare -x PVM_RSH="/usr/bin/rsh" > declare -x PWD="/root" > declare -x QTDIR="/usr/lib/qt-3.1" > declare -x SHELL="/bin/bash" > declare -x SHLVL="1" > declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass" > declare -x TERM="xterm" > declare -x > TNS_ADMIN="/oracle/u01/app/oracle/product/9.2.0/network/admin" > declare -x USER="root" > declare -x USERNAME="root" > declare -x XAUTHORITY="/root/.xauthHwKLVr" > declare -x XPVM_ROOT="/usr/share/pvm3/xpvm" > > > anyone have any ideia? > thanks anyway > > Marcello > > -- > +------------------------------------------------------------------+ > | Marcello Mezzanotti <mezzanet@xxxxxxxxx> ICQ: 1845241 | > | Network/System/Security Administrator | > | http://mezzanet.homeunix.org | > | Linux / FreeBSD / OpenBSD | > +------------------------------------------------------------------+ > > Oh my God, they killed INIT, you BASTARDS!!!! > > > BOFH Excuse: your keyboard's space bar is generating spurious keycodes. > > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > http://www.redhat.com/mailman/listinfo/fedora-list -- ---- Fred Smith -- fredex@xxxxxxxxxxxxxxxxxxxxxx ----------------------------- "And he will be called Wonderful Counselor, Mighty God, Everlasting Father, Prince of Peace. Of the increase of his government there will be no end. He will reign on David's throne and over his kingdom, establishing and upholding it with justice and righteousness from that time on and forever." ------------------------------- Isaiah 9:7 (niv) ------------------------------
Attachment:
pgpWCLlhYGiWp.pgp
Description: PGP signature