the error changed to :
 
make[3]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/generator'
  CC     libguestfsmod_la-guestfs-py.lo
In file included from guestfs-py.c:29:0:
guestfs-py.h:25:20: fatal error: Python.h: No such file or directory
compilation terminated.
make[2]: *** [libguestfsmod_la-guestfs-py.lo] Error 1
make[2]: Leaving directory `/home/libguest_test/libguestfs-1.19.35/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/libguest_test/libguestfs-1.19.35'
make: *** [all] Error 2
 

周涛
 
From: Richard W.M. Jones
Date: 2012-09-04 20:08
To: 周涛
CC: libguestfs
Subject: Re: Re: compile libguestfs 1.19.35
 
On Tue, Sep 04, 2012 at 07:58:59PM +0800, 周涛 wrote:
> i have installed ncurses-devel, but the libtinfo.so.5.9 path is :
> /usr/lib/libtinfo.so.5.9
> $ nm -D /usr/lib/libtinfo.so.5.9 | grep tgetnum
> 4cec7ab0 T tgetnum 
> $ nm -D /usr/lib/libtinfo.so.5.9 | grep UP
> 4cedb884 B UP 
 
That's OK.  /usr/lib64 is a Fedora-ism.  Now run ./configure && make
 
Rich.
 
-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.
---------------------------------------------------------------------------------------------------