From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.213.28.69 with SMTP id l5cs145993ebc; Fri, 29 Jan 2010 16:16:12 -0800 (PST) Received: by 10.224.72.96 with SMTP id l32mr711547qaj.127.1264810571534; Fri, 29 Jan 2010 16:16:11 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 4si9170911qwe.33.2010.01.29.16.16.11; Fri, 29 Jan 2010 16:16:11 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 02D1E1D788B9 for ; Fri, 29 Jan 2010 19:16:10 -0500 (EST) Received: from mail-gx0-f227.google.com (mail-gx0-f227.google.com [209.85.217.227]) by rubyforge.org (Postfix) with ESMTP id 9B8FE18582C7 for ; Fri, 29 Jan 2010 19:16:05 -0500 (EST) Received: by gxk27 with SMTP id 27so2422781gxk.7 for ; Fri, 29 Jan 2010 16:16:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=8Ahan0bgo4GXaPmx1oSWKKnLpbudDwJLDo3YYZ0A9FY=; b=JArXnuYlU75v0MPTHJZr8wTkjYlY/2v407zZw5rvkh7X1ygF7Fvp/+uMs5SJ007aZQ 6HH2EHpN1iVCqV7be+eEmN1zgiAEbBDHbsNKBMRZtHYzISONAqNOSGpTK8qbsUwzVyT6 pDMTixW79EbcBABY4oa/V0AEgGcUfVkvrqA+4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=AGZlcqzcWnQB715a9YJoIFdZFpQNB/+8cQcOMX9JKGTa4dXzUyuFakEzMr36B0hyr0 ZlEEbk2N7rkR0kBGhr/cddKik70KYcgq8UDf+iyElQ7IJjj84JgzAsNqPoOxEI9atrCJ 2usu0kVJu8qXU9KtNcb5sb9cts7UrQUkKbEfs= MIME-Version: 1.0 Received: by 10.151.17.33 with SMTP id u33mr2522342ybi.298.1264810565106; Fri, 29 Jan 2010 16:16:05 -0800 (PST) In-Reply-To: <20091214212804.GA4198@linux-vk5u.ben.pri> References: <20091214212804.GA4198@linux-vk5u.ben.pri> Date: Fri, 29 Jan 2010 16:16:05 -0800 X-Google-Sender-Auth: 7bd782f7a4acafc0 Message-ID: From: Mark Alexander To: Karl Schudt Cc: sup-talk@rubyforge.org Subject: Re: [sup-talk] Crash of Sup 0.9.1 X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org On Mon, Dec 14, 2009 at 1:28 PM, Karl Schudt wrote: > I installed Sup on Opensuse, and it seems to run fine, indexing my gmail > account. But when I type a "\" to search, it crashes. > > > --- NoMethodError from thread: main > undefined method `new_field' for Ncurses::Form:Module I had this problem on my OpenSUSE 11.1 machines, and I finally figured out the solution today. The problem is that in OpenSUSE, certain ncurses header files aren't found in /usr/include like in other distros. Specifically, panel.h, form.h, and menu.h are in /usr/include/ncurses, not /usr/include. Strangely, OpenSUSE chose to make a symlink to ncurses/ncurses.h in /usr/include, but did not provide symlinks for the other files. The result was that when extconf.rb for the ncursesw gem was executed, it could not find these header files. You can see that at the bottom of the output of extconf.rb if you run it manually: checking for the panel library... checking for panel.h... no checking for the form library... checking for form.h... no checking for the menu library... checking for menu.h... no So I fixed it by manually creating the missing symlinks: cd /usr/include ln -s ncurses/form.h ln -s ncurses/panel.h ln -s ncurses/menu.h Then I reran 'gem install ncursesw'. It wasn't enough to do a 'make clean && make && make install' in the ncursesw gem source directory. _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk