- 论坛徽章:
- 0
|
照这个文档做了,axel顺利安装上了,但是aria2在gmake的时候报错,麻烦帮看看是什么原因:
-bash-3.00# gmake
gmake all-recursive
gmake[1]: Entering directory `/btsoft/aria2-1.4.1'
Making all in m4
gmake[2]: Entering directory `/btsoft/aria2-1.4.1/m4'
gmake[3]: Entering directory `/btsoft/aria2-1.4.1'
gmake[3]: Leaving directory `/btsoft/aria2-1.4.1'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/btsoft/aria2-1.4.1/m4'
Making all in po
gmake[2]: Entering directory `/btsoft/aria2-1.4.1/po'
gmake[2]: Leaving directory `/btsoft/aria2-1.4.1/po'
Making all in intl
gmake[2]: Entering directory `/btsoft/aria2-1.4.1/intl'
sed -e '/IN_LIBGLOCALE/d' \
-e 's,@''HAVE_POSIX_PRINTF''@,1,g' \
-e 's,@''HAVE_ASPRINTF''@,0,g' \
-e 's,@''HAVE_SNPRINTF''@,1,g' \
-e 's,@''HAVE_WPRINTF''@,0,g' \
< ./libgnuintl.h.in \
| if test 'no' = yes; then \
sed -e 's/extern \([^()]*\);/extern __declspec (dllimport) \1;/'; \
else \
cat; \
fi \
| sed -e 's/extern \([^"]\)/extern LIBINTL_DLL_EXPORTED \1/' \
-e "/#define _LIBINTL_H/r ./export.h" \
| sed -e 's,@''HAVE_VISIBILITY''@,1,g' \
> libgnuintl.h
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -g -O2 -fvisibility=hidden bindtextdom.c
cc1: error: unrecognized command line option "-fvisibility=hidden"
gmake[2]: *** [bindtextdom.o] Error 1
gmake[2]: Leaving directory `/btsoft/aria2-1.4.1/intl'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/btsoft/aria2-1.4.1'
gmake: *** [all] Error 2 |
|