Trouble compiling/installing php at pear

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bwhitehd

    #1

    Trouble compiling/installing php at pear

    I'm having a problem installing php. The compile seems to go fine, but
    when it gets to the install step I get the following errors. Does
    anyone have an idea of what might be the problem? We build our
    applications under three different environments (Linux i686, Linux
    x86_64, Solaris 8 Sparc). This is the first of the three on a RHEL 3
    system using the current stable versions of the GNU toolchain in a
    segregated environment. Basically my build script points to specific
    paths and library directories so it does not use the default installed
    versions provided by RedHat. I've googled like crazy and found
    nothing. Does the pear install make an external connection to download
    files or anything? Any ideas would be helpful.


    ------------ Error Start ----------------
    Installing PEAR environment: /apps/free/linux/php/5.1.2/lib/php/

    Warning: Invalid argument supplied for foreach() in
    phar://install-pear-nozlib.phar/PEAR/DependencyDB.ph p on line 398

    Warning: Invalid argument supplied for foreach() in
    phar://install-pear-nozlib.phar/PEAR/DependencyDB.ph p on line 398

    Warning: Invalid argument supplied for foreach() in
    phar://install-pear-nozlib.phar/PEAR/DependencyDB.ph p on line 398

    Warning: Invalid argument supplied for foreach() in
    phar://install-pear-nozlib.phar/PEAR/DependencyDB.ph p on line 398

    Warning: Invalid argument supplied for foreach() in
    phar://install-pear-nozlib.phar/PEAR/DependencyDB.ph p on line 398

    Warning: Invalid argument supplied for foreach() in
    phar://install-pear-nozlib.phar/PEAR/DependencyDB.ph p on line 398

    Notice: Array to string conversion in
    phar://install-pear-nozlib.phar/PEAR/Registry.php on line 456

    Fatal error: Call to a member function setConfig() on a non-object in
    phar://install-pear-nozlib.phar/PEAR/DependencyDB.ph p on line 533
    gmake[1]: *** [install-pear-installer] Error 255
    gmake: *** [install-pear] Error 2
    ------------ Error End ----------------

    Regards,

    Brian

Working...