###実現したいこと
FreeBSD11.1でportsからglobalをインストールしようとしたのですがpythonが古すぎるとエラーが出てしまいました。環境変数を色々いじったりしてみたのですが、解決しませんでした。解決策ご存知の方回答お願いします。
###エラーメッセージ
make install ===> global-6.6.2 depends on package: perl5>=5.24<5.25 - found ===> Configuring for global-6.6.2 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking whether make sets $(MAKE)... (cached) yes checking for emacs... no checking for xemacs... no checking where .elc files should go... ${datadir}/emacs/site-lisp checking for perl... (cached) /usr/local/bin/perl checking for lid... no checking for ar... ar checking whether /root/local/lib/python3.6 version is >= 2.6... no configure: error: Python interpreter is too old ===> Script "configure" failed unexpectedly. Please report the problem to sunpoet@FreeBSD.org [maintainer] and attach the "/usr/ports/devel/global/work/global-6.6.2/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/global *** Error code 1 Stop. make: stopped in /usr/ports/devel/global
###試したこと
環境変数を
setenv PYTHON /root/local/lib/python3.6
という風に変えてみましたが、エラーに変化はありませんでした。
###補足情報
python --version Python 2.7.14
python3 --version Python 3.6.4
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/07/02 01:12