LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1664|回复: 22

[已解决]XORG安装xcursor-themes时出错

[复制链接]
发表于 2009-2-16 23:36:43 | 显示全部楼层 |阅读模式
按照BLFS svn-20090215的说法来装
到了xcursor-themes-1.0.1一步时运行
PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" ./configure $XORG_CONFIG
出错:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 for style of include used by make... GNU
checking dependency style of gcc... none
checking for a BSD-compatible install... /usr/bin/install -c
checking return type of signal handlers... void
checking for xcursorgen... no
configure: error: xcursorgen is required to build these cursors.


我明明装了xcursorgen的,应该是在上一步的app里面有这个东东的吧,我还手动一个一个来重新装过,在/usr/X11R7/bin下也可以看到它的。这是怎么回事?

相当新人来的,实在是搞不懂了。
这一步装不好,下面的都没法进行了。

附上我的安装步骤,看是不是错了。
还有一些安装过程中生成的LOG


====================
原来是PATH的原因。没有/usr/X11R7/bin
所以装了系统也认为没装。。。。。
我是在chroot下面装的
chroot时PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R7/bin
这样就可以了。。。。。


谢谢各位的支持。。。。。。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2009-2-17 09:19:15 | 显示全部楼层
最好把config.log或者configure.log贴上来,那个里面才有找不到xcursorgen的原因。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-17 11:56:21 | 显示全部楼层
好的。是这个。
config.log
=========


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by xcursor-themes configure 1.0.1, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/usr/X11R7 --sysconfdir=/etc --mandir=/usr/X11R7/share/man --localstatedir=/var

## --------- ##
## Platform. ##
## --------- ##

hostname = mylinux
uname -m = i686
uname -r = 2.6.28.5
uname -s = Linux
uname -v = #1 Sun Feb 15 05:39:52 CST 2009

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1334: checking for a BSD-compatible install
configure:1389: result: /usr/bin/install -c
configure:1400: checking whether build environment is sane
configure:1443: result: yes
configure:1476: checking for gawk
configure:1492: found /usr/bin/gawk
configure:1502: result: gawk
configure:1512: checking whether make sets $(MAKE)
configure:1532: result: yes
configure:1696: checking whether to enable maintainer-specific portions of Makefiles
configure:1705: result: no
configure:1770: checking for gcc
configure:1786: found /usr/bin/gcc
configure:1796: result: gcc
configure:2040: checking for C compiler version
configure:2043: gcc --version </dev/null >&5
gcc (GCC) 4.1.2
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2046: $? = 0
configure:2048: gcc -v </dev/null >&5
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.1.2/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++
Thread model: posix
gcc version 4.1.2
configure:2051: $? = 0
configure:2053: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2056: $? = 1
configure:2079: checking for C compiler default output file name
configure:2082: gcc    conftest.c  >&5
configure:2085: $? = 0
configure:2131: result: a.out
configure:2136: checking whether the C compiler works
configure:2142: ./a.out
configure:2145: $? = 0
configure:2162: result: yes
configure:2169: checking whether we are cross compiling
configure:2171: result: no
configure:2174: checking for suffix of executables
configure:2176: gcc -o conftest    conftest.c  >&5
configure:2179: $? = 0
configure:2204: result:
configure:2210: checking for suffix of object files
configure:2231: gcc -c   conftest.c >&5
configure:2234: $? = 0
configure:2256: result: o
configure:2260: checking whether we are using the GNU C compiler
configure:2284: gcc -c   conftest.c >&5
configure:2290: $? = 0
configure:2294: test -z
                         || test ! -s conftest.err
configure:2297: $? = 0
configure:2300: test -s conftest.o
configure:2303: $? = 0
configure:2316: result: yes
configure:2322: checking whether gcc accepts -g
configure:2343: gcc -c -g  conftest.c >&5
configure:2349: $? = 0
configure:2353: test -z
                         || test ! -s conftest.err
configure:2356: $? = 0
configure:2359: test -s conftest.o
configure:2362: $? = 0
configure:2373: result: yes
configure:2390: checking for gcc option to accept ANSI C
configure:2460: gcc  -c -g -O2  conftest.c >&5
configure:2466: $? = 0
configure:2470: test -z
                         || test ! -s conftest.err
