pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: django/python missing sqlite
On Sat 11 Apr 2009 at 08:25:04 PM +0200, Joerg Sonnenberger wrote:
>On Sat, Apr 11, 2009 at 11:18:19AM -0700, George Georgalis wrote:
>> it seems sqlite is an option in pkgsrc py25-django, and
>> default upstream... I'm not suggesting it should be one way
>> or another, but why does the pkgsrc version have different
>> default options than the source?
>
>To have a sane dependency set. The errors for missing dependencies are
>even more mysterious. You are most likely hitten by the ironic situation
>of py-sqlite2 being newer than the py-sqlite3 (the builtin)...
Humm... good info. So I thought this would fix it:
( cd /usr/pkgsrc/www/py-django/ && bmake deinstall clean )
( cd /usr/pkgsrc/databases/py-sqlite2 && bmake deinstall clean )
( cd /usr/pkgsrc/databases/py-sqlite3 && bmake install )
( cd /usr/pkgsrc/www/py-django/ && bmake install PKG_OPTIONS.django=sqlite )
but py-django still installs py-sqlite2:
===> Installing dependencies for py25-django-1.0.2nb1
==========================================================================
The supported build options for py25-django are:
mysql psycopg1 psycopg2 sqlite
The currently selected options are:
psycopg1 sqlite
You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable. Its current value is shown:
PKG_OPTIONS.django = sqlite
==========================================================================
==========================================================================
The following variables will affect the build process of this package,
py25-django-1.0.2nb1. Their current value is shown below:
* BDB185_DEFAULT = db4
* BDB_DEFAULT = db4
* PYTHON_VERSION_DEFAULT = 25
Based on these variables, the following variables have been set:
* BDBBASE (defined, but empty)
* BDB_LIBS = -ldb4
* BDB_TYPE = db4
* PYPACKAGE = python25
You may want to abort the process now with CTRL-C and change their value
before continuing. Be sure to run `/usr/pkg/bin//bmake clean' after
the changes.
==========================================================================
=> Full dependency py25-flup-[0-9]*: found py25-flup-2311
=> Full dependency py25-psycopg-[0-9]*: found py25-psycopg-1.1.21nb3
=> Full dependency py25-sqlite2-[0-9]*: NOT found
=> Verifying reinstall for ../../databases/py-sqlite2
Maybe there is a sane reason for that (...), but at this point I think the
.if !empty(PKG_OPTIONS:Msqlite)
part of /usr/pkgsrc/www/py-django/options.mk needs an adjustment?
--George
Home |
Main Index |
Thread Index |
Old Index