PHP xdiff installation problems (phpize)

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

    PHP xdiff installation problems (phpize)

    I have not used 'phpize' before, but apparently it is required for
    installing the PHP xdiff extension (http://pecl.php.net/package/xdiff)
    in Linux. I am running PHP 4.2.2 on RH Linux 8.0 (upgrade is not
    possible in production) and this is what I am getting:

    $ phpize
    autoheader: `config.h.in' is created
    You should update your `aclocal.m4' by running aclocal.
    $ ./configure
    configure: error: cannot find sources (Makefile.in) in . or ..

    As I understand it, phpize should generate a Makefile.in for autoconf,
    but it isn't producing any errors. I imagine my problem is something
    simple (perhaps my pure stupidity.) Any assistance or a pointer in the
    right direction would be greatly appreciated!

  • mike

    #2
    Re: PHP xdiff installation problems (phpize)

    For what it's worth, I thought I just got smart by running 'go-pear' to
    run the install straight through the pear command, but I run into the
    same thing...

    $ sudo pear install xdiff
    downloading xdiff-1.2.tgz ...
    Starting to download xdiff-1.2.tgz (8,215 bytes)
    ......done: 8,215 bytes
    4 source files, building
    running: phpize
    autoheader: `config.h.in' is created
    You should update your `aclocal.m4' by running aclocal.
    libxdiff library installation dir? [autodetect] :
    building in /var/tmp/pear-build-root/xdiff-1.2
    running: /tmp/tmpN4QkpU/xdiff-1.2/configure --with-xdiff
    configure: error: cannot find sources (Makefile.in) in
    /tmp/tmpN4QkpU/xdiff-1.2 or ..
    `/tmp/tmpN4QkpU/xdiff-1.2/configure --with-xdiff' failed

    Comment

    Working...