On Tue, Aug 05, 2008 at 11:08:23PM -0500, Diego Escalante Urrelo wrote:
> The problem is that /usr/share/php5 is not in the include_path.

Hmm, the Debian PHP Policy draft says:

    PHP libraries should be located in /usr/share/php/PACKAGE. for
    packages that depend on a specific version of php libraries can be
    placed in /usr/share/phpPHPVERSION

http://webapps-common.alioth.debian.org/draft-php/html/ch-php-libs.html

And Xapian's PHP5 bindings certainly wouldn't work with PHP4 (though
I realise that's obsolete now) so it seems that by that document we
should be indeed be installing in /usr/share/php5

It also says:

    The default PHP include path is:
    
.:/etc/php:/usr/local/share/php/5.0:/usr/share/php5:/usr/share/php/5.0:/usr/share/php:/usr/local/share/php

Which doesn't match current reality, though it does then note:

    XXX: this still needs to be solidified. 

The package naming conventions it documents don't really match those
actually in use either.

I'm rapidly concluding that this document is actually unhelpful as a
guide for packaging PHP related stuff.

> Now, I don't know if this can be considered precisely a bug, at least
> a warning would be useful, rationale:

I think it's a definite bug - I'll sort it out for lenny.

Cheers,
    Olly



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to