* [sup-talk] sup install error
@ 2010-03-01 21:26 John Bent
2010-03-01 21:57 ` John Bent
2010-03-03 22:23 ` Rich Lane
0 siblings, 2 replies; 8+ messages in thread
From: John Bent @ 2010-03-01 21:26 UTC (permalink / raw)
To: sup-talk
[-- Attachment #1: Type: text/plain, Size: 2273 bytes --]
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.
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
[-- Attachment #2: mkmf.log --]
[-- Type: application/octet-stream, Size: 5143 bytes --]
have_header: checking for unistd.h... -------------------- yes
"gcc -E -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -g conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include <unistd.h>
/* end */
--------------------
have_header: checking for locale.h... -------------------- yes
"gcc -E -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -g conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include <locale.h>
/* end */
--------------------
have_header: checking for ncurses.h... -------------------- yes
"gcc -E -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -g conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include <ncurses.h>
/* end */
--------------------
have_library: checking for wmove() in -lncursesw... -------------------- no
"gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -g conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64 -lruby -lncursesw -lpthread -ldl "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘wmove’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
conftest.c: In function ‘t’:
conftest.c:3: error: ‘wmove’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
lipo: can't figure out the architecture type of: /var/tmp//ccOqk6hU.out
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))wmove; return 0; }
/* end */
"gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -g conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64 -lruby -lncursesw -lpthread -ldl "
ld: library not found for -lncursesw
collect2: ld returned 1 exit status
ld: library not found for -lncursesw
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccrjphlc.out (No such file or directory)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { wmove(); return 0; }
/* end */
--------------------
have_library: checking for wmove() in -lpdcurses... -------------------- no
"gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -g conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64 -lruby -lpdcurses -lpthread -ldl "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘wmove’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
conftest.c: In function ‘t’:
conftest.c:3: error: ‘wmove’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
lipo: can't figure out the architecture type of: /var/tmp//ccXw8t0O.out
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))wmove; return 0; }
/* end */
"gcc -o conftest -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -g conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib -L. -arch i386 -arch x86_64 -lruby -lpdcurses -lpthread -ldl "
ld: library not found for -lpdcurses
collect2: ld returned 1 exit status
ld: library not found for -lpdcurses
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccKimHqF.out (No such file or directory)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { wmove(); return 0; }
/* end */
--------------------
[-- Attachment #3: Type: text/plain, Size: 140 bytes --]
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sup-talk] sup install error
2010-03-01 21:26 [sup-talk] sup install error John Bent
@ 2010-03-01 21:57 ` John Bent
2010-03-01 23:50 ` John Bent
2010-03-03 22:23 ` Rich Lane
1 sibling, 1 reply; 8+ messages in thread
From: John Bent @ 2010-03-01 21:57 UTC (permalink / raw)
To: sup-talk
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
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sup-talk] sup install error
2010-03-01 21:57 ` John Bent
@ 2010-03-01 23:50 ` John Bent
0 siblings, 0 replies; 8+ messages in thread
From: John Bent @ 2010-03-01 23:50 UTC (permalink / raw)
To: sup-talk
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sup-talk] sup install error
2010-03-01 21:26 [sup-talk] sup install error John Bent
2010-03-01 21:57 ` John Bent
@ 2010-03-03 22:23 ` Rich Lane
2010-03-03 22:25 ` John Bent
` (2 more replies)
1 sibling, 3 replies; 8+ messages in thread
From: Rich Lane @ 2010-03-03 22:23 UTC (permalink / raw)
To: John Bent; +Cc: sup-talk
Excerpts from John Bent's message of 2010-03-01 16:26:09 -0500:
> 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.
>
> 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
I'm thinking about changing the gem dependency from ncursesw back to
plain ncurses to avoid these install failures. Anyone have thoughts on
this?
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sup-talk] sup install error
2010-03-03 22:23 ` Rich Lane
@ 2010-03-03 22:25 ` John Bent
2010-03-04 2:10 ` Mark Alexander
2010-03-04 11:45 ` Helge Titlestad
2 siblings, 0 replies; 8+ messages in thread
From: John Bent @ 2010-03-03 22:25 UTC (permalink / raw)
To: sup-talk
Excerpts from Rich Lane's message of Wed Mar 03 15:23:06 -0700 2010:
> Excerpts from John Bent's message of 2010-03-01 16:26:09 -0500:
> > 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.
> >
> > 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
>
> I'm thinking about changing the gem dependency from ncursesw back to
> plain ncurses to avoid these install failures. Anyone have thoughts on
> this?
>
+1 :)
John
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sup-talk] sup install error
2010-03-03 22:23 ` Rich Lane
2010-03-03 22:25 ` John Bent
@ 2010-03-04 2:10 ` Mark Alexander
2010-03-04 11:45 ` Helge Titlestad
2 siblings, 0 replies; 8+ messages in thread
From: Mark Alexander @ 2010-03-04 2:10 UTC (permalink / raw)
To: Rich Lane; +Cc: sup-talk
Excerpts from Rich Lane's message of Wed Mar 03 17:23:06 -0500 2010:
> I'm thinking about changing the gem dependency from ncursesw back to
> plain ncurses to avoid these install failures. Anyone have thoughts on
> this?
It could be that I'm misunderstanding something, but wouldn't it
still be likely that there would be failures if the user hasn't
installed the libncurses5-dev package, or whatever it's called
on their OS?
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sup-talk] sup install error
2010-03-03 22:23 ` Rich Lane
2010-03-03 22:25 ` John Bent
2010-03-04 2:10 ` Mark Alexander
@ 2010-03-04 11:45 ` Helge Titlestad
2010-03-04 16:59 ` Rich Lane
2 siblings, 1 reply; 8+ messages in thread
From: Helge Titlestad @ 2010-03-04 11:45 UTC (permalink / raw)
To: sup-talk
Excerpts from Rich Lane's message of Wed Mar 03 23:23:06 +0100 2010:
> I'm thinking about changing the gem dependency from ncursesw back to
> plain ncurses to avoid these install failures. Anyone have thoughts on
> this?
If this breaks UTF-8 support more, I humbly vote against. UTF-8 with ncursesw
might not be the perfect solution, but it seems to be the only solution at the
moment, and anyone outside stricy ascii-writing countries will expect it to
Just Work[tm].
--
alge
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sup-talk] sup install error
2010-03-04 11:45 ` Helge Titlestad
@ 2010-03-04 16:59 ` Rich Lane
0 siblings, 0 replies; 8+ messages in thread
From: Rich Lane @ 2010-03-04 16:59 UTC (permalink / raw)
To: sup-talk
Excerpts from Helge Titlestad's message of 2010-03-04 06:45:04 -0500:
> Excerpts from Rich Lane's message of Wed Mar 03 23:23:06 +0100 2010:
> > I'm thinking about changing the gem dependency from ncursesw back to
> > plain ncurses to avoid these install failures. Anyone have thoughts on
> > this?
>
> If this breaks UTF-8 support more, I humbly vote against. UTF-8 with ncursesw
> might not be the perfect solution, but it seems to be the only solution at the
> moment, and anyone outside stricy ascii-writing countries will expect it to
> Just Work[tm].
I committed a patch to master that switches the gem dependency to plain
ncurses. I'd rather have all users be able to install than having utf8
support by default, especially when the way to enable utf8 is so easy -
gem install ncursesw. I've promoted the debug log about missing ncursesw
to an info log.
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-03-04 16:59 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-01 21:26 [sup-talk] sup install error John Bent
2010-03-01 21:57 ` John Bent
2010-03-01 23:50 ` John Bent
2010-03-03 22:23 ` Rich Lane
2010-03-03 22:25 ` John Bent
2010-03-04 2:10 ` Mark Alexander
2010-03-04 11:45 ` Helge Titlestad
2010-03-04 16:59 ` Rich Lane
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox