xapian problem (install sup)

204 views
Skip to first unread message

Peng Yu

unread,
Mar 18, 2015, 1:03:58 PM3/18/15
to None
I have the following problem, when I install sup. Does anybody know
what is wrong? Thanks.

/tmp/ruby-2.0.0-p643$ sudo gem install sup
Fetching: ncursesw-1.4.9.gem (100%)
Building native extensions. This could take a while...
Successfully installed ncursesw-1.4.9
Fetching: rmail-sup-1.0.1.gem (100%)
Successfully installed rmail-sup-1.0.1
Fetching: highline-1.7.1.gem (100%)
Successfully installed highline-1.7.1
Fetching: trollop-2.1.2.gem (100%)
Successfully installed trollop-2.1.2
Fetching: lockfile-2.1.3.gem (100%)
Successfully installed lockfile-2.1.3
Fetching: mime-types-1.25.1.gem (100%)
Successfully installed mime-types-1.25.1
Fetching: locale-2.1.0.gem (100%)
Successfully installed locale-2.1.0
Fetching: chronic-0.9.1.gem (100%)
Successfully installed chronic-0.9.1
Fetching: unicode-0.4.4.2.gem (100%)
Building native extensions. This could take a while...
Successfully installed unicode-0.4.4.2
Fetching: sup-0.21.0.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing sup:
ERROR: Failed to build gem native extension.

/usr/local/bin/ruby mkrf_conf_xapian.rb
xapian: installing xapian-ruby..
xapian: platform specific dependencies..
Building native extensions. This could take a while...


Gem files will remain installed in
/usr/local/lib/ruby/gems/2.0.0/gems/sup-0.21.0 for inspection.
Results logged to
/usr/local/lib/ruby/gems/2.0.0/gems/sup-0.21.0/ext/gem_make.out

--
Regards,
Peng

Mark Alexander

unread,
Mar 18, 2015, 1:09:51 PM3/18/15
to Peng Yu, None
Excerpts from Peng Yu's message of 2015-03-18 13:03:57 -0400:
> ERROR: Error installing sup:
> ERROR: Failed to build gem native extension.
>
> /usr/local/bin/ruby mkrf_conf_xapian.rb
> ...
> Results logged to
> /usr/local/lib/ruby/gems/2.0.0/gems/sup-0.21.0/ext/gem_make.out

You'll need to take a look at that log file to figure this out.
But I've run into this before, and the first problem I had was that
I didn't have g++ installed.

Peng Yu

unread,
Mar 18, 2015, 1:41:17 PM3/18/15
to Mark Alexander, None
On Wed, Mar 18, 2015 at 12:09 PM, Mark Alexander <ma...@pobox.com> wrote:
> Excerpts from Peng Yu's message of 2015-03-18 13:03:57 -0400:
>> ERROR: Error installing sup:
>> ERROR: Failed to build gem native extension.
>>
>> /usr/local/bin/ruby mkrf_conf_xapian.rb
>> ...
>> Results logged to
>> /usr/local/lib/ruby/gems/2.0.0/gems/sup-0.21.0/ext/gem_make.out

The log file is not helpful.

~$ cat /usr/local/lib/ruby/gems/2.0.0/gems/sup-0.21.0/ext/gem_make.out
/usr/local/bin/ruby mkrf_conf_xapian.rb
xapian: installing xapian-ruby..
xapian: platform specific dependencies..
Building native extensions. This could take a while...

> You'll need to take a look at that log file to figure this out.
> But I've run into this before, and the first problem I had was that
> I didn't have g++ installed.

~$ g++ --version
g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--
Regards,
Peng

gui...@netcourrier.com

unread,
Mar 19, 2015, 1:31:07 PM3/19/15
to sup...@googlegroups.com
Last time I had this problem, I solved it by installing ruby-xapian first and then sup. I'm not sure why.

For those who are starting to think that I sound like a broken record, sorry ^^
Maybe there should be a notice somewhere in the installation page.

--
Guillaume


---- Message d'origine ----
De : "Peng Yu" <peng...@gmail.com>
À : "Mark Alexander" <ma...@pobox.com>;
   "None" <sup...@googlegroups.com>
Objet : Re: [sup] xapian problem (install sup)
Date : 18/03/2015 18:41:16 CET
--
You received this message because you are subscribed to the Google Groups "The Sup email client" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supmua+un...@googlegroups.com.
To post to this group, send email to sup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/supmua/CABrM6wks9y-_z9Sm4qGaZz5Xy8d9z79jVkw5BGdFDeMx%2Bg44jw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages