当前位置: 技术问答>linux和unix
aix5.2下如何安装emacs21.3?up者有分
来源: 互联网 发布时间:2015-06-05
本文导语: 我在aix4.3.3.0下安装成功了,可是最近系统被管理员升级成aix 5.2后我就安装不起来了,./configure命令运行成功了,可是就在make时出错!以前在aix 4.3.3.0下没这个问题的。下面是出错信息,其中有“gcc-lib/powerpc-ibm-aix4.3....
我在aix4.3.3.0下安装成功了,可是最近系统被管理员升级成aix 5.2后我就安装不起来了,./configure命令运行成功了,可是就在make时出错!以前在aix 4.3.3.0下没这个问题的。下面是出错信息,其中有“gcc-lib/powerpc-ibm-aix4.3.3.0”字样,会不会gcc的库不配套?
------------------
/emacs/emacs-21.3>make
if [ ! -f /emacs/emacs-21.3/lisp/abbrev.elc ]; then m
ake bootstrap; fi
cd lib-src; make all CC='gcc' CFLAGS='-g -O2 ' CPPFLAGS='-D_BSD ' LD
FLAGS='-Wl,-bbigtoc -L/usr/X11R6/lib' MAKE='make'
gcc -D_BSD -DHAVE_CONFIG_H -I. -I../src -I/emacs/e
macs-21.3/lib-src -I/emacs/emacs-21.3/lib-src/../src -Wl,-bbig
toc -L/usr/X11R6/lib -D_BSD -g -O2 -o test-distrib /emacs/e
macs-21.3/lib-src/test-distrib.c
In file included from /usr/include/sys/wait.h:57,
from /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix43-0
10414/include/stdlib.h:233,
from ../src/config.h:534,
from /emacs/emacs-21.3/lib-src/test-distrib.c
:23:
/usr/include/sys/signal.h:1102: macro `sigsetmask' used without args
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
------------------
/emacs/emacs-21.3>make
if [ ! -f /emacs/emacs-21.3/lisp/abbrev.elc ]; then m
ake bootstrap; fi
cd lib-src; make all CC='gcc' CFLAGS='-g -O2 ' CPPFLAGS='-D_BSD ' LD
FLAGS='-Wl,-bbigtoc -L/usr/X11R6/lib' MAKE='make'
gcc -D_BSD -DHAVE_CONFIG_H -I. -I../src -I/emacs/e
macs-21.3/lib-src -I/emacs/emacs-21.3/lib-src/../src -Wl,-bbig
toc -L/usr/X11R6/lib -D_BSD -g -O2 -o test-distrib /emacs/e
macs-21.3/lib-src/test-distrib.c
In file included from /usr/include/sys/wait.h:57,
from /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix43-0
10414/include/stdlib.h:233,
from ../src/config.h:534,
from /emacs/emacs-21.3/lib-src/test-distrib.c
:23:
/usr/include/sys/signal.h:1102: macro `sigsetmask' used without args
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
|
把configure出来的config文件删掉重新执行./configure看看呢?
|
up
|
不能定义-D_BSD吧???大概是由于条件编译的情况,把sigsetmask()参数列表定义没有加上。