Bonjour,
Je voudrais savoir si quelqu'un à déjà essayer d'installer le instant client de oracle sur une sme et si il n'a pas eu trop de problème.
Merci de vos retours.
Modérateur: modos Ixus
ORACLE_HOME=/usr/lib/oracle/10.2.0.2/client
ORACLE_SID=bob
ORACLE_TERM=vt100
PATH=$PATH:/usr/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME/network/lib
export ORACLE_BASE ORACLE_HOME ORACLE_SID ORACLE_TERM LD_LIBRARY_PATH PATH
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
. ~/.oracle
unset USERNAME
. .bash_profile
yum localinstall oracle-instantclient*.rpm
tar -zxvf php-4.3.9.tar.gz
rpm -ivh --nodeps *.rpm
yum --enablerepo=base --enablerepo=updates install gcc \
flex httpd-devel bison byacc openssl-devel bzip2-devel \
curl-devel libxml*-devel libxslt*-devel libjpeg-devel \
libpng-devel ImageMagick-devel gmp-devel libgcrypt-devel \
libc-client-devel mysql-devel ncurses-devel post*devel \
net-snmp-devel unixODBC-devel gcc4 gcc-c++ automake autoconf \
bind-utils bind-libs rpm-build redhat-rpm-config cpp glibc-devel \
glibc-headers glibc-kernheaders libstdc++-devel m4 patch anaconda \
anaconda-runtime e2fsprogs-devel kernel-smp-devel krb5-devel \
libacl-devel libattr-devel libtermcap-devel mysqlclient10 pam-devel \
readline-devel zlib-devel anaconda-help atk bogl booty fontconfig \
gtk2 pango parted pyparted xorg-x11-Mesa-libGL xorg-x11-libs \
apr-util-devel cyrus-sasl-devel expat-devel openldap-devel \
pcre-devel sendmail-cf atk-devel fontconfig-devel freetype-devel \
glib2-devel gtk2-devel libmng libmng-devel pango-devel pkgconfig \
qt qt-devel xorg-x11-devel
yum --enablerepo=* install pspell-devel
cd /root/php-4.3.9
make distclean
./configure --with-oci10=instantclient,/usr/lib/oracle/10.2.0.2/client/lib/ \
--build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu \
--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin \
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib \
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man \
--infodir=/usr/share/info --cache-file=../config.cache --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d \
--enable-force-cgi-redirect --disable-debug --enable-pic --disable-rpath --enable-inline-optimization \
--with-bz2 --with-db4=/usr --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr \
--with-gd=shared --enable-gd-native-ttf --without-gdbm --with-gettext --with-ncurses=shared --with-gmp \
--with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-xml --with-expat-dir=/usr \
--with-dom=shared/usr --with-dom-xslt=/usr --with-dom-exslt=/usr --with-xmlrpc=shared --with-pcre-regex=/usr \
--with-zlib --with-layout=GNU --enable-bcmath --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets \
--enable-sysvsem --enable-sysvshm --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx \
--with-pear=/usr/share/pear --with-imap=shared --with-imap-ssl --with-kerberos --with-ldap=shared \
--with-mysql=shared,/usr --with-pgsql=shared --with-snmp=shared,/usr --with-snmp=shared --enable-ucd-snmp-hack \
--with-unixODBC=shared,/usr --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx --enable-dio \
--enable-mbstring=shared --enable-mbstr-enc-trans --enable-mbregex \
--with-mime-magic=/usr/share/file/magic.mime --with-apxs2=/usr/sbin/apxs
make
make install
rpm -ivh php-oci8-4.3.9-2.2.el4.i386.rpm
yum --exclude=*php* --exclude=*mysql* upgrade
Retour vers E-Smith / SME Server
Utilisateur(s) parcourant actuellement ce forum : Aucun utilisateur inscrit et 1 invité