Results 1 to 7 of 7

Thread: Installation problem on CentOS 5 with Plesk 8.6.0

  1. #1
    oVi
    oVi is offline Registered User
    Name: Florian Mustermann
    Organization: Serverline.de
    Project: websolutions
    Join Date
    Jun 2009
    Posts
    10

    Installation problem on CentOS 5 with Plesk 8.6.0

    I have Installed the Ice-PHP with yum and all files are on the right place.
    I've add the following lines in ./usr/local/psa/admin/conf/php.ini:
    Code:
    extension=IcePHP.so
    ice.slice=./usr/lib/Murmur.ice
    The Murmur.ice file have the following rights:
    Code:
    Path: 
    -rw-r--r--   1 root root       29917  9. Jun 03:17 Murmur.ice
    Here is the phpinfo()

    Code:
    [root@sl35124 /]# php -m
    PHP Warning:  PHP Startup: ice: Unable to initialize module
    Module compiled with module API=20050922, debug=0, thread-safety=0
    PHP    compiled with module API=20060613, debug=0, thread-safety=0
    These options need to match
     in Unknown on line 0
    [PHP Modules]
    bcmath
    bz2
    calendar
    ctype
    curl
    date
    dbase
    dom
    exif
    filter
    ftp
    gd
    gettext
    gmp
    hash
    iconv
    imap
    json
    libxml
    mbstring
    mcrypt
    mhash
    mysql
    mysqli
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    posix
    readline
    Reflection
    session
    shmop
    SimpleXML
    soap
    sockets
    SPL
    standard
    sysvmsg
    sysvsem
    sysvshm
    tokenizer
    wddx
    xml
    xmlreader
    xmlwriter
    xsl
    zip
    zlib
    
    [Zend Modules]
    I think i must compile the library from source, but i have no idea about it

    I have download Ice-3.3.1.tar.gz and make
    Code:
    [root@sl35124 ~]# tar zxvf Ice-3.3.1.tar.gz
    [root@sl35124 ~]# cd Ice-3.3.1
    [root@sl35124 ~]# export ICE_HOME=/usr
    [root@sl35124 ~]# make
    and it throws:
    Code:
    [root@sl35124 Ice-3.3.1]# make
    making all in cpp
    make[1]: Entering directory `/root/Ice-3.3.1/cpp'
    making all in config
    make[2]: Entering directory `/root/Ice-3.3.1/cpp/config'
    echo ""
    
    make[2]: Leaving directory `/root/Ice-3.3.1/cpp/config'
    making all in src
    make[2]: Entering directory `/root/Ice-3.3.1/cpp/src'
    making all in IceUtil
    make[3]: Entering directory `/root/Ice-3.3.1/cpp/src/IceUtil'
    c++ -c -I../../include -DICE_UTIL_API_EXPORTS -I..  -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g  ArgVector.cpp
    make[3]: c++: Kommando nicht gefunden
    make[3]: *** [ArgVector.o] Fehler 127
    make[3]: Leaving directory `/root/Ice-3.3.1/cpp/src/IceUtil'
    make[2]: *** [all] Fehler 1
    make[2]: Leaving directory `/root/Ice-3.3.1/cpp/src'
    make[1]: *** [all] Fehler 1
    make[1]: Leaving directory `/root/Ice-3.3.1/cpp'
    make: *** [all] Fehler 1
    [root@sl35124 Ice-3.3.1]#
    I don't know what's wrong with it... I hope anybody can help me.

  2. #2
    dwayne's Avatar
    dwayne is offline ZeroC Staff
    Name: Dwayne Boone
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Jan 2005
    Location
    St. John's, Newfoundland
    Posts
    397
    I will let one of our PHP experts comment on the PHP specific issues, but for the Ice compile failure it appears that you do not have the GCC compiler installed on your machine or at least not present in your path.

  3. #3
    oVi
    oVi is offline Registered User
    Name: Florian Mustermann
    Organization: Serverline.de
    Project: websolutions
    Join Date
    Jun 2009
    Posts
    10
    mmh, but...

    Code:
    [root@sl35124 ~]# yum install gcc
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * epel: www.mirrorservice.org
     * extras: ftp.halifax.rwth-aachen.de
     * updates: ftp.plusline.de
     * base: distrib-coffee.ipsl.jussieu.fr
     * addons: ftp.halifax.rwth-aachen.de
     * atomic: www.atomicorp.com
    Setting up Install Process
    Parsing package install arguments
    Package gcc-4.1.2-44.el5.i386 already installed and latest version
    Nothing to do
    [root@sl35124 ~]#
    ...or at least not present in your path.
    what did you mean?

    Code:
    [root@sl35124 Ice-3.3.1]# ls -la
    insgesamt 168
    drwxrwxr-x 13 psaftp psaftp  4096 20. Mär 18:52 .
    drwxr-x---  9 root   root    4096  9. Jun 02:28 ..
    -rwxr-xr-x  1 psaftp psaftp   940 20. Mär 18:52 allTests.py
    drwxr-xr-x  3 psaftp psaftp  4096 20. Mär 18:52 certs
    -rw-r--r--  1 psaftp psaftp 39238 20. Mär 18:52 CHANGES
    drwxr-xr-x  2 psaftp psaftp  4096 20. Mär 18:52 config
    drwxr-xr-x 10 psaftp psaftp  4096 20. Mär 18:52 cpp
    drwxr-xr-x  8 psaftp psaftp  4096 20. Mär 18:52 cs
    -rw-r--r--  1 psaftp psaftp  1893 20. Mär 18:52 ICE_LICENSE
    drwxr-xr-x  8 psaftp psaftp  4096 20. Mär 18:52 java
    -rw-r--r--  1 psaftp psaftp 18014 20. Mär 18:52 LICENSE
    -rw-r--r--  1 psaftp psaftp  1500 20. Mär 18:52 Makefile
    -rw-r--r--  1 psaftp psaftp  2411 20. Mär 18:52 Makefile.mak
    drwxr-xr-x  8 psaftp psaftp  4096 20. Mär 18:52 php
    drwxr-xr-x  8 psaftp psaftp  4096 20. Mär 18:52 py
    drwxr-xr-x  9 psaftp psaftp  4096 20. Mär 18:52 rb
    -rw-r--r--  1 psaftp psaftp   236 20. Mär 18:52 README
    -rw-r--r--  1 psaftp psaftp 36035 20. Mär 18:52 RELEASE_NOTES
    drwxr-xr-x  2 psaftp psaftp  4096 20. Mär 18:52 scripts
    drwxr-xr-x  9 psaftp psaftp  4096 20. Mär 18:52 slice
    drwxr-xr-x  4 psaftp psaftp  4096 20. Mär 18:52 vb
    I don't know what you mean
    I'm not a Linux guru.
    Can you say me, what you will see and i will show it for you.
    I hope you can help me.

  4. #4
    xdm's Avatar
    xdm
    xdm is offline ZeroC Staff
    Name: Jose Gutierrez de la Concha
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Sep 2003
    Location
    La Coruña, Spain
    Posts
    588
    Hi

    you need to install the c++ compiler, try

    Code:
    yum list gcc-c++
    this command will show you if the c++ compiler is installed in your system.

  5. #5
    oVi
    oVi is offline Registered User
    Name: Florian Mustermann
    Organization: Serverline.de
    Project: websolutions
    Join Date
    Jun 2009
    Posts
    10
    Thats:

    Code:
    [root@sl35124 ~]# yum list gcc-c++
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * epel: www.mirrorservice.org
     * extras: ftp.halifax.rwth-aachen.de
     * updates: ftp.plusline.de
     * base: distrib-coffee.ipsl.jussieu.fr
     * addons: ftp.halifax.rwth-aachen.de
     * atomic: www.atomicorp.com
    Available Packages
    gcc-c++.i386                          4.1.2-44.el5                          base
    [root@sl35124 ~]#
    EDIT: i have installed the gcc-c++ package and compile it now...
    What must i make after the compile?


    EDIT#2:


    Code:
    ...
    c++ -c -I.. -I../../include -DICE_API_EXPORTS   -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g  ConnectRequestHandler.cpp
    c++ -c -I.. -I../../include -DICE_API_EXPORTS   -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g  ConnectionFactory.cpp
    c++ -c -I.. -I../../include -DICE_API_EXPORTS   -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl -fPIC -g  ConnectionI.cpp
    ConnectionI.cpp:29:19: Fehler: bzlib.h: Datei oder Verzeichnis nicht gefunden
    ConnectionI.cpp: In function »std::string getBZ2Error(int)«:
    ConnectionI.cpp:2046: Fehler: »BZ_RUN_OK« wurde in diesem Gültigkeitsbereich nicht definiert
    ConnectionI.cpp:2050: Fehler: »BZ_FLUSH_OK« wurde in diesem Gültigkeitsbereich nicht definiert
    ConnectionI.cpp:2054: Fehler: »BZ_FINISH_OK« wurde in diesem Gültigkeitsbereich nicht definiert
    ConnectionI.cpp:2058: Fehler: »BZ_STREAM_END« wurde in diesem Gültigkeitsbereich nicht definiert
    ConnectionI.cpp:2062: Fehler: »BZ_CONFIG_ERROR« wurde in diesem Gültigkeitsbereich nicht definiert
    ConnectionI.cpp:2066: Fehler: »BZ_SEQUENCE_ERROR« wurde in diesem Gültigkeitsbereich nicht definiert
    ConnectionI.cpp:2070: Fehler: »BZ_PARAM_ERROR« wurde in diesem Gültigkeitsbereich nicht definiert
    ConnectionI.cpp:2074: Fehler: »BZ_MEM_ERROR« wurde in diesem Gültigkeitsbereich nicht definiert
    ConnectionI.cpp:2078: Fehler: »BZ_DATA_ERROR« wurde in diesem Gültigkeitsbereich nicht definiert
    ConnectionI.cpp:2082: Fehler: »BZ_DATA_ERROR_MAGIC« wurde in diesem Gültigkeitsbereich nicht definiert
    ConnectionI.cpp:2086: Fehler: »BZ_IO_ERROR« wurde in diesem Gültigkeitsbereich nicht definiert
    ConnectionI.cpp:2090: Fehler: »BZ_UNEXPECTED_EOF« wurde in diesem Gültigkeitsbereich nicht definiert
    ConnectionI.cpp:2094: Fehler: »BZ_OUTBUFF_FULL« wurde in diesem Gültigkeitsbereich nicht definiert
    ConnectionI.cpp: In member function »void Ice::ConnectionI::doCompress(IceInternal::BasicStream&, IceInternal::BasicStream&)«:
    ConnectionI.cpp:2119: Fehler: »BZ2_bzBuffToBuffCompress« wurde in diesem Gültigkeitsbereich nicht definiert
    ConnectionI.cpp:2120: Fehler: »BZ_OK« wurde in diesem Gültigkeitsbereich nicht definiert
    ConnectionI.cpp: In member function »void Ice::ConnectionI::doUncompress(IceInternal::BasicStream&, IceInternal::BasicStream&)«:
    ConnectionI.cpp:2177: Fehler: »BZ2_bzBuffToBuffDecompress« wurde in diesem Gültigkeitsbereich nicht definiert
    ConnectionI.cpp:2178: Fehler: »BZ_OK« wurde in diesem Gültigkeitsbereich nicht definiert
    make[3]: *** [ConnectionI.o] Fehler 1
    make[3]: Leaving directory `/root/Ice-3.3.1/cpp/src/Ice'
    make[2]: *** [all] Fehler 1
    make[2]: Leaving directory `/root/Ice-3.3.1/cpp/src'
    make[1]: *** [all] Fehler 1
    make[1]: Leaving directory `/root/Ice-3.3.1/cpp'
    make: *** [all] Fehler 1
    [root@sl35124 Ice-3.3.1]#
    What's wrong?
    Last edited by oVi; 06-09-2009 at 10:34 AM.

  6. #6
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    The problem is that you don't have the correct third party dependencies installed (in this case bzip2). Please follow the directions in the INSTALL.LINUX documentation that accompanies the distribution.

    However, why are you trying to build Ice itself? The RHEL 5 RPMs are compatible with CentOS 5. You can use yum to install following the directions on our download page.

    http://www.zeroc.com/download.html

  7. #7
    oVi
    oVi is offline Registered User
    Name: Florian Mustermann
    Organization: Serverline.de
    Project: websolutions
    Join Date
    Jun 2009
    Posts
    10
    i have installed it successfully with the repository (http://www.zeroc.com/download/Ice/3....zeroc-ice.repo)
    The Result:
    Code:
    [root@sl35124 /]# ./etc/init.d/httpd restart
    httpd beenden:                                             [  OK  ]
    httpd starten:                                             [  OK  ]
    [root@sl35124 /]# php -m
    PHP Warning:  PHP Startup: ice: Unable to initialize module
    Module compiled with module API=20050922, debug=0, thread-safety=0
    PHP    compiled with module API=20060613, debug=0, thread-safety=0
    These options need to match
     in Unknown on line 0
    [PHP Modules]
    bcmath
    bz2
    calendar
    ctype
    curl
    date
    dbase
    dom
    exif
    filter
    ftp
    gd
    gettext
    gmp
    hash
    iconv
    imap
    ionCube Loader
    json
    libxml
    mbstring
    mcrypt
    mhash
    mysql
    mysqli
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    posix
    readline
    Reflection
    session
    shmop
    SimpleXML
    soap
    sockets
    SPL
    standard
    sysvmsg
    sysvsem
    sysvshm
    tokenizer
    wddx
    xml
    xmlreader
    xmlwriter
    xsl
    zip
    zlib
    
    [Zend Modules]
    the ionCube PHP Loader
    
    [root@sl35124 /]#
    And with new compiled and replaced IcePHP.so:
    Code:
    [root@sl35124 /]# ./etc/init.d/httpd restart
    httpd beenden:                                             [  OK  ]
    httpd starten:                                             [  OK  ]
    [root@sl35124 /]# php -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    ctype
    curl
    date
    dbase
    dom
    exif
    filter
    ftp
    gd
    gettext
    gmp
    hash
    ice
    iconv
    imap
    ionCube Loader
    json
    libxml
    mbstring
    mcrypt
    mhash
    mysql
    mysqli
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    posix
    readline
    Reflection
    session
    shmop
    SimpleXML
    soap
    sockets
    SPL
    standard
    sysvmsg
    sysvsem
    sysvshm
    tokenizer
    wddx
    xml
    xmlreader
    xmlwriter
    xsl
    zip
    zlib
    
    [Zend Modules]
    the ionCube PHP Loader
    
    [root@sl35124 /]#
    whatever... now it work's
    Thanks guys

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. problem with installation of python
    By danielhf in forum Help Center
    Replies: 1
    Last Post: 09-21-2006, 01:41 AM
  2. Problem with slice2javae in installation
    By cesartovic in forum Help Center
    Replies: 8
    Last Post: 05-10-2006, 12:28 PM
  3. Linux installation problem
    By surfer in forum Help Center
    Replies: 1
    Last Post: 08-09-2005, 07:30 AM
  4. python installation problem
    By brian in forum Help Center
    Replies: 5
    Last Post: 06-22-2004, 09:39 PM
  5. Installation problem
    By yserge in forum Help Center
    Replies: 2
    Last Post: 03-16-2004, 07:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •