1

作業中のプロジェクトにGEOSwiftポッドをインストールしようとしていました。そのポッドの依存関係の 1 つはgeosポッドです。を実行するたびに、次のエラーが発生し続けますpod install

Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Installing GEOSwift (0.3.0)
Installing geos (3.4.2)
[!] /bin/bash -c
set -e

type -P autoconf &>/dev/null || alias autoconf 'xcrun autoconf'
type -P autoheader &>/dev/null || alias autoheader 'xcrun autoheader'
type -P aclocal &>/dev/null || alias aclocal 'xcrun aclocal'
type -P automake &>/dev/null || alias automake 'xcrun automake'
type -P glibtool &>/dev/null || alias glibtool 'xcrun glibtool'
type -P glibtoolize &>/dev/null || alias glibtoolize 'xcrun glibtoolize'

sh autogen.sh
./configure
./tools/svn_repo_revision.sh

sed -i "" "s/\/\* #undef HAVE_INT64_T_64 \*\//#define HAVE_INT64_T_64 1/" include/geos/platform.h
sed -i "" "s/#define HAVE_LONG_INT_64 1/\/\* #undef HAVE_LONG_INT_64 \*\//" include/geos/platform.h

cat <<EOT >> include/geos/platform.h
  #undef ISNAN
  #define ISNAN(x) (std::isnan(x))
EOT

/bin/bash: line 5: alias: aclocal: not found
/bin/bash: line 5: alias: xcrun aclocal: not found
4

1 に答える 1

0

問題は、私が見逃していたいくつかのツールでした。

ターミナルで次のコマンドを実行して問題を修正しました。

  • brew install autoconf
  • brew install automake

sudoそれらの前に追加してパスワードを入力することにより、それらをスーパーユーザーとして実行する必要がある場合があります。

注: Homebrewをまだインストールしていない場合は、次の手順に従ってください: http://brew.sh

于 2015-12-10T05:29:54.757 に答える