From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.86.59.13 with SMTP id h13cs398006fga; Mon, 1 Mar 2010 15:53:15 -0800 (PST) Received: by 10.224.97.205 with SMTP id m13mr2871576qan.161.1267487594172; Mon, 01 Mar 2010 15:53:14 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 6si11351837qwd.4.2010.03.01.15.53.13; Mon, 01 Mar 2010 15:53:14 -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 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 9DA18185830F; Mon, 1 Mar 2010 18:53:13 -0500 (EST) Received: from proofpoint2.lanl.gov (proofpoint2.lanl.gov [204.121.3.26]) by rubyforge.org (Postfix) with ESMTP id 0EE7918582DA for ; Mon, 1 Mar 2010 18:50:51 -0500 (EST) Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by proofpoint2.lanl.gov (8.14.3/8.14.3) with ESMTP id o21NooRa008594 for ; Mon, 1 Mar 2010 16:50:51 -0700 Received: from ccn-mail.lanl.gov (ccn-mail.lanl.gov [128.165.4.105]) by mailrelay1.lanl.gov (Postfix) with ESMTP id EF4D2242811 for ; Mon, 1 Mar 2010 16:50:50 -0700 (MST) Received: from localhost (localhost.localdomain [127.0.0.1]) by ccn-mail.lanl.gov (Postfix) with ESMTP id ECD81410069 for ; Mon, 1 Mar 2010 16:50:50 -0700 (MST) X-NIE-2-Virus-Scanner: amavisd-new at ccn-mail.lanl.gov Received: from tangerine.lanl.gov (tangerine.lanl.gov [128.165.229.90]) by ccn-mail.lanl.gov (Postfix) with ESMTP id CA244410066 for ; Mon, 1 Mar 2010 16:50:50 -0700 (MST) From: John Bent To: sup-talk In-reply-to: <1267480569-sup-9556@tangerine.lanl.gov> References: <1267478622-sup-2939@tangerine.lanl.gov> <1267480569-sup-9556@tangerine.lanl.gov> Date: Mon, 01 Mar 2010 16:50:50 -0700 Message-Id: <1267486887-sup-2403@tangerine.lanl.gov> User-Agent: Sup/git X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2010-03-01_17:2010-02-06, 2010-03-01, 2010-03-01 signatures=0 Subject: Re: [sup-talk] sup install error 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: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Excerpts from John Bent's message of Mon Mar 01 14:57:03 -0700 2010: > Excerpts from John Bent's message of Mon Mar 01 14:26:09 -0700 2010: > > I've been using an old PowerPC Mac. I got a new Intel one running > > Leopard (10.6.2) but got an error trying to install sup. Everything is > > a fresh install. The only thing I've done is install the Xcode tools. > > The error (below sig) looks like a problem with ncurses. Looking around > > at the mkmf.log file (attached), I see more issues with curses: no > > wmove(), no libpdcurses. > > > > The ruby installed is 1.8.7. gem is 1.3.1. > > > > I recreated this by copying the little test program with the wmove() in > > it. When I tried to build it with -lncursesw, it failed because that > > lib doesn't exist but it did work with -lncurses (without the 'w'). So > > I just made a symlink: > > > > guava:/usr/lib>ln -s /usr/lib/libncurses.dylib /usr/lib/libncursesw.dylib > > > > That works. Now gem install sup works. But I'm not sure that's the > > best fix. Anyway, it looks like the problem is in gem install ncursesw > > and not in gem install sup but I thought you might like to know about > > this. > > > Whoops. Maybe I shouldn't have done that. gem install sup works, but > sup itself doesn't (it's missing ncurses.so): > > guava:~>sup > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems > /custom_require.rb:31:in > `gem_original_require': no such file to load -- ncurses.so (LoadError) > from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems > /custom_require.rb:31:in > `require' > from /Library/Ruby/Gems/1.8/gems/sup-0.10.2/lib/ncurses.rb:21 > from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems > /custom_require.rb:31:in > `gem_original_require' > from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems > /custom_require.rb:31:in > `require' > from /Library/Ruby/Gems/1.8/gems/sup-0.10.2/bin/sup:9 > from /usr/bin/sup:19:in `load' > from /usr/bin/sup:19 > OK. I've made some more progress but am still stuck. I used macports to update ruby and gem and I undid the symlink library hack, and now gem install sup works. Yay! But I still can't get sup (or sup-config) to run. I also did gem install xapian-full and I did port install xapian-core and xapian-bindings When I try to run, I get this: /opt/local/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/index.rb:229:in `init': unknown index type "xapian": dlopen(/opt/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib/_xapian.bundle, 9): Library not loaded: /usr/local/lib/libxapian-1.1.3.dylib (RuntimeError) Referenced from: /opt/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib/_xapian.bundle Reason: image not found - /opt/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib/_xapian.bundle from /opt/local/lib/ruby/gems/1.8/gems/sup-0.10.2/bin/sup-config:150 from /opt/local/bin/sup-config:19:in `load' from /opt/local/bin/sup-config:19 I don't have a /usr/local/lib/libxapian-1.1.3.dylib but I do have /opt/local/lib/libxapian.15.6.6.dylib, et al. I do have /opt/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.4/lib/_xapian.bundle. If I try to use ferret, I get this error: /opt/local/lib/ruby/gems/1.8/gems/sup-0.10.2/lib/sup/index.rb:229:in `init': unknown index type "ferret": no such file to load -- ferret (RuntimeError) from /opt/local/lib/ruby/gems/1.8/gems/sup-0.10.2/bin/sup-config:150 from /opt/local/bin/sup-config:19:in `load' from /opt/local/bin/sup-config:19 After I run, there is a new $HOME/.sup directory created with a config.yaml and a hooks/ directory. Any ideas? Thanks, John > John > > Thanks, > > > > John > > > > guava:~>gem install sup > > Building native extensions. This could take a while... > > ERROR: Error installing sup: > > ERROR: Failed to build gem native extension. > > > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby > > extconf.rb install sup > > checking for unistd.h... yes > > checking for locale.h... yes > > checking for ncurses.h... yes > > checking for wmove() in -lncursesw... no > > checking for wmove() in -lpdcurses... no > > *** extconf.rb failed *** > > Could not create Makefile due to some reason, probably lack of > > necessary libraries and/or headers. Check the mkmf.log file for more > > details. You may need configuration options. > > > > Provided configuration options: > > --with-opt-dir > > --without-opt-dir > > --with-opt-include > > --without-opt-include=${opt-dir}/include > > --with-opt-lib > > --without-opt-lib=${opt-dir}/lib > > --with-make-prog > > --without-make-prog > > --srcdir=. > > --curdir > > --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby > > --with-ncurseswlib > > --without-ncurseswlib > > --with-pdcurseslib > > --without-pdcurseslib > > extconf.rb:46: ncurses library not found (RuntimeError) > > > > > > Gem files will remain installed in > > /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.1 for inspection. > > Results logged to /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.1/gem_make.out _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk