当前位置: 技术问答>linux和unix
AIX上安装GNU make
来源: 互联网 发布时间:2016-01-03
本文导语: 小弟最近在安装GNU make 在AIX 5.3环境上,按照操作 1.sh configure 2.make 3.make test 结果得到如下的错误结果,中间正确的忽略掉了: # make check Making check in glob Target "check" is up to date. Making check in config Target "check" ...
小弟最近在安装GNU make 在AIX 5.3环境上,按照操作
1.sh configure
2.make
3.make test
结果得到如下的错误结果,中间正确的忽略掉了:
# make check
Making check in glob
Target "check" is up to date.
Making check in config
Target "check" is up to date.
Making check in po
Target "check" is up to date.
Making check in doc
Target "check" is up to date.
make loadavg
Target "loadavg" is up to date.
make check-local
cd tests && perl ./run_make_tests.pl -make ../make
------------------------------------------------------------------------------
Running tests for GNU make on AIX TESTSERVER 3 000A66CAD600
GNU Make 3.81
------------------------------------------------------------------------------
Clearing work...
Finding tests...
functions/realpath ...................................... Error running /make-3.81/tests/../make (expected 0; got 512): /make-3.81/tests/../make -f work/functions/realpath.mk
FAILED (1/2 passed)
options/dash-l .......................................... FAILED (0/1 passed)
2 Tests in 2 Categories Failed (See .diff files in work dir for details) :-(
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 2.
Stop.
make: The error code from the last command is 1.
Stop.
另外,gcc的环境信息如下:
# gcc -v
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0
Thread model: aix
gcc version 4.0.0
该如何解决呢?!请指教
1.sh configure
2.make
3.make test
结果得到如下的错误结果,中间正确的忽略掉了:
# make check
Making check in glob
Target "check" is up to date.
Making check in config
Target "check" is up to date.
Making check in po
Target "check" is up to date.
Making check in doc
Target "check" is up to date.
make loadavg
Target "loadavg" is up to date.
make check-local
cd tests && perl ./run_make_tests.pl -make ../make
------------------------------------------------------------------------------
Running tests for GNU make on AIX TESTSERVER 3 000A66CAD600
GNU Make 3.81
------------------------------------------------------------------------------
Clearing work...
Finding tests...
functions/realpath ...................................... Error running /make-3.81/tests/../make (expected 0; got 512): /make-3.81/tests/../make -f work/functions/realpath.mk
FAILED (1/2 passed)
options/dash-l .......................................... FAILED (0/1 passed)
2 Tests in 2 Categories Failed (See .diff files in work dir for details) :-(
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 2.
Stop.
make: The error code from the last command is 1.
Stop.
另外,gcc的环境信息如下:
# gcc -v
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0
Thread model: aix
gcc version 4.0.0
该如何解决呢?!请指教
|
aix 下自己带有一个make,一般情况下,你安装了GNU make,如果没有指定路径,也没法用GNU make,GNU make 一般会安装到/usr/local/bin或/opt/freeware/bin下,系统默认会用/usr/bin下的make。
如果需要安装GNU make ,可以直接到ibm 的网站下载rpm包进行安装。
for aix 5.1以上版本的下载地址:
ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/make/make-3.80-1.aix5.1.ppc.rpm
如果需要安装GNU make ,可以直接到ibm 的网站下载rpm包进行安装。
for aix 5.1以上版本的下载地址:
ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/make/make-3.80-1.aix5.1.ppc.rpm
|
我以前也装过,太痛苦了,当时搞得fierygnu也跟着我郁闷
建议你直接用AIX的安装盘,然后用smit安装,一步到位,很爽
建议你直接用AIX的安装盘,然后用smit安装,一步到位,很爽
|
打开文件run_make_tests.pl看错到那一步。
|
没用过aix,会不会不是make的问题,而是perl呢?仅供参考。
另,问个问题,怎么弄aix的虚拟机啊?
另,问个问题,怎么弄aix的虚拟机啊?
|
to:mayabin
AIX 没有虚拟机啊。
AIX用的是powerpc,在x86上根本不能运行的,怎么装虚拟机?
AIX 没有虚拟机啊。
AIX用的是powerpc,在x86上根本不能运行的,怎么装虚拟机?