Jano Svitok
12/19/2006 2:16:00 PM
On 12/19/06, Vivek <krishna.vivek@gmail.com> wrote:
> Hi,
> I am trying to install ruby-shout(used to serve audio to icecast
> server) .I have libshout,vorbis and liboggz
> But I get this error
>
> ERROR: While executing gem ... (RuntimeError)
> ERROR: Failed to build gem native extension.
> Gem files will remain installed in
> /usr/lib/ruby/gems/1.8/gems/ruby-shout-2.1 fo
> r inspection.
>
>
> Results logged to
> /usr/lib/ruby/gems/1.8/gems/ruby-shout-2.1/ext/gem_make.out
>
> I am not sure what the "failed to build native extension " means.
> Any ideas
> vivek
The gem you are trying to install contains a piece of C code that
needs to be compiled.
You are missing either the compile environment (gcc, make, etc., if on
debian/ubuntu: apt-get install build-essential) or some of the
libraries the extension is dependent on (maybe you need to install the
dev package of the library - with headers and such).
Or you are experiencing another error. See the log for details.