u need some packs:
build-essentials;
gcc
gcc++
etc

it command installed all.

2010/6/10 Andrew Vliet <avl...@vlietwerkz.ca>

>  Hey Luciano,
>
> Thanks for the reply.  That may fix it, but it's like nuking a mouse.  I
> don't need all of those tools - especially not xorg - on my headless virtual
> box.
>
> I think I understand what you're getting at - something's missing - ok, but
> what..?  The error message isn't exactly clear.  Do you have any more
> specific idea what might be the actual cause of the error?
>
> Andrew Vliet
> 1 403 667 3201 (c)
> 1 403 648 0627 (w)
>
>
> On 2010/06/10 9:40 AM, Luciano Sousa wrote:
>
> hi, try it before:
> # yum groupinstall "Development Tools"
>
> ;)
>
> 2010/6/10 arvliet <avl...@vlietwerkz.ca>
>
>> Anyone have any idea how to interpret this?  I've been at it for an
>> hour and I'm not getting anywhere.  Doesn't seem to be any other
>> instances of this online either.
>>
>> User: root
>> OS: CentOS 5.4 (up to date as of 20100610 06:30)
>> Rails -v: 2.3.8
>> Gem -v: 1.3.6
>>
>> <code>
>> # gem update
>> Updating installed gems
>> Updating sqlite3-ruby
>> Building native extensions.  This could take a while...
>> /usr/local/bin/ruby extconf.rb
>> checking for sqlite3.h... yes
>> checking for sqlite3_libversion_number() in -lsqlite3... yes
>> checking for rb_proc_arity()... yes
>> checking for sqlite3_column_database_name()... no
>> checking for sqlite3_enable_load_extension()... no
>> checking for sqlite3_load_extension()... no
>> creating Makefile
>>
>> make
>> gcc -I. -I/usr/local/include/ruby-1.9.1/x86_64-linux -I/usr/local/
>> include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -
>> DHAVE_RB_PROC_ARITY -I/usr/local/include -I/opt/local/include -I/usr/
>> include    -fPIC  -O2 -g -Wall -Wno-parentheses -O3 -Wall -Wcast-qual -
>> Wwrite-strings -Wconversion -Wmissing-noreturn -Winline  -o sqlite3.o -
>> c sqlite3.c
>> sqlite3.c: In function âInit_sqlite3_nativeâ:
>> sqlite3.c:27: warning: implicit declaration of function
>> âsqlite3_initializeâ
>> gcc -I. -I/usr/local/include/ruby-1.9.1/x86_64-linux -I/usr/local/
>> include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -
>> DHAVE_RB_PROC_ARITY -I/usr/local/include -I/opt/local/include -I/usr/
>> include    -fPIC  -O2 -g -Wall -Wno-parentheses -O3 -Wall -Wcast-qual -
>> Wwrite-strings -Wconversion -Wmissing-noreturn -Winline  -o
>> statement.o -c statement.c
>> statement.c: In function âinitializeâ:
>> statement.c:53: warning: implicit declaration of function
>> âsqlite3_prepare_v2â
>> statement.c:64: warning: passing argument 2 of ârb_str_newâ as signed
>> due to prototype
>> statement.c: In function âbind_paramâ:
>> statement.c:269: error: âsqlite3_int64â undeclared (first use in this
>> function)
>> statement.c:269: error: (Each undeclared identifier is reported only
>> once
>> statement.c:269: error: for each function it appears in.)
>> statement.c: In function âcolumn_nameâ:
>> statement.c:346: warning: passing argument 2 of ârb_str_newâ as signed
>> due to prototype
>> statement.c: In function âcolumn_decltypeâ:
>> statement.c:364: warning: passing argument 2 of ârb_str_newâ as signed
>> due to prototype
>> make: *** [statement.o] Error 1
>> </code>
>>
>> Any help or insight would be appreciated.  Thanks.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Talk" group.
>> To post to this group, send email to rubyonrails-t...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/rubyonrails-talk?hl=en.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-t...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-t...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to