Can't find header files for Ruby

Ask a Question related to Ruby, Design and Development.

  1. #1

    Default Can't find header files for Ruby

    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;36i=40;33:so=01;35:bd=40;33;01:cd=40;33;01r=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:*.a rj=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:*.jp eg=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.


    ot Guest

  2. Similar Questions and Discussions

    1. PHP Newbie - Header.inc. files
      Good afternoon; I'm trying to avois using html frames with my real estate website that I designed. So I decided to go the PHP route through...
    2. How to find control dynamically added in the header
      Pls any body tell me how can i find the control added in the following way : Protected Overrides Sub OnItemDataBound(ByVal e As...
    3. system can't find plug in header
      I just downloaded "adobe reader 6" to day. Now when I want to use it I get a message "can't find plug in header" and I don't know where to look or...
    4. Where do I find header?
      I need to find the header where certain AFP errors are found like kFPBadUAM and others. Where can I find this?
    5. Xcode can't find a header
      I'm trying to use AppleHelp.h in a Cocoa project. I have added Carbon.framework to the project. When I say #import <Carbon/AppleHelp.h> or...
  3. #2

    Default Re: Can't find header files for Ruby

    >>>>> "o" == ot <ot@inspired.net.au> writes:

    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

    ts Guest

  4. #3

    Default Re: Can't find header files for Ruby

    On Mon, Aug 04, 2003 at 11:32:56PM +0900, ot wrote:
    > 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.

    Brian Candler Guest

  5. #4

    Default Re: Can't find header files for Ruby

    On Tue, 2003-08-05 at 00:38, Brian Candler wrote:
    > On Mon, Aug 04, 2003 at 11:32:56PM +0900, ot wrote:
    > > 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?
    >
    Brian, thanks for replying. One of the things I like about Ruby is the
    helpful community.

    Regards,
    Ot



    ot Guest

  6. #5

    Default Re: Can't find header files for Ruby

    Install the ruby-devel package. Package name may differ based on your Distribution.
    chandramani.yadav is offline Junior Member
    Join Date
    Feb 2011
    Location
    Vienna
    Posts
    1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139