Hi, I built xapian, and am trying to build php bindings for it and failing. this is my configure line: ./configure --prefix=/usr/local/xapian-bindings XAPIAN_CONFIG=/usr/local/xapian/bin/xapian-config --with-php this is the nonnormal stuff I'm getting for output: checking for xapian-config... /usr/local/xapian/bin/xapian-config checking /usr/local/xapian/bin/xapian-config works... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for /usr/local/bin/php-config... /usr/local/bin/php-config checking /usr/local/bin/php-config version... 5.1.5 checking for PHP extension directory... '/usr/local/bin/php-config --extension-dir' reports '/usr/local/lib/php/extensions/no-debug-non-zts-20050922' but that directory doesn't exist! Looking at this, it doesn't seem like a xapian thing at all, but a weird php thing. Does anyone know why php-config would give a weird directory for extension-dir? I'm not familiar with php-config. Dennis
On Fri, Nov 17, 2006 at 10:20:59AM -0700, dennis wrote:> I built xapian, and am trying to build php bindings for it and failing. > > checking for PHP extension directory... '/usr/local/bin/php-config > --extension-dir' reports > '/usr/local/lib/php/extensions/no-debug-non-zts-20050922' but that > directory doesn't exist! > > Looking at this, it doesn't seem like a xapian thing at all, but a weird > php thing. Does anyone know why php-config would give a weird directory > for extension-dir? I'm not familiar with php-config.That's a sensible (in PHP's eyes) extension-dir - try just creating that directory. J -- /--------------------------------------------------------------------------\ James Aylett xapian.org james@tartarus.org uncertaintydivision.org
It means you have an unclean php installation or possibly the vesitages of one installation along with a good installation. Is your php installed in /usr/local ? Php-config is to tell linking libraries and applications where various parts of php have been installed. I guess you have an old php in /usr/local and a newer php in /usr. Make sure you have the php dev files installed too. Sam -----Original Message----- From: "dennis" <dennis@works4me.com> To: xapian-discuss@lists.xapian.org Sent: 17/11/06 17:20 Subject: [Xapian-discuss] building php bindings Hi, I built xapian, and am trying to build php bindings for it and failing. this is my configure line: ./configure --prefix=/usr/local/xapian-bindings XAPIAN_CONFIG=/usr/local/xapian/bin/xapian-config --with-php this is the nonnormal stuff I'm getting for output: checking for xapian-config... /usr/local/xapian/bin/xapian-config checking /usr/local/xapian/bin/xapian-config works... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for /usr/local/bin/php-config... /usr/local/bin/php-config checking /usr/local/bin/php-config version... 5.1.5 checking for PHP extension directory... '/usr/local/bin/php-config --extension-dir' reports '/usr/local/lib/php/extensions/no-debug-non-zts-20050922' but that directory doesn't exist! Looking at this, it doesn't seem like a xapian thing at all, but a weird php thing. Does anyone know why php-config would give a weird directory for extension-dir? I'm not familiar with php-config. Dennis _______________________________________________ Xapian-discuss mailing list Xapian-discuss@lists.xapian.org http://lists.xapian.org/mailman/listinfo/xapian-discuss