如何在Solaris10上从源代码安装libffi和binutils?
我将在Solaris 10上安装libffi,而无需root访问权限。这用于安装cffi,然后在以后使用Python 3.6的pip安装Jupyter。我在构建过程中遇到了一些错误,请帮助。谢谢如何在Solaris10上从源代码安装libffi和binutils?,binutils,solaris-10,libffi,Binutils,Solaris 10,Libffi,我将在Solaris 10上安装libffi,而无需root访问权限。这用于安装cffi,然后在以后使用Python 3.6的pip安装Jupyter。我在构建过程中遇到了一些错误,请帮助。谢谢 uname-a的输出是SunOS 5.10通用_150400-63 sun4v sparc 我下载了libffi-3.3并使用/configure--prefix=XXXX和make构建了它,但出现了错误: 正如libffi所介绍的,“SPARC Solaris构建需要使用GNU汇编程序和链接器。在配置
uname-a
的输出是SunOS 5.10通用_150400-63 sun4v sparc
/configure--prefix=XXXX
和make
构建了它,但出现了错误:/configure--prefix=XXXX
和make
或make
安装所有binutils目标或仅安装gas或ld,但总是出现错误rm-f邮票-h1
/bin/bash./config.status config.h
config.status:正在创建config.h
config.status:config.h保持不变
测试-f config.h | |(rm-f stamp-h1和make stamp-h1)
...
...
/usr/bin/sed-e s/NN/32/g<>elf32目标.h
bash:-c:第0行:意外标记“>”附近出现语法错误
***错误代码2
make:致命错误:目标'elf32 target.h'的命令失败
...
...
make:致命错误:目标“所有bfd”的命令失败
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -Wall -fexceptions -DSPARC -E -x assembler-with-cpp -o libffi.map
gcc: warning: `-x assembler-with-cpp' after last input file has no effect
gcc: no input files
*** Error code 1
make: Fatal error: Command failed for target `libffi.map'
...
...
rm -f stamp-h1
/bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
...
...
/usr/bin/sed -e s/NN/32/g < > elf32-target.h
bash: -c: line 0: syntax error near unexpected token `>'
*** Error code 2
make: Fatal error: Command failed for target `elf32-target.h'
...
...
make: Fatal error: Command failed for target `all-bfd'