Michal Suchanek wrote in post #973296:
> On 8 January 2011 06:10, ghorner <gabriel.horner / gmail.com> wrote:
>> On Jan 7, 5:18am, Michal Suchanek <hramr... / centrum.cz> wrote:
>>> On 7 January 2011 10:55, ghorner <gabriel.hor... / gmail.com> wrote:
>>>
>
>>>
>>> >> > correctly, then the problem must be you can't find it. What doeshe
>>> > It reports a missing readline.h:
>>> versioned readline shared library is always installed as dependecy of>> many packages).
>>>
>>
>> Unfortunately, none of this helps but to illustrate what you've
>> already said. If 5.2 is the readline version you're using, you should
>> consider upgrading. I'm on readline 6.1 and have only used bond with
>> readline >= 5.6.
>
>
>> debian is possibly placing it outside the gem's directory.
> As expected
> /var/lib/gems/1.8/gems/bond-0.3.5/lib/readline_line_buffer.so
>
> is present only in the case when libreadline5-dev was present while
> installing the bond gem.
>
> However, there is no difference in the dem install output.
>
> So bond does not report any error to the user when the library is not
> found, and it finds it just fine when it is installed.
>
> Searching for the file does no help but to illustrate what I have
> already seen. Bond silently installs broken extension when readline
> development files are not present. Perhaps you should fail the build
> when readline is not available but the Ruby interpreter does not
> provide it or you should print the message to standard error rather
> than standard ouput.

I'm happy to take patches if you figure out why readline.h is still eing detected without a readline-dev package.

Did you try gem install bond -- --with-readline-lib=/path/to/your/lib -with-
readline-include=/path/to/your/include ?

Gabriel