Nm, I did figure this out
The sqlite3 gem I had was for a different arch.

Upgraded my Macports on 1.6
http://www.macports.org/install.php#pkg

Forced it to build sqlite3 with the x86_64 arch
sudo port upgrade --force sqlite3 +universal

Then,
$ file /opt/local/lib/libsqlite3.dylib
/opt/local/lib/libsqlite3.dylib: Mach-O universal binary with 2
architectures
/opt/local/lib/libsqlite3.dylib (for architecture x86_64):      Mach-O 64-
bit dynamically linked shared library x86_64
/opt/local/lib/libsqlite3.dylib (for architecture i386):        Mach-O
dynamically linked shared library i386

$ sudo env ARCHFLAGS="-arch x86_64" gem install do_sqlite3Password:
Building native extensions.  This could take a while...
Successfully installed do_sqlite3-0.10.2
1 gem installed


On Aug 30, 7:58 am, "[email protected]"
<[email protected]> wrote:
> When install do_sqlite3, I run into this error
>
> sudo gem install --no-rdoc --no-ri data_objects do_sqlite3
> Password:
> Successfully installed data_objects-0.10.2
> Building native extensions.  This could take a while...
> ERROR:  Error installing do_sqlite3:
>         ERROR: Failed to build gem native extension.
>
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
> extconf.rb
> checking for sqlite3.h... yes
> checking for sqlite3_open() in -lsqlite3... no
> *** extconf.rb failed ***
> Could not create Makefile due to some reason, probably lack of
> necessary libraries and/or headers.  Check the mkmf.log file for more
> details.  You may need configuration options.
>
> And when I check the mkmf.log file, this is what I 
> seehttp://pastie.org/1126729
>
> To be honest I do not understand what that means
>
> Any help appreciated
>
> Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to