Linux マシンにthrift パッケージを構成してインストールしました。現在、ARM 用に thrift をクロスコンパイルしようとしています。
私が従った手順は次のとおりです。
- thrift パッケージを untar します
- を使用して構成し
./configure --host=arm-linux-gnueabi --without-java --without-python --with-c_glib --with-cpp
ますが、これを行っていると、次のエラーが発生します
checking for boostlib >= 1.54.0... yes checking for libevent >= 1.0... configure: error: in '/home/deeraj/arm_thrift': configure: error: cannot run test program while cross compiling See 'config.log' for more details
これを克服するために、ファイル内のAC_RUN_IFELSE
とをに置き換えました。この後、私はAC_LINK_IFELSE
aclocal/ax_lib_event.m4
aclocal/ax_lib_zlib.m4
autoconf
もう一度実行する./configure --host=arm-linux-gnueabi --without-java --without-python --with-c_glib --with-cpp
と、次のエラーが発生しました。
checking for setsockopt in -lsocket... no
checking for BN_init in -lcrypto... no
configure: error: "Error: libcrypto required."
を既にインストールしていlibssl-dev
ますが、エラーが解消されません。
この問題を解決し、クロス コンパイルして ARM 用の thrift をインストールするにはどうすればよいでしょうか?