Installation Problem w/libxml2

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

    Installation Problem w/libxml2

    I'm trying to install PHP 5.1.2 on Fedora 4. Everything on configure
    goes ok until this:

    checking libxml2 install dir... /usr/lib
    checking for xml2-config path...
    configure: error: xml2-config not found. Please check your libxml2
    installation.

    Here's my configure line: ./configure
    --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=usr/local/mysql
    --with-mysqli=/usr/local/mysql/bin/mysql_config
    --with-libxml-dir=/usr/lib

    I've discovered that libxml2 is installed in /usr/lib, but I can't find
    the xml2-config file either. Find and locate say it doesn't exist.

    I get the same results with or without the --with-libxml-dir parameter
    entered or not.

    Any suggestions?

    Scott

  • Scott

    #2
    Re: Installation Problem w/libxml2

    On Wed, 2006-03-29 at 21:23 -0500, Scott wrote:[color=blue]
    > I'm trying to install PHP 5.1.2 on Fedora 4. Everything on configure
    > goes ok until this:
    >
    > checking libxml2 install dir... /usr/lib
    > checking for xml2-config path...
    > configure: error: xml2-config not found. Please check your libxml2
    > installation.
    >
    > Here's my configure line: ./configure
    > --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=usr/local/mysql
    > --with-mysqli=/usr/local/mysql/bin/mysql_config
    > --with-libxml-dir=/usr/lib
    >
    > I've discovered that libxml2 is installed in /usr/lib, but I can't find
    > the xml2-config file either. Find and locate say it doesn't exist.
    >
    > I get the same results with or without the --with-libxml-dir parameter
    > entered or not.
    >
    > Any suggestions?
    >
    > Scott
    >[/color]

    Got it. I just needed to install libxml2-devel.

    Comment

    Working...