#894 ✓resolved
Mike (at coverallcrew)

do_sqlite3 was not compiling on FreeBSD 7.x

Reported by Mike (at coverallcrew) | June 8th, 2009 @ 02:05 PM | in 0.10.0

I was unable to compile the do_sqlite3 gem "out of the box" on a FreeBSD 7.2 server. It would fail when trying to find sqlite3.h

I was able to fix the compilation error by editing the file: do/do_sqlite3/ext/do_sqlite3_ext/extconf.rb

I changed the line:

dir_config("sqlite3")

to:

dir_config("sqlite3", "/usr/local")

After changing this I was able to run rake install.

Comments and changes to this ticket

  • Dirkjan Bussink

    Dirkjan Bussink June 9th, 2009 @ 05:28 AM

    • State changed from “new” to “resolved”
    • Milestone set to 0.10.0

    I've added some default search paths that are often used on Linux / *BSD and OS X to the do_sqlite3 extconf.rb

    It's in the next branch on github.com/datamapper/do, could you check whether this resolves your issue?

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Attachments

Tags

Pages