FreeBSD: Python 2.7을 설치할 수 없습니다.

FreeBSD: Python 2.7을 설치할 수 없습니다.

내 FreeBSD 시스템에 Python 2.7을 설치할 수 없는 것 같습니다. 다음은 몇 가지 정보입니다.

# portsnap update
Ports tree is already up to date.

버전:

# uname -r
7.1-RELEASE

설치:

# cd /usr/ports/lang/python27/
# make
===>  Found saved configuration for python27-2.7.5_1
=> Python-2.7.5.tar.xz doesn't seem to exist in /usr/ports/distfiles/python.
=> Attempting to fetch ftp://ftp.lv.freebsd.org/pub/FreeBSD/distfiles/python/Python-2.7.5.tar.xz
Python-2.7.5.tar.xz                           100% of    9 MB  159 kBps 00m00s
===> Fetching all distfiles required by python27-2.7.5_1 for building
===>  Extracting for python27-2.7.5_1
=> SHA256 Checksum OK for python/Python-2.7.5.tar.xz.
===>   python27-2.7.5_1 depends on file: /usr/local/bin/xz - found
tar: Unrecognized archive format: Inappropriate file type or format
tar: Error exit delayed from previous errors.
*** Error code 1

Stop in /usr/ports/lang/python27.
*** Error code 1

Stop in /usr/ports/lang/python27.

어떤 도움이라도 높이 평가됩니다.

답변1

더 이상 사용되지 않는 릴리스의 증상일 가능성이 높습니다. 버전 7에는 tar.xz 확장자를 처리할 수 없는 이전 패키지가 있습니다. 포트에서 설치한 다음 libarchivelibarchives tar 를 .TAR=/usr/local/bin/bsdtar/etc/make.confbsdtar

관련 정보