[问题]编译fvwm-2.5.16时的问题

编译打包和其他
回复
liangfaxiang
帖子: 48
注册时间: 2007-06-04 21:08

[问题]编译fvwm-2.5.16时的问题

#1

帖子 liangfaxiang » 2007-12-09 19:19

在CU下了个fvwm2.5.16和fvwm-2.5.16-translucent-menus.diff.gz,补丁打上了,可是在运行 ./configure 时发生这样的情况


leung@leungfax:~/fvwm$ ./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 command logging... no
checking whether to enable debugging messages... 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 ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for X... no

X11 libraries or header files could not be found. Please make
sure the X11 development package is installed on your system.
If it is definitely installed, try setting the include and library
paths with the --x-include and --x-libraries options of configure.
Fvwm can not be compiled without the X11 development environment.

Aborting.

然后我在网上搜索,有人说是要装上libx11-dev,于是我就sudo apt-get install libx11-dev,系统提示我的xlib11-dev是最新的了。 哪位高人指点一下啊,谢谢!~~
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#2

帖子 BigSnake.NET » 2007-12-09 19:22

源里面有

代码: 全选

$ aptitude show fvwm
软件包: fvwm
新: 是
状态: 未安装
版本号: 1:2.5.21-1
优先级: 可选
部分: universe/x11
维护者: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
未压缩尺寸: 6824k
依赖于: gdk-imlib11, libc6 (>= 2.5-0ubuntu1), libfontconfig1 (>= 2.4.0),
           libfreetype6 (>= 2.2), libfribidi0 (>= 0.10.7), libglib1.2 (>=
           1.2.0), libgtk1.2 (>= 1.2.10-4), libice6 (>= 1:1.0.0), libncurses5
           (>= 5.4-5), libpng12-0 (>= 1.2.13-4), libreadline5 (>= 5.2),
           librplay3 (>= 3.3.2-2), libsm6, libstroke0 (>= 0.5.1), libx11-6,
           libxext6, libxft2 (> 2.1.1), libxi6, libxinerama1, libxpm4,
           libxrender1, zlib1g (>= 1:1.2.1)
预依赖于: debconf (>= 1.2.0) | debconf-2.0
推荐: fvwm-icons
建议: m4, cpp, menu (>= 1.5), wm-icons, perl-tk, libx11-protocol-perl
冲突: fvwm-beta, fvwm-common, fvwm-gnome, fvwmtabs
代替: fvwm-beta, fvwm-common, fvwmtabs
提供: x-window-manager
描述: F(?) Virtual Window Manager, version 2.5
 FVWM is a powerful ICCCM2 compliant multiple virtual desktop window manager for
 the X Window System. FVWM requires relatively little memory. 
 
 This 2.5 version includes new features like full support of the EWMH (Extended
 Window Manager Hints) specification, internationalization, improved window
 decoration code (no flickering anymore), bi-directional asian text support,
 FreeType font support (antialiasing), image rendering, Perl based module
 library, support for PNG images, side titles and much more.

^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
liangfaxiang
帖子: 48
注册时间: 2007-06-04 21:08

#3

帖子 liangfaxiang » 2007-12-09 19:54

这个我知道,源里面那个可以用translucent么?
另外那些依赖的包我的系统都已经有最新版,那
X11 libraries or header files could not be found. Please make
sure the X11 development package is installed on your system.
If it is definitely installed, try setting the include and library
paths with the --x-include and --x-libraries options of configure.
Fvwm can not be compiled without the X11 development environment.

这一段怎解?
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#4

帖子 eexpress » 2007-12-09 20:48

build-dep
build-dep causes apt-get to install/remove packages in an attempt to satisfy the
build dependencies for a source package.
先下了需要的依赖源码。

不知道你为什么要编译。一个wm是需要全部X11支持库的。编译以后,也不一定具有你需要的特性。
上gentoo去编译吧。
● 鸣学
头像
lipeng8413
帖子: 129
注册时间: 2006-11-29 12:13
来自: china beijing
联系:

#5

帖子 lipeng8413 » 2008-01-27 1:40

安装相应的依赖包和libx11-dev之后就可以安装了 :D
I.A.J.M - linux is so attractive!

blog:http://hi.baidu.com/leepeng
回复