Re: [Python-Dev] Build problems with sqlite on OSX

2007-05-29 Thread Martin v. Löwis
Darrin Thompson schrieb: > On 5/29/07, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: >> p &sqlite3InitCallback >> > > (gdb) p $sqlite3InitCallback > $1 = void Please try '&' instead of '$'. It's the address of that function I was after (to then find out whether it is in the address range of the ex

Re: [Python-Dev] Build problems with sqlite on OSX

2007-05-29 Thread Darrin Thompson
On 5/29/07, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > p &sqlite3InitCallback > (gdb) p $sqlite3InitCallback $1 = void g. > Try "info shared" in gdb. Not sure whether that works on OSX, > though. > Worked beautifully! The smoking gun: something is hauling in the system provided sqlite3

Re: [Python-Dev] Build problems with sqlite on OSX

2007-05-29 Thread Darrin Thompson
On 5/29/07, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > The question for python-dev is "how can I debug that further, and where > should I submit a patch" :-) > I have no problem with that. :-) > > (gdb) info threads > > * 1 process 18968 local thread 0x1003 0x900e41d1 in strtol_l () > > (gdb

Re: [Python-Dev] Build problems with sqlite on OSX

2007-05-29 Thread Darrin Thompson
On 5/29/07, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > What happens when you use the binary installer at python.org? This is > build with a newer version of sqlite as well (because the installer > supports OSX 10.3). > Hmmm. I hadn't thought of checking the sqlite version in there. I did use the

Re: [Python-Dev] Build problems with sqlite on OSX

2007-05-29 Thread Ronald Oussoren
On 26 May, 2007, at 6:45, Darrin Thompson wrote: First of all 1000 apologies if this is the wrong list. Please redirect me if necessary. I'm attempting to build python 2.5.1 fat binaries on OSX and statically link to a newer sqlite than what ships with OSX. (3.3.17). I'm getting "Bus Error" e

Re: [Python-Dev] Build problems with sqlite on OSX

2007-05-28 Thread Neal Norwitz
One other thing to check is to ensure that sqlite was compiled with -fno-strict-aliasing. I know there was a strange problem on one of the buildbots due to this flag not being present. I have no idea if that could be your problem here though. n -- On 5/28/07, "Martin v. Löwis" <[EMAIL PROTECTED

Re: [Python-Dev] Build problems with sqlite on OSX

2007-05-28 Thread Martin v. Löwis
Darrin Thompson schrieb: > First of all 1000 apologies if this is the wrong list. Please redirect > me if necessary. The list is right, but the question is slightly wrong: > Can someone advise as to the correct configure arguments for sqlite or > something else I might be missing? The question f

Re: [Python-Dev] Build problems with sqlite on OSX

2007-05-25 Thread Terry Reedy
"Darrin Thompson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | First of all 1000 apologies if this is the wrong list. Please redirect | me if necessary. Usage questions should usually be directed first to comp.lang.python / gmane.comp.python.general / python-list (all 3 are int

[Python-Dev] Build problems with sqlite on OSX

2007-05-25 Thread Darrin Thompson
First of all 1000 apologies if this is the wrong list. Please redirect me if necessary. I'm attempting to build python 2.5.1 fat binaries on OSX and statically link to a newer sqlite than what ships with OSX. (3.3.17). I'm getting "Bus Error" early when I run my app. If I turn on a lot of malloc