
do_sqlite3 gem will not build on Mac OS X 10.6
Reported by Stet | March 6th, 2010 @ 07:22 PM
- Stock 10.6 install, running on X86_64.
- sudo gem install do_sqlite3
- Results:
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 make gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -DHAVE_SQLITE3_H -DHAVE_SQLITE3_PREPARE_V2 -DHAVE_SQLITE3_OPEN_V2 -I/usr/local/include -I/opt/local/include -I/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -Wall -c do_sqlite3.c do_sqlite3.c: In function ‘flags_from_uri’: do_sqlite3.c:411: error: ‘SQLITE_OPEN_CREATE’ undeclared (first use in this function) do_sqlite3.c:411: error: (Each undeclared identifier is reported only once do_sqlite3.c:411: error: for each function it appears in.) do_sqlite3.c:413: error: ‘SQLITE_OPEN_READWRITE’ undeclared (first use in this function) do_sqlite3.c: In function ‘cConnection_initialize’: do_sqlite3.c:431: warning: implicit declaration of function ‘sqlite3_open_v2’ make: *** [do_sqlite3.o] Error 1 Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/do_sqlite3-0.10.1.1 for inspection. Results logged to /Library/Ruby/Gems/1.8/gems/do_sqlite3-0.10.1.1/ext/do_sqlite3/gem_make.out
I've tried this with sqlite3-ruby both installed and uninstalled, in case there were conflicts.
No comments found
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »