retitle 527343 ruby1.9-dev: missing #include in 
/usr/include/ruby-1.9.0/ruby/st.h [fixed in 1.9.1]
thanks

On 07/05/09 at 07:28 +0700, Alexey Salmin wrote:
> Hello! When I tried to install curb extension (sudo gem1.9 install curb) I've 
> got these error messages:
> 
> /usr/include/ruby-1.9.0/ruby/st.h:91: error: expected declaration specifiers 
> or '...' before 'size_t'
> ...
> /usr/include/ruby-1.9.0/ruby/ruby.h:1065: error: conflicting types for 
> 'st_strncasecmp'
> /usr/include/ruby-1.9.0/ruby/st.h:91: error: previous declaration of 
> 'st_strncasecmp' was here
> 
> obviously, size_t is undefined in st.h. Adding "#include <stdlib.h>" solved 
> the problem.
> I'm not quite sure how to fix this correctly thus I didn't applied a patch.

Hi,

Just a note to say that this is apparently fixed in 1.9.1.
-- 
| Lucas Nussbaum
| lu...@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lu...@nussbaum.fr             GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to