configure:2473: $? = 0
configure:2476: test -s conftest.o
configure:2479: $? = 0
configure:2497: result: none needed
configure:2515: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2521: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2665: checking for style of include used by make
configure:2693: result: GNU
configure:2721: checking dependency style of gcc
configure:2804: result: none
configure:2834: checking for a BSD-compatible install
configure:2889: result: /usr/bin/install -c
configure:2902: checking return type of signal handlers
configure:2933: gcc -c -g -O2  conftest.c >&5
configure:2939: $? = 0
configure:2943: test -z
                         || test ! -s conftest.err
configure:2946: $? = 0
configure:2949: test -s conftest.o
configure:2952: $? = 0
configure:2963: result: void
configure:2974: checking for xcursorgen
configure:3005: result: no
configure:3013: error: xcursorgen is required to build these cursors.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_ICONDEFS_CFLAGS_set=
ac_cv_env_ICONDEFS_CFLAGS_value=
ac_cv_env_ICONDEFS_LIBS_set=
ac_cv_env_ICONDEFS_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_objext=o
ac_cv_path_XCURSORGEN=no
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes
ac_cv_type_signal=void
am_cv_CC_dependencies_compiler_type=none

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/src/xorg7.4/xcursor-themes-1.0.1/missing --run aclocal-1.7'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/src/xorg7.4/xcursor-themes-1.0.1/missing --run tar'
AUTOCONF='${SHELL} /usr/src/xorg7.4/xcursor-themes-1.0.1/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/src/xorg7.4/xcursor-themes-1.0.1/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/src/xorg7.4/xcursor-themes-1.0.1/missing --run automake-1.7'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=none'
CFLAGS='-g -O2'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
HANDHELDS_FALSE=''
HANDHELDS_TRUE=''
ICONDEFS_CFLAGS=''
ICONDEFS_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /usr/src/xorg7.4/xcursor-themes-1.0.1/missing --run makeinfo'
OBJEXT='o'
PACKAGE='xcursor-themes'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
PACKAGE_NAME='xcursor-themes'
PACKAGE_STRING='xcursor-themes 1.0.1'
PACKAGE_TARNAME='xcursor-themes'
PACKAGE_VERSION='1.0.1'
PATH_SEPARATOR=':'
PKG_CONFIG=''
REDGLASS_FALSE=''
REDGLASS_TRUE=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.0.1'
WHITEGLASS_FALSE=''
WHITEGLASS_TRUE=''
XCURSORGEN='no'
ac_ct_CC='gcc'
ac_ct_STRIP=''
ac_pt_PKG_CONFIG=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build_alias=''
cursordir=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/src/xorg7.4/xcursor-themes-1.0.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='/var'
mandir='/usr/X11R7/share/man'
oldincludedir='/usr/include'
prefix='/usr/X11R7'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "xcursor-themes"
#define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
#define PACKAGE_NAME "xcursor-themes"
#define PACKAGE_STRING "xcursor-themes 1.0.1"
#define PACKAGE_TARNAME "xcursor-themes"
#define PACKAGE_VERSION "1.0.1"
#define RETSIGTYPE void
#define VERSION "1.0.1"

configure: exit 1
回复 支持 反对

使用道具 举报

发表于 2009-2-17 13:21:17 | 显示全部楼层
我还没有安装到xcursor-themes,我也正按照BLFS svn-20090215安装xorg7.4,后面我准备安装xfce
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-17 17:13:48 | 显示全部楼层
Post by cqcya;1948704
我还没有安装到xcursor-themes,我也正按照BLFS svn-20090215安装xorg7.4,后面我准备安装xfce


大哥,快,我不行了,就等你了。。。来吧,不用客气。。。
装到了有什么反映告诉我一声,我好有心理装备。
回复 支持 反对

使用道具 举报

发表于 2009-2-17 17:31:27 | 显示全部楼层
log里面看不到为什么没有找到
直接从configure脚本里面找吧
configure:2974: checking for xcursorgen
configure:3005: result: no
configure:3013: error: xcursorgen is required to build these cursors.
就是configure的第2974行到3013行之间了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-17 17:58:17 | 显示全部楼层
好,我尝试一下看天书吧。。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-17 18:06:41 | 显示全部楼层
果然是天书呀,对我来说。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-17 18:36:15 | 显示全部楼层
补充个问题。如果安装成功xcursorgen的话,是不是有这个命令的呢?
回复 支持 反对

使用道具 举报

发表于 2009-2-18 00:16:44 | 显示全部楼层
我已经安装到xcursor-themesle ,但是我没有出错
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表