ERROR: The PHP binary coming with ISPConfig does not work properly on your system!

Discussion in 'Installation/Configuration' started by Geoinline, Nov 28, 2006.

  1. Geoinline

    Geoinline New Member

    Followed The Perfect Setup - Ubuntu 6.10 Server (Edgy Eft) to the letter but get this error while compiling ISPconfig

    Code:
    Code:
    Configuring libtool
    checking build system type... i686-pc-linux-gnu
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking how to recognise dependent libraries... pass_all
    checking for object suffix... o
    checking for executable suffix... no
    checking for c++... no
    checking for g++... no
    checking for gcc... gcc
    checking whether the C++ compiler (gcc   ) works... no
    configure: error: installation or configuration problem: C++ compiler cannot create executables.
    ERROR: Could not configure PHP
    cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/aps.tar.gz': No such file or directory
    mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
    mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
    mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
    mv: cannot stat `binaries/cronolog': No such file or directory
    mv: cannot stat `binaries/cronosplit': No such file or directory
    mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
    mv: cannot stat `binaries/zip': No such file or directory
    mv: cannot stat `binaries/unzip': No such file or directory
    tar: spamassassin.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `spamassassin': No such file or directory
    tar: uudeview.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `uudeview': No such file or directory
    tar: clamav.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `clamav': No such file or directory
    tar: aps.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    ./setup2: line 849: ispconfig_tmp/php/bin/php: No such file or directory
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    I don't know what to do. I've looked at similar posts but they don't seem to have exactly the same error
     
  2. bash3r

    bash3r New Member

    Same here!

    My install just did the same thing. Same error. Ubuntu Edgy 6.10.. I'm not sure what its crying about yet?!?! Hopefully we can find out what the problem is.

    Code:
    Configuring libtool
    checking build system type... i686-pc-linux-gnu
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking how to recognise dependent libraries... pass_all
    checking for object suffix... o
    checking for executable suffix... no
    checking for c++... no
    checking for g++... no
    checking for gcc... gcc
    checking whether the C++ compiler (gcc   ) works... no
    configure: error: installation or configuration problem: C++ compiler cannot create executables.
    ERROR: Could not configure PHP
    cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/aps.tar.gz': No such file or directory
    mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
    mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
    mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
    mv: cannot stat `binaries/cronolog': No such file or directory
    mv: cannot stat `binaries/cronosplit': No such file or directory
    mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
    mv: cannot stat `binaries/zip': No such file or directory
    mv: cannot stat `binaries/unzip': No such file or directory
    tar: spamassassin.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `spamassassin': No such file or directory
    tar: uudeview.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `uudeview': No such file or directory
    tar: clamav.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `clamav': No such file or directory
    tar: aps.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    ./setup2: line 849: ispconfig_tmp/php/bin/php: No such file or directory
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    
    
     
    Last edited: Nov 28, 2006
  3. Geoinline

    Geoinline New Member

    solved?

    This thread has a possible solution

    You need to do

    Code:
    apt-get install cpp g++
    I'm compiling now I'll post if this solves it.

    Yes it worked
     
    Last edited: Nov 28, 2006
  4. bash3r

    bash3r New Member

    Worked!

    Seems like this will do it! Need to add that to the "Perfect Setup" guide eh, it might make it "perfect".

    Thanks for the help

    get'er done: apt-get install cpp g++
     

Share This Page