On Sunday 28 January 2007 14:51, Julien Danjou wrote:
> AHAH.
> Are you sure that can't create data loss too?
I am trying to build a package which depends on sqlite3. This breaks my 
package in funny ways. 

> > The package installs the include file in the path:
> >     /usr/share/php5/DB/sqlite3.php
> >
> > This path is not included by default. From what I see in php-db, that
> > file belongs in /usr/share/php/DB/sqlite3.php.
>
> Right.
> However I don't know yet how I can grab this files in two packages
> without being in conflict with the other one.
You are talking about php5-sqlite3 and php4-sqlite3?
I am probably not following, but I think in both packages you are installing 
the same php "include" file, so this can be worked around in some way.

If splitting this package is a problem (or just using the same package for 
PHP4 and PHP5), IMHO the best solution should be to modify the default 
configuration of php4 and php5 to include /usr/share/php$PHPVERSION/, as 
dictated by the php policy Draft, section 2.2.2.
http://webapps-common.alioth.debian.org/draft-php/html/ch-php-int.html#s-php-interpreter-fs

> Sure that's doing some configuration by yourself is fucking critical.
No, read my comment in the original post: it leaves a modified configuration 
file. This situation must be avoided, if we want to reduce race between 
the "packager" version and "my version". 

Is it that hard to include a file with this content?


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

Reply via email to