求助编译软件的问题(已解决)

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
牙签儿
帖子: 509
注册时间: 2007-06-30 0:27

求助编译软件的问题(已解决)

#1

帖子 牙签儿 » 2007-10-08 23:41

编译软件是出现如下错误,请问该安装什么软件或者是库文件?谢谢!

代码: 全选

configure: error: could not find Python headers
上次由 牙签儿 在 2007-10-09 21:33,总共编辑 1 次。
头像
牙签儿
帖子: 509
注册时间: 2007-06-30 0:27

#2

帖子 牙签儿 » 2007-10-09 10:35

可怜没人理,自己顶!
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#3

帖子 BigSnake.NET » 2007-10-09 12:47

编译什么
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
头像
牙签儿
帖子: 509
注册时间: 2007-06-30 0:27

#4

帖子 牙签儿 » 2007-10-09 21:18

编译avant-window-navigator-0.2

代码: 全选

n@nu:~$ cd Desktop/
n@nu:~/Desktop$ cd avant-window-navigator-0.2/
n@nu:~/Desktop/avant-window-navigator-0.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for a Python interpreter with version >= 2.3.5... python
checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.5/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.5/site-packages
checking for headers required to compile python extensions... not found
configure: error: could not find Python headers
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#5

帖子 BigSnake.NET » 2007-10-09 21:23

代码: 全选

deb http://down.linuxblog.cn/syzygy42/ gutsy avant-window-navigator exaile
deb-src http://down.linuxblog.cn/syzygy42/ gutsy avant-window-navigator exaile

代码: 全选

$ aptitude show avant-window-navigator-bzr 
软件包: avant-window-navigator-bzr
新: 是
状态: 已安装
自动安装: 是
版本号: 0.2.0-bzr129-1
优先级: 可选
部分: avant\-window\-navigator/gnome
维护者: Aren Olson <reacocard@gmail.com>
未压缩尺寸: 1462k
依赖于: libart-2.0-2 (>= 2.3.18), libatk1.0-0 (>= 1.13.2), libawn-bzr,
           libbonobo2-0 (>= 2.15.0), libbonoboui2-0 (>= 2.15.1), libc6 (>=
           2.6-1), libcairo2 (>= 1.4.0), libdbus-1-3 (>= 1.1.1),
           libdbus-glib-1-2 (>= 0.74), libfontconfig1 (>= 2.4.0), libgconf2-4
           (>= 2.13.5), libglade2-0 (>= 1:2.6.1), libglib2.0-0 (>= 2.14.0),
           libgnome-desktop-2 (>= 2.11.1), libgnome2-0 (>= 2.17.3),
           libgnomecanvas2-0 (>= 2.11.1), libgnomeui-0 (>= 2.19.1),
           libgnomevfs2-0 (>= 1:2.17.90), libgtk2.0-0 (>= 2.12.0), libice6 (>=
           1:1.0.0), liborbit2 (>= 1:2.14.8), libpango1.0-0 (>= 1.18.2),
           libpopt0 (>= 1.10), libsm6, libstartup-notification0 (>= 0.8-1),
           libwnck22 (>= 2.19.5), libx11-6, libxcomposite1 (>= 1:0.3-1),
           libxcursor1 (> 1.1.2), libxdamage1 (>= 1:1.1), libxext6, libxfixes3
           (>= 1:4.0.1), libxi6, libxinerama1, libxml2 (>= 2.6.29), libxrandr2
           (>= 2:1.2.0), libxrender1, libawn-bzr (= 0.2.0-bzr129-1),
           libgnomevfs2-0, libgnome-desktop-2, libgnome2-0, libwnck-common,
           python-gtk2, libgconf2-4, libglib2.0-0, python-gconf, libxdamage1,
           libxcomposite1, python-cairo
推荐: beryl | compiz
冲突: avant-window-navigator, avant-window-navigator-svn
代替: avant-window-navigator-svn
提供: avant-window-navigator
描述: Avant Window Navigator
 A cool, compositing dock-like taskbar. 
 
 
 You need a compositing window manager (e.g. compiz, beryl) to use this.
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
头像
牙签儿
帖子: 509
注册时间: 2007-06-30 0:27

#6

帖子 牙签儿 » 2007-10-09 21:31

感谢大蛇的帮助!
回复