编译xorg出错,看看什么问题?

JAVaOLDsiji 2005-03-12 08:27:35


[root@zhaoxq,ttyv0:/usr/ports/print/freetype2/work/freetype-2.1.9] uname -a
FreeBSD zhaoxq.singlee.com.cn 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Thu Mar
10 19:45:40 CST 2005     root@zhaoxq.singlee.com.cn:/usr/obj/usr/src/sys/GENERIC
  i386复制代码我安装了mini,下载所有的src,ports,然后make world,现在准备装xorg,但在编译时出现了如下的问题:
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -I/usr/local/include/freet
ype2 -I/usr/local/include -I/usr/X11R6/include -g -O2 -MT xftfreetype.lo -MD -MP
-MF .deps/xftfreetype.Tpo -c xftfreetype.c  -fPIC -DPIC -o .libs/xftfreetype.o
xftfreetype.c: In function `XftFontInfoFill':
xftfreetype.c:529: error: `FC_EMBEDDED_BITMAP' undeclared (first use in this fun
ction)
xftfreetype.c:529: error: (Each undeclared identifier is reported only once
xftfreetype.c:529: error: for each function it appears in.)
xftfreetype.c:568: error: `FC_USE_GAMMA' undeclared (first use in this function)

*** Error code 1

Stop in /usr/ports/x11-fonts/libXft/work/libXft-2.1.6.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXft/work/libXft-2.1.6.复制代码请问现在该怎么解决?

在编译时我加了一个patch选项,在freebsdchina.org的公告里说的.
要怎么patch呢?我在freetype2下make patch然后make时出错.[root@zhaoxq,ttyv0:/usr/ports/print/freetype2/work/freetype-2.1.9] ./configure
GNU make (>;= 3.79.1) or makepp (>;= 1.19) is required to build FreeType2.
Please try
  `GNUMAKE=<GNU make command name>; ./configure'.
or >;&2
  `GNUMAKE="makepp --norc-substitution" ./configure'.
[root@zhaoxq,ttyv0:/usr/ports/print/freetype2/work/freetype-2.1.9] GNUMAKE=gmake
./configure --prefix=/usr/local
GNUMAKE=gmake: Command not found.
[root@zhaoxq,ttyv0:/usr/ports/print/freetype2/work/freetype-2.1.9] GNUMAKE="make
pp --norc-substitution" ./configure
GNUMAKE=makepp --norc-substitution: Command not found.
[root@zhaoxq,ttyv0:/usr/ports/print/freetype2/work/freetype-2.1.9]


[root@zhaoxq,ttyv0:/usr/ports/print/freetype2/work/freetype-2.1.9] gmake -v
GNU Make 3.80
Copyright (C) 2002  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复制代码看看我的版本是大于它的呀,为什么还说低了呢?

fontconfig也不行.configure: error: cannot find expat library
[root@zhaoxq,ttyv1:/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.2.3] ./conf
igure --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man复制代码 libXft也出错.configure: creating ./config.status
config.status: creating Makefile
config.status: creating xft.pc
config.status: creating xft-config
config.status: creating Xft.3
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
[root@zhaoxq,ttyv0:/usr/ports/x11-fonts/libXft/work/libXft-2.1.6] ./configure --
prefix=/usr/X11R6复制代码不知道patch是怎么用的,该如何一步步的做下去呢?这种问题我现在该如何解决?谢谢指点一下.
...全文
38 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

430

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