The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PECL Install - odbtp

Discussion in 'General Discussion' started by KrystalS, Jun 29, 2009.

  1. KrystalS

    KrystalS Active Member

    Joined:
    Mar 15, 2004
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    UK
    I'm trying to install odbtp libraries via PECL installer, and I'm getting the following error :

    There were other errors, but now it's down to :

    "configure: error: Please reinstall the ODBTP distribution"

    has anyone else had this problem? I'm getting it on all cpanel servers I'm trying to install on.

    Code:
    Installing PHP Pecl "odbtp"
    
    downloading odbtp-1.1.4.tgz ...
    Starting to download odbtp-1.1.4.tgz (26,314 bytes)
    .........done: 26,314 bytes
    5 source files, building
    running: phpize
    Configuring for:
    PHP Api Version:         20041225
    Zend Module Api No:      20060613
    Zend Extension Api No:   220060519
    ODBTP client library installation directory? [autodetect] : ODBTP client library installation directory? [autodetect] : building in /root/tmp/pear-build-root/odbtp-1.1.4
    running: /root/tmp/pear/cache/odbtp-1.1.4/configure --with-odbtp --with-odbtp-mssql
    checking for egrep... grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking how to run the C preprocessor... gcc -E
    checking for icc... no
    checking whether gcc and cc understand -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking for PHP prefix... /usr/local
    checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
    checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20060613
    checking for PHP installed headers prefix... /usr/local/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... re2c
    checking for re2c version... 0.13.5 (ok)
    checking for gawk... gawk
    checking for ODBTP support... yes, shared
    checking for ODBTP/MSSQL support... yes, shared
    checking for odbtp files in default path... not found
    configure: error: Please reinstall the ODBTP distribution
    ERROR: `/root/tmp/pear/cache/odbtp-1.1.4/configure --with-odbtp --with-odbtp-mssql' failed
    The odbtp.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20060613
    
     
  2. KrystalS

    KrystalS Active Member

    Joined:
    Mar 15, 2004
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    UK
    I seem to have fixed this :

    Code:
    wget http://kent.dl.sourceforge.net/sourceforge/odbtp/odbtp-1.1.4.tar.gz
    zcat odbtp-1.1.4.tar.gz | tar xf -
    cd odbtp-1.1.4
    ./configure
    make
    make install
    
    Then go back into PECL and install the module.
     
Loading...

Share This Page