[Xapian-discuss] building php bindings

Sam Liddicott sam at liddicott.com
Fri Nov 17 19:05:13 GMT 2006


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 at works4me.com>
To: xapian-discuss at 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 at lists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-discuss




More information about the Xapian-discuss mailing list