Noah Kantrowitz wrote:
> Nils Breunese wrote:
>> Nils Breunese wrote:
>>
>>> Aaron D. Marasco wrote:
>>>
>>>> I have trac running fine on CentOS 4.4 and I don't think I did anything
>>>> special... however I have been known to forget everything after 48
>>>> hours.
>>>>
>>>> I think packages with .rf at the end are from dag - see below
>>>>
>>>> python-clearsilver-0.10.1-1.2.elf.rf
>>>> python-sqlite-1.1.7-1.2
>>>> mod_python-3.1.3-5.1
>>>> python-2.3.4-14.3
>>>> trac-0.10.3-1.el4.rf
>>>> sqlite-3.3.3-1.2
>>>> sqlite-devel-3.3.3-1.2
>>>> php-pecl-sqlite-1.0.3-1.2.el4.rf
>>>> sqlitemanager-1.2.0-1.el4.rf
>>>>
>>>> ...so it looks like the python-sqlite and sqlite are stock CentOS (could
>>>> be fasttrack). If there's any other packages you want me to confirm, let
>>>> me know.
>>> So apparently it *is* possible to use Trac with sqlite 3 and
>>> python-sqlite 1.1. Then what could be causing my problem? Would that
>>> be the PHP5 module from CentOSPlus? I heard from Aaron he uses the
>>> stock PHP 4.3 package. Can anybody explain to me if/why PHP5 could
>>> cause trouble (and not PHP 4?)?
> 
> It isn't PHP 4 vs 5, it is the fact that another Apache module is linked
> against a different version of sqlite than your pysqlite bindings.
> If/when it gets loaded first, that version takes priority and confuses
> pysqlite. This is contraint of the way Linux (and most other unixes)
> handle dynamic linking, and the fact that all Apache modules run within
> the same memory space.

But I only have one version of sqlite as CentOS 4.4 comes with only one 
version of sqlite (3.x) and I would think it would be very strange if 
the PHP packages from the CentOSPlus repository (for CentOS 4.4) would 
be linked against a version of sqlite that is not available on CentOS 
4.4. How can I check which versions of sqlite PHP and python are linked 
against? Like I mentioned in my original post starting this thread I 
already ran the following:

 >>> import trac.db.sqlite_backend
 >>> trac.db.sqlite_backend._ver
(3, 3, 3)
 >>> trac.db.sqlite_backend.have_pysqlite
1
 >>> trac.db.sqlite_backend.sqlite.version
'1.1.7'

sqlite 3.3.3 and python-sqlite 1.1.7 are the only sqlite-related 
packages I have installed, but how can I check if PHP might be interfering?

Nils Breunese.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to