Can't find header files for Ruby

O

ot

Hi,

I am trying to install the libneural library onto my Linux desktop
(Mandrake 9.1). I get the error "can't find header files for ruby"

[ot@localhost ruby-libneural]$ ruby install.rb config
install.rb: entering config phase...
---> lib
<--- lib
---> ext
---> ext/LibNeural
/usr/bin/ruby /home/ot/ruby-libneural/ext/LibNeural/extconf.rb
can't find header files for ruby.
config failed
'system /usr/bin/ruby /home/ot/ruby-libneural/ext/LibNeural/extconf.rb '
failed
try 'ruby install.rb --help' for usage

My env looks like this:

LC_PAPER=en_AU
LESSKEY=/etc/.less
LC_ADDRESS=en_AU
HOSTNAME=localhost
LC_MONETARY=en_AU
TERM=xterm
SHELL=/bin/bash
XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched
HISTSIZE=1000
QT_XFT=0
GTK_RC_FILES=/etc/gtk/gtkrc:/home/ot/.gtkrc-1.2-gnome2
LC_NUMERIC=en_AU
USER=ot
LC_TELEPHONE=en_AU
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:eek:r=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.tar=01;31:*.tgz=01;31:*.tbz2=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lha=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:*.tiff=01;35:
GDK_USE_XFT=1
SESSION_MANAGER=local/localhost:/tmp/.ICE-unix/7282
KONSOLE_DCOP=DCOPRef(konsole-20524,konsole)
NLSPATH=/usr/share/locale/%l/%N
PATH=/usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:/home/ot/bin
MAIL=/var/spool/mail/ot
LC_MESSAGES=en_AU
LC_COLLATE=en_AU
LC_IDENTIFICATION=en_AU
SECURE_LEVEL=2
KONSOLE_DCOP_SESSION=DCOPRef(konsole-20524,session-1)
PWD=/home/ot
INPUTRC=/etc/inputrc
XMODIFIERS=@im=none
HELP_BROWSER=/usr/bin/galeon
LANG=en_AU
LC_MEASUREMENT=en_AU
HISTCONTROL=ignoredups
HOME=/home/ot
SHLVL=1
LANGUAGE=en_AU:en_GB:en
GNOME_DESKTOP_SESSION_ID=Default
LOGNAME=ot
LESS=-MM
LC_CTYPE=en_AU
LESSOPEN=|/usr/bin/lesspipe.sh %s
BROWSER=/usr/bin/galeon
DISPLAY=:0.0
LC_TIME=en_AU
G_BROKEN_FILENAMES=1
COLORTERM=
LC_NAME=en_AU
XAUTHORITY=/home/ot/.Xauthority
_=/usr//bin/env


I would appreciate it if someone could tell me what I need to do fix the
above problem.

Thanks,
Ot.
 
T

ts

o> I am trying to install the libneural library onto my Linux desktop
o> (Mandrake 9.1). I get the error "can't find header files for ruby"

If it's a package from Mandrake, look if you have a package ruby-devel and
if it's installed


Guy Decoux
 
B

Brian Candler

Hi,

I am trying to install the libneural library onto my Linux desktop
(Mandrake 9.1). I get the error "can't find header files for ruby"

Many Redhat packages are split into 'foo' and 'foo-devel', where 'foo-devel'
has the header files. Is there a 'ruby-devel' package you can install?

Regards,

Brian.
 
O

ot

Many Redhat packages are split into 'foo' and 'foo-devel', where 'foo-devel'
has the header files. Is there a 'ruby-devel' package you can install?
Brian, thanks for replying. One of the things I like about Ruby is the
helpful community. :)

Regards,
Ot
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,286
Latest member
ChristieSo

Latest Threads

Top