[Libvir] Problems installing libvir

All, I am trying to install libvir on my SUSE box. The .configure command halts with the following message. ibxml2 xml2-config ... yes ('') checking for initscr in -lcurses... no configure: error: curses library not found But, I have installed curses, and cdk. linux:~/xen/libvirt-0.1.0 # whereis curses curses: /usr/include/curses.h /usr/include/curses What am I missing out here? thanks Raj

On Mon, Apr 24, 2006 at 05:02:16PM -0400, Subrahmanian, Raj wrote:
All, I am trying to install libvir on my SUSE box. The .configure command halts with the following message. ibxml2 xml2-config ... yes ('') checking for initscr in -lcurses... no configure: error: curses library not found But, I have installed curses, and cdk. linux:~/xen/libvirt-0.1.0 # whereis curses curses: /usr/include/curses.h /usr/include/curses What am I missing out here?
dunno, check the config.log to see why linking failed. Daniel -- Daniel Veillard | Red Hat http://redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

On Mon, Apr 24, 2006 at 05:02:16PM -0400, Subrahmanian, Raj wrote:
All, I am trying to install libvir on my SUSE box. The .configure command halts with the following message. ibxml2 xml2-config ... yes ('') checking for initscr in -lcurses... no configure: error: curses library not found But, I have installed curses, and cdk. linux:~/xen/libvirt-0.1.0 # whereis curses curses: /usr/include/curses.h /usr/include/curses What am I missing out here?
ncurses vs. curses ? # ls -la /usr/lib/libcurses* lrwxrwxrwx 1 root root 12 Mar 25 01:55 /usr/lib/libcurses.a -> libncurses.a lrwxrwxrwx 1 root root 17 Mar 25 01:56 /usr/lib/libcurses.so -> libncurses.so.5.5 lrwxrwxrwx 1 root root 13 Mar 25 01:56 /usr/lib/libcursesw.a -> libncursesw.a lrwxrwxrwx 1 root root 18 Mar 25 01:56 /usr/lib/libcursesw.so -> libncursesw.so.5.5 Maybe we should check for ncurses in the libvirt configure script. Karel -- Karel Zak <kzak@redhat.com>

Karel Zak wrote:
On Mon, Apr 24, 2006 at 05:02:16PM -0400, Subrahmanian, Raj wrote:
All, I am trying to install libvir on my SUSE box. The .configure command halts with the following message. ibxml2 xml2-config ... yes ('') checking for initscr in -lcurses... no configure: error: curses library not found But, I have installed curses, and cdk. linux:~/xen/libvirt-0.1.0 # whereis curses curses: /usr/include/curses.h /usr/include/curses What am I missing out here?
ncurses vs. curses ?
Yes, this is the problem. I hacked configure.in to look for ncurses but have not had time (or forgot) to submit a proper patch.
Maybe we should check for ncurses in the libvirt configure script.
yep. I will have to recall the proper way to look for both and submit patch, unless someone beats me to it. Jim
participants (4)
-
Daniel Veillard
-
Jim Fehlig
-
Karel Zak
-
Subrahmanian, Raj