錯誤問題 (FreeBSD 7)
123
tar: Unrecognized archive format: Inappropriate file type or formattar: Error exit delayed from previous errors.*** Error code 1
可以嘗試
12345678910111213141516171819202122232425
# 更新 libtool >= 2.4cd /usr/ports/devel/libtoolmake reinstall# 移除 TAR 的指向,和編譯設置unsetenv TARvim /etc/make.conf # TAR=/usr/bin/bsdtar MAKE_JOBS_UNSAFE=yes# 安裝 libarchivecd /usr/ports/archivers/libarchivemake install# 建立軟連結ln -sf /usr/local/bin/bsdtar /usr/bin/tar# 測試版本bsdtar 3.1.2 - libarchive 3.1.2# 如果在安裝 libarchive 時出現錯誤可以嘗試make cleanmake rmconfigmake ac_cv_header_spawn_h=no MAKE_JOBS_UNSAFE=yes