[Locomotive-users] SQLite3 Version?
Chris Abad
chris at integralimpressions.com
Wed Nov 29 22:10:17 GMT 2006
Okay, thanks. Even better... darwinports installed to /opt/local/bin.
I just needed to add that to my path.
On Nov 29, 2006, at 12:15 PM, Ryan Raaum wrote:
>
>
> On 11/29/06, Chris Abad <chris at integralimpressions.com> wrote:
> Thanks Ryan,
>
> That's exactly what I need. Moving forward, I would recommend
> including the latest version of SQLite3 with the bundles just for
> the sake of consistency. I don't know all the differences, but what
> I did learn is db's created w/ 3.3 do not work with 3.1. I learned
> this while trying to pass back and forth db files with another
> developer.
>
> Right. Good reason.
>
> What is strange is if sqlite3 isn't included in the x86 bundle,
> wouldn't that mean it'd end up using the version I have installed
> on my computer? I upgraded the version on my computer to 3.3.7
> (however I didn't remove 3.1.3). So right now, it looks like
> Locomotive is picking up 3.1.3, yet if I just open up a terminal
> window I pick up 3.3.7.
>
> I pretty sure what's happening is that /usr/bin is before /usr/
> local/bin in the PATH that Locomotive uses and that the 3.3.7
> sqlite3 that you installed is in /usr/local. (I _think_ you could
> change that in the bundles environment.plist file - but I'm not on
> a mac to confirm that right now).
>
> -r
>
> On Nov 29, 2006, at 6:15 AM, Ryan Raaum wrote:
>
>> As Intel macs all _must_ be 10.4, and 10.4 includes sqlite3, I
>> didn't see the need to include it in the bundle. Perhaps that was
>> the wrong decision. To satisfy my curiosity, what's new in 3.3.5
>> that isn't in 3.1.3?
>>
>> Anyways, if you think it makes a big difference, I can add the
>> newest and coolest sqlite3 to future x86 Locomotive bundles.
>>
>> For now, you could build sqlite3 from scratch and install it in
>> the bundle (sqlite3 builds easily on os x). Open a normal
>> terminal and do:
>>
>> curl -O http://www.sqlite.org/sqlite-3.3.8.tar.gz
>> tar -xvzf sqlite-*
>> cd sqlite-*
>> ./configure --prefix=/Applications/Locomotive2/<fix this>/
>> make
>> sudo make install
>>
>> (you'll need to work out the correct path for the configure line
>> depending on your bundle - probably easiest to infer the correct
>> value here from the PATH environment variable in a Locomotive-
>> opened terminal: just subtract "/bin" from the bundle bin path)
>>
>> Best,
>>
>> -r
>
>
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>
>
>
>
>
> --
> Ryan Raaum
> http://raaum.org
> http://locomotive.raaum.org -- Self contained one-click Rails for
> Mac OS X
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061129/26d49e0a/attachment.htm
More information about the Locomotive-users
mailing list