Package: ruby1.9-dev
Version: 1.9.0.2-9.1
Severity: normal

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.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to ru_RU.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ruby1.9-dev depends on:
ii  libc6-dev                    2.9-10      GNU C Library: Development Librari
ii  libruby1.9                   1.9.0.2-9.1 Libraries necessary to run Ruby 1.

Versions of packages ruby1.9-dev recommends:
ii  ruby1.9                      1.9.0.2-9.1 Interpreter of object-oriented scr

ruby1.9-dev suggests no packages.

-- no debconf information



-- 
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