Re: Problems installing libvir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 25, 2006 at 09:08:02AM -0400, Daniel Veillard wrote:

> > PS. Didn't Jim Fehlig mention that he has already fixed this?

 I don't remember too.

>   Hum, I don't remember that, maybe I missed a patch, right now there is
> only 
>    AC_CHECK_LIB(curses, initscr,
>      ...
> in the CVS configure.in so that's not fixed here,

 Possible fix (not tested):

AC_CHECK_LIB(curses, initscr, [VIRSH_LIBS="$VIRSH_LIBS -lcurses"], 
    [ AC_CHECK_LIB(ncurses, initscr, [VIRSH_LIBS="$VIRSH_LIBS -lncurses"], 
        [AC_MSG_ERROR([curses/ncurses library not found])], [$VIRSH_LIBS])
    ], [$VIRSH_LIBS])


 ... nice explosion of [([])].. .. :-)

    Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]