安装makedepend-1.0.1时报错:
时间:2009-04-10
来源:互联网
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking return type of signal handlers... void
checking for rename... yes
checking for fchmod... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for X... configure: error: Package requirements (xproto) were not met:
No package 'xproto' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables X_CFLAGS
and X_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
echo的帖子也是遇到过这样的错误 http://www.linuxsir.org/bbs/thread313296.html
他的解决方法 我看不大明白,我是刚开始学linux 知道具体怎么解决的朋友告知一声啊.
作者: shopping.w 发布时间: 2009-04-10
作者: d00m3d 发布时间: 2009-04-10
作者: d00m3d
人家第二帖不是给你答案了?
|
我这里安装了 pkg 的啊 也按照 http://linux.chinaunix.net/techdoc/i...6/977504.shtml
1.先下载pkg-config
代码:wget http://pkgconfig.freedesktop.org/rel...ig-0.22.tar.gz然后安装它
代码:tar xvf pkg-config-0.22.tar.gz
cd pkg-config-0.22
./configure --prefix=/usr &&
make
make install将/usr/X11R7/lib加入到pkg-config的搜索路径中去。
代码:export PKG_CONFIG_PATH=/usr/X11R7/lib:/lib/pkgconfig:/usr/lib/pkgconfig
2.其次是imake-1.0.2、gccmakedep-1.0.2、imake-1.0.2、lndir-1.0.1、makedepend-1.0.1、util-macros-1.1.5
使用下面的命令就可以了。
代码:PKG_CONFIG_PATH="${PKG_CONFIG_PATHN}" \
./configure $XORG_CONFIGN &&
make &&
make install
我这里是先安装 pkg-config-0.23
接着是makedepend-1.0.1
其报错为
No package 'xproto' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables X_CFLAGS
and X_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
作者: shopping.w 发布时间: 2009-04-11
我这里是先安装 pkg-config-0.23 接着是makedepend-1.0.1 其报错为 No package 'xproto' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables X_CFLAGS and X_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. |
作者: d00m3d 发布时间: 2009-04-13
root:/home/tools/xproto-7.0.13# make install
make[1]: Entering directory `/home/tools/xproto-7.0.13'
make[1]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include/X11" || mkdir -p -- . "/usr/local/include/X11"
/usr/bin/install -c -m 644 'Xfuncproto.h' '/usr/local/include/X11/Xfuncproto.h'
/usr/bin/install -c -m 644 'Xpoll.h' '/usr/local/include/X11/Xpoll.h'
test -z "/usr/local/lib/pkgconfig" || mkdir -p -- . "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 'xproto.pc' '/usr/local/lib/pkgconfig/xproto.pc'
test -z "/usr/local/include/X11" || mkdir -p -- . "/usr/local/include/X11"
/usr/bin/install -c -m 644 'ap_keysym.h' '/usr/local/include/X11/ap_keysym.h'
/usr/bin/install -c -m 644 'DECkeysym.h' '/usr/local/include/X11/DECkeysym.h'
/usr/bin/install -c -m 644 'HPkeysym.h' '/usr/local/include/X11/HPkeysym.h'
/usr/bin/install -c -m 644 'keysymdef.h' '/usr/local/include/X11/keysymdef.h'
/usr/bin/install -c -m 644 'keysym.h' '/usr/local/include/X11/keysym.h'
/usr/bin/install -c -m 644 'Sunkeysym.h' '/usr/local/include/X11/Sunkeysym.h'
/usr/bin/install -c -m 644 'Xalloca.h' '/usr/local/include/X11/Xalloca.h'
/usr/bin/install -c -m 644 'Xarch.h' '/usr/local/include/X11/Xarch.h'
/usr/bin/install -c -m 644 'Xatom.h' '/usr/local/include/X11/Xatom.h'
/usr/bin/install -c -m 644 'Xdefs.h' '/usr/local/include/X11/Xdefs.h'
/usr/bin/install -c -m 644 'XF86keysym.h' '/usr/local/include/X11/XF86keysym.h'
/usr/bin/install -c -m 644 'Xfuncs.h' '/usr/local/include/X11/Xfuncs.h'
/usr/bin/install -c -m 644 'X.h' '/usr/local/include/X11/X.h'
/usr/bin/install -c -m 644 'Xmd.h' '/usr/local/include/X11/Xmd.h'
/usr/bin/install -c -m 644 'Xosdefs.h' '/usr/local/include/X11/Xosdefs.h'
/usr/bin/install -c -m 644 'Xos.h' '/usr/local/include/X11/Xos.h'
/usr/bin/install -c -m 644 'Xos_r.h' '/usr/local/include/X11/Xos_r.h'
/usr/bin/install -c -m 644 'Xproto.h' '/usr/local/include/X11/Xproto.h'
/usr/bin/install -c -m 644 'Xprotostr.h' '/usr/local/include/X11/Xprotostr.h'
/usr/bin/install -c -m 644 'Xthreads.h' '/usr/local/include/X11/Xthreads.h'
/usr/bin/install -c -m 644 'Xw32defs.h' '/usr/local/include/X11/Xw32defs.h'
/usr/bin/install -c -m 644 'XWDFile.h' '/usr/local/include/X11/XWDFile.h'
/usr/bin/install -c -m 644 'Xwindows.h' '/usr/local/include/X11/Xwindows.h'
/usr/bin/install -c -m 644 'Xwinsock.h' '/usr/local/include/X11/Xwinsock.h'
make[1]: Leaving directory `/home/tools/xproto-7.0.13'
作者: shopping.w 发布时间: 2009-04-16
作者: d00m3d 发布时间: 2009-04-16
作者: shopping.w 发布时间: 2009-04-16
作者: d00m3d 发布时间: 2009-04-16
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28