[yt-users] Merger Tree
Brian Crosby
crosby.bd at gmail.com
Fri Jul 9 09:29:54 PDT 2010
Thanks everyone, between a fresh install of sqlite3, some wrangled paths, and the inclusions in setup.py, it *appears* to have worked.
Thanks again,
Brian
On Jul 8, 2010, at 6:35 PM, Rick Wagner wrote:
> Hi Brian,
>
> If you're on Ranger, I just noticed that I had a similar experience there (once things work, I tend to forget). In my .profile_user file, I have this line:
>
> export LD_LIBRARY_PATH=$HOME/usr/sqlite-3.6.13/lib:$LD_LIBRARY_PATH
>
> If you've gotten SQLite installed, the LD_LIBRARY_PATH variable needs to point to the directory that contains the lib* files.
>
> login4$ ls /share/home/00336/rwagner/usr/sqlite-3.6.13/lib
> libsqlite3.a libsqlite3.so libsqlite3.so.0.8.6
> libsqlite3.la libsqlite3.so.0 pkgconfig
> login4$
>
> --Rick
>
> On Jul 8, 2010, at 3:30 PM, Brian Crosby wrote:
>
>> Stephen,
>>
>> I tried adding the equivalent path to my sqlite3 install (/share/home/01450/bcrosby/sqlite3-3.6.23.1.bin) and I still got the warming that the _sqlite3 wasn't built. I'm wondering if in all my computer inexperience?) that could be causing this problem?
>>
>> Thanks,
>> Brian
>>
>>
>> On Jul 8, 2010, at 5:48 PM, Stephen Skory 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
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
> _______________________________________________
> 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