Я пытаюсь установить Yum на моем Mac. Это то, что я делаю.
tar -xvzf yum-2.0.7.tar.gz
cd yum-2.0.7
./configure
make
sudo make install
Последняя команда sudo make install
сталкивается с ошибками ниже:
make -C .. installdirs
./mkinstalldirs /usr/bin /etc /usr/share/yum /usr/man/man8 /usr/man/man5 /var/cache/yum/
/usr/bin/install -c -m 644 ../docs/yum.8 /usr/man/man8/yum.8
/usr/bin/install -c -m 644 ../docs/yum-arch.8 /usr/man/man8/yum-arch.8
/usr/bin/install -c -m 644 ../docs/yum.conf.5 /usr/man/man5/yum.conf.5
/usr/bin/install: illegal option -- -
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
/usr/bin/install: illegal option -- -
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
/usr/bin/install: illegal option -- -
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
/usr/bin/install: illegal option -- -
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
make[1]: *** [install] Error 64
make: *** [install] Error 2
И когда я запускаю команду yum, она говорит
File "/usr/bin/yum", line 22, in <module>
import yummain
File "/usr/share/yum/yummain.py", line 22, in <module>
import clientStuff
File "/usr/share/yum/clientStuff.py", line 18, in <module>
import rpm
ImportError: No module named rpm
Может кто-нибудь, пожалуйста, помогите мне исправить это.
Большое спасибо.