[Top][All Lists]

[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


                 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



When trying to compile on a system with Ruby 1.8.6, it fails with the
following error:
[ 70%] Building C object
/usr/local/src/weechat/src/plugins/scripts/ruby/weechat-ruby.c: In function
/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
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



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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