weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #30967] Weechat doesn't compile with Ruby support


From: Filip H.F.
Subject: [Weechat-dev] [bug #30967] Weechat doesn't compile with Ruby support
Date: Sun, 05 Sep 2010 10:33:37 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Safari/533.4

URL:
  <http://savannah.nongnu.org/bugs/?30967>

                 Summary: Weechat doesn't compile with Ruby support
                 Project: WeeChat
            Submitted by: fixato
            Submitted on: Sun 05 Sep 2010 10:33:37 AM GMT
                Category: compilation
                Severity: 3 - Normal
              Item Group: compile/install
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
                IRC nick: FiXato

    _______________________________________________________

Details:

When trying to compile on a system with Ruby 1.8.6, it fails with the
following error:
++
[ 70%] Building C object
src/plugins/scripts/ruby/CMakeFiles/ruby.dir/weechat-ruby.o
/usr/local/src/weechat/src/plugins/scripts/ruby/weechat-ruby.c: In function
‘weechat_ruby_hash_to_hashtable’:
/usr/local/src/weechat/src/plugins/scripts/ruby/weechat-ruby.c:180: error:
implicit declaration of function ‘RHASH_TBL’
/usr/local/src/weechat/src/plugins/scripts/ruby/weechat-ruby.c:180: warning:
assignment makes pointer from integer without a cast
make[2]: *** [src/plugins/scripts/ruby/CMakeFiles/ruby.dir/weechat-ruby.o]
Error 1
make[1]: *** [src/plugins/scripts/ruby/CMakeFiles/ruby.dir/all] Error 2
make: *** [all] Error 2
--

It seems that RHASH_TBL isn't available in 1.8.6 and was introduced in 1.8.7
(assumption based on a comment in
http://svn.textmate.org/trunk/Tools/plist/plist.c)
The attached patch seems to fix this problem.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 05 Sep 2010 10:33:37 AM GMT  Name: ruby_rhash_tbl.diff  Size: 718B 
 By: fixato

<http://savannah.nongnu.org/bugs/download.php?file_id=21391>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?30967>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]