[Locomotive-users] SQLite3 Version?

Ryan Raaum ryan.raaum at gmail.com
Wed Nov 29 14:15:06 GMT 2006


On 11/29/06, Niko Dittmann <ni-di at web.de> wrote:
>
> Hi Chris.
>
> It's 3.3.7 in my RMagick Rails Sept. 2006 for PPC bundle.  So perhaps
> the bundles for PPC and x86 have different sqlite-builds?
>
> % sqlite3 -version
> 3.3.7
>
> % which sqlite3
> /Applications/Locomotive2/Bundles/rmagickRailsSept2006_ppc.locobundle/
> framework/bin/sqlite3
>
> Niko.
>
> Am 29.11.2006 um 06:41 schrieb Chris Abad:
> > According to the website, the Sept. 2006 bundles are supposed to
> > have sqlite3 3.3.5 installed. For some reason, I seem to have 3.1.3
> > on mine. I've tried both the rmagick and non-rmagick versions of
> > the Sept. 2006 bundle. I've also tried re-downloading them. No dice.
> >
> > If it helps at all, I'm running the x86 version of the rmagick
> > sept. 2006 bundle. Anyone else had this problem? Know how to fix
> > it? If not, could someone tell me the easiest way to upgrade
> > sqlite3 within the bundle? I used DarwinPorts to upgrade sqlite3 on
> > my system... but I'm not really sure what configuration I'd need to
> > set to install it properly in the bundle.


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

>
> > Thanks.
>
>
> --
> ____________________________
> niko dittmann <ni-di at web.de>
> ____________________________
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061129/ec9d74ef/attachment.htm


More information about the Locomotive-users mailing list