From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.213.34.76 with SMTP id k12cs33353ebd; Thu, 8 Apr 2010 05:54:25 -0700 (PDT) Received: by 10.204.161.199 with SMTP id s7mr125678bkx.9.1270731264870; Thu, 08 Apr 2010 05:54:24 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 21si129165bwz.31.2010.04.08.05.54.24; Thu, 08 Apr 2010 05:54:24 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id E567C3C8045; Thu, 8 Apr 2010 08:54:23 -0400 (EDT) Received: from mail-relay-1.csv.warwick.ac.uk (mail-relay-1.csv.warwick.ac.uk [137.205.128.7]) by rubyforge.org (Postfix) with ESMTP id 8B55E18582F3 for ; Thu, 8 Apr 2010 08:54:10 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail-relay-1.csv.warwick.ac.uk (8.13.8/8.13.6) with ESMTP id o38Cs6vo098689; Thu, 8 Apr 2010 13:54:06 +0100 (BST) X-Virus-Scanned: amavisd-new at warwick.ac.uk Received: from mail-relay-1.csv.warwick.ac.uk ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QaGSq8TbRBqk; Thu, 8 Apr 2010 13:54:06 +0100 (BST) Received: from stewart.warwick.ac.uk (host-137-205-220-112 [137.205.220.112]) by mail-relay-1.csv.warwick.ac.uk (8.13.8/8.13.6) with ESMTP id o38Cs4Pu098594; Thu, 8 Apr 2010 13:54:05 +0100 (BST) X-Envelope-From: neil.stewart@warwick.ac.uk Received: from neil (helo=localhost) by stewart.warwick.ac.uk with local-esmtp (Exim 4.69) (envelope-from ) id 1NzrFB-00051f-Hw; Thu, 08 Apr 2010 13:54:02 +0100 Date: Thu, 8 Apr 2010 13:54:01 +0100 (BST) From: Neil Stewart X-X-Sender: neil@stewart.warwick.ac.uk To: Richard Heycock In-Reply-To: <1270727373-sup-8902@roughage.com.au> Message-ID: References: <1270727373-sup-8902@roughage.com.au> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 X-DCC-Warwick-Metrics: bluebell; whitelist Cc: sup-talk Subject: Re: [sup-talk] sent mail X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Neil Stewart List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Hi Richard, > Not sure if this helps but you really don't want to be using ruby 1.9.0 > the latest is ruby-1.9.1-p376. If you want to install using Debian > packages they are in testing. > > apt-get install rubygems1.9.1 ruby1.9.1-dev rdoc1.9.1 irb1.9.1 > > should see you right. Thanks for the pointers. I've got the right ruby packages now. # dpkg -l | grep ruby ii libreadline-ruby1.9.1 1.9.1.378-1 Readline interface for Ruby 1.9.1 ii libruby1.9.1 1.9.1.378-1 Libraries necessary to run Ruby 1.9.1 ii ruby1.9.1 1.9.1.378-1 Interpreter of object-oriented scripting lan ii ruby1.9.1-dev 1.9.1.378-1 Header files for compiling extension modules ii rubygems1.9.1 1.3.5-2 package management framework for Ruby librar > "gem install sup" will put a script in /usr/bin so you should be able to > simply type sup. If you have multiple versions of ruby you might have > problems but if you invoke it thus: /path/to/ruby /usr/bin/sup you > should be right. "gem install sup" seems to be failing on ncurses. # gem install sup Building native extensions. This could take a while... ERROR: Error installing sup: ERROR: Failed to build gem native extension. /usr/bin/ruby1.9.1 extconf.rb checking for unistd.h... yes checking for ncurses.h... yes checking for wmove() in -lncurses... yes checking for newscr()... yes checking for TABSIZE()... yes checking for ESCDELAY()... yes checking for keybound()... yes checking for curses_version()... yes [SNIP] checking for new_form() in -lform... yes creating Makefile make Makefile:158: warning: overriding commands for target `/var/lib/gems/1.9.1/gems/ncurses-0.9.1/lib' Makefile:156: warning: ignoring old commands for target `/var/lib/gems/1.9.1/gems/ncurses-0.9.1/lib' cc -I. -I/usr/include/ruby-1.9.1/x86_64-linux -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -DHAVE_UNISTD_H -DHAVE_NCURSES_H -DHAVE_NEWSCR -DHAVE_TABSIZE -DHAVE_ESCDELAY -DHAVE_KEYBOUND -DHAVE_CURSES_VERSION -DHAVE_TIGETSTR -DHAVE_GETWIN -DHAVE_PUTWIN -DHAVE_UNGETMOUSE -DHAVE_MOUSEMASK -DHAVE_WENCLOSE -DHAVE_MOUSEINTERVAL -DHAVE_WMOUSE_TRAFO -DHAVE_MCPRINT -DHAVE_HAS_KEY -DHAVE_DELSCREEN -DHAVE_DEFINE_KEY -DHAVE_KEYOK -DHAVE_RESIZETERM -DHAVE_USE_DEFAULT_COLORS -DHAVE_USE_EXTENDED_NAMES -DHAVE_WRESIZE -DHAVE_ATTR_ON -DHAVE_ATTR_OFF -DHAVE_ATTR_SET -DHAVE_CHGAT -DHAVE_COLOR_SET -DHAVE_FILTER -DHAVE_INTRFLUSH -DHAVE_MVCHGAT -DHAVE_MVHLINE -DHAVE_MVVLINE -DHAVE_MVWCHGAT -DHAVE_MVWHLINE -DHAVE_MVWVLINE -DHAVE_NOQIFLUSH -DHAVE_PUTP -DHAVE_QIFLUSH -DHAVE_SCR_DUMP -DHAVE_SCR_INIT -DHAVE_SCR_RESTORE -DHAVE_SCR_SET -DHAVE_SLK_ATTR -DHAVE_SLK_ATTR_SET -DHAVE_SLK_COLOR -DHAVE_TIGETFLAG -DHAVE_TIGETNUM -DHAVE_USE_ENV -DHAVE_VIDATTR -DHAVE_WATTR_ON -DHAVE_WATTR_OFF -DHAVE_WATTR_SET -DHAVE_WCHGAT -DHAVE_WCOLOR_SET -DHAVE_GETATTRS -DHAVE_ASSUME_DEFAULT_COLORS -DHAVE_ATTR_GET -DHAVE_PANEL_H -DHAVE_FORM_H -fPIC -fno-strict-aliasing -g -g -O2 -O2 -g -Wall -Wno-parentheses -fPIC -g -o form_wrap.o -c form_wrap.c form_wrap.c: In function 'rbncurs_m_new_form': form_wrap.c:395: error: 'struct RArray' has no member named 'len' form_wrap.c: In function 'rbncurs_c_set_field_type': form_wrap.c:619: error: 'struct RArray' has no member named 'len' form_wrap.c: In function 'rbncurs_c_set_form_fields': form_wrap.c:778: error: 'struct RArray' has no member named 'len' form_wrap.c: In function 'make_arg': form_wrap.c:1126: error: 'struct RArray' has no member named 'len' make: *** [form_wrap.o] Error 1 Gem files will remain installed in /var/lib/gems/1.9.1/gems/ncurses-0.9.1 for inspection. Results logged to /var/lib/gems/1.9.1/gems/ncurses-0.9.1/gem_make.out I get pretty much identical output from "gem install ncurses", so I suspect the problem is not even a sup issue. Am I doing something terribly wrong? All comments most welcome. Best, Neil. _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk