avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1697) Add support for the Snappy codec to the Ruby library
Date Wed, 15 Jul 2015 14:02:05 GMT

    [ https://issues.apache.org/jira/browse/AVRO-1697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14628089#comment-14628089
] 

Tom White commented on AVRO-1697:
---------------------------------

Sorry, I had to revert this as it stopped the build from working. When running from the Docker
container ({{./build.sh docker}}), I get the following (after adding {{snappy}} to the {{RUN
gem install}} line in the Dockerfile):

{noformat}
ERROR:  Error installing snappy:
	ERROR: Failed to build gem native extension.

    /usr/bin/ruby2.1 extconf.rb
checking for main() in -lsnappy... no
./autogen.sh: 3: ./autogen.sh: aclocal: not found
./autogen.sh: 3: ./autogen.sh: aclocal: not found
*** 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/bin/ruby2.1
	--with-snappylib
	--without-snappylib
extconf.rb:17:in `block in <main>': `autogen.sh` failed (RuntimeError)
	from extconf.rb:14:in `chdir'
	from extconf.rb:14:in `<main>'

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.1.0/gems/snappy-0.0.12 for inspection.
Results logged to /var/lib/gems/2.1.0/extensions/x86_64-linux/2.1.0/snappy-0.0.12/gem_make.out
{noformat}

So I think this needs more work to get building correctly.

> Add support for the Snappy codec to the Ruby library
> ----------------------------------------------------
>
>                 Key: AVRO-1697
>                 URL: https://issues.apache.org/jira/browse/AVRO-1697
>             Project: Avro
>          Issue Type: Improvement
>          Components: ruby
>            Reporter: Daniel Schierbeck
>            Assignee: Daniel Schierbeck
>             Fix For: 1.8.0
>
>         Attachments: AVRO-1697.2.patch
>
>
> I've got a PR that implements this: https://github.com/apache/avro/pull/27



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message