You must be missing the sqlite3 library files. On a Ubuntu system, i would
do a
% sudo apt-get install libsqlite3-dev
This would install the requirement for me. I am not sure what you would
need on a FreeBSD however.
Michael
On Tue, Dec 9, 2008 at 5:30 PM, sonicpond <[EMAIL PROTECTED]> wrote:
>
> On Dec 9, 3:59 pm, "Matt Aimonetti" <[EMAIL PROTECTED]> wrote:
> > Unfortunately I can't help but
> > ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-freebsd6.2] looks suspicious
> :(
> >
> > Can anyone on 1.8.7 confirm the problem sonicpond is having?
> >
> > - Matt
>
> thanks, matt:
>
> you were right. i solved it by downgrading ruby to
>
> ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-freebsd6]
>
> which was accomplished with
>
> [EMAIL PROTECTED] % sudo portupgrade -f ruby # technically, a downgrade,
> but the ports tree is at 1.8.6 now
>
> along the way to merbal health, i observed a couple of other quirks
> which i should point out.
>
> first, "Could not find RubyGem do_sqlite3"
>
> [EMAIL PROTECTED] % which sqlite3
> /usr/local/bin/sqlite3
>
> [EMAIL PROTECTED] % sudo gem install do_sqlite3
> Building native extensions. This could take a while...
> ERROR: Error installing do_sqlite3:
> ERROR: Failed to build gem native extension.
>
> /usr/local/bin/ruby18 extconf.rb install do_sqlite3
> checking for sqlite3.h... 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.
>
> Provided configuration options:
> --with-opt-dir
> --without-opt-dir
> --with-opt-include
> --without-opt-include=${opt-dir}/include
> --with-opt-lib
> --without-opt-lib=${opt-dir}/lib
> --with-make-prog
> --without-make-prog
> --srcdir=.
> --curdir
> --ruby=/usr/local/bin/ruby18
> --with-sqlite3-dir
> --without-sqlite3-dir
> --with-sqlite3-include
> --without-sqlite3-include=${sqlite3-dir}/include
> --with-sqlite3-lib
> --without-sqlite3-lib=${sqlite3-dir}/lib
>
> interestingly, when i download the do_sqlite3 file from this google
> group and install as
>
> [EMAIL PROTECTED] % sudo gem install do_sqlite3-0.9.7-x86-mingw32.gem
>
> then instead of "Could not find RubyGem do_sqlite3" i get a gem
> version mismatch:
>
> "RubyGem version error: do_sqlite3(0.9.7 not ~> 0.9.9)
> (Gem::LoadError)"
>
> a subsequent "sudo gem update do_sqlite3" fails as above.
>
> at this point, the only thing that will let my merb come up is to
> change config/init.rb to read
>
> use_orm: sequel
> instead of
> use_orm: datamapper
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---