[yt-users] Merger Tree

Matthew Turk matthewturk at gmail.com
Thu Jul 8 14:52:31 PDT 2010


Stephen,

Earlier in the thread Brian said that he was able to find sqlite3 in
/usr/lib64 and /usr/lib64.  Why is the _sqlite3 module not finding
what it needs in the systemwide installation?

Is there any possible way to refactor the code to avoid using sqlite3
as a required dependency?

-Matt

On Thu, Jul 8, 2010 at 2:48 PM, Stephen Skory <stephenskory at yahoo.com> wrote:
> Hi Brian,
>
> inside the Python source directory, there should be a 'setup.py' file. Inside
> that, find a section that looks like this (it was around line 888 for me), and
> add the location of where you installed sqlite to the 'sqlite_inc_paths'. You
> can see where I added my dir for Ranger below, which is
>
> not world-readbable right now so it probably won't work. After adding this, run
> "python setup.py build" and then
> re-make Python, and you should not get the _sqlite in the warning section.
>
>        # We hunt for #define SQLITE_VERSION "n.n.n" # We need to find >= sqlite
> version 3.0.8         sqlite_incdir = sqlite_libdir = None
> sqlite_inc_paths = ['/share/home/00649/tg457850/sqlite/include',
> '/usr/include',                              '/usr/include/sqlite',
> '/usr/include/sqlite3',                              '/usr/local/include',
> '/usr/local/include/sqlite',
> '/usr/local/include/sqlite3',                            ]
> MIN_SQLITE_VERSION_NUMBER = (3, 0, 8)         MIN_SQLITE_VERSION =
> ".".join([str(x) for x in
> MIN_SQLITE_VERSION_NUMBER]) _______________________________________________________
>
> sskory at physics.ucsd.edu           o__  Stephen Skory
> http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student
> ________________________________(_)_\(_)_______________
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list