1

I am stuck in compiling Thrift. I passed the ./Configure --host=arm process but was stuck in compiling with the Command "make". I have no idea how to solve that.

I went into the Makefile to make sure the path but still cannot solve it.

Ronald Yin
  • 11
  • 1

1 Answers1

0

It looks like you're missing a library, you can install it using the instructions here: How to install Boost on Ubuntu or here (see the final comment) Could NOT find Boost (missing: unit_test_framework) (found version "1.71.0")

michaelt
  • 56
  • 6
  • 1
    sudo apt-get install automake bison flex g++ git libboost-all-dev libevent-dev libssl-dev libtool make pkg-config I ran this command before the ./configure actually – Ronald Yin Jun 12 '23 at 20:47
  • You will have want to locate where libboost is installed and specify it manually... first check /usr/lib (it shouldn't be there, but not a bad idea to check). There is documentation here on how to specify the location of libboost, as sometimes it's in /usr/local apparently : https://thrift.apache.org/docs/BuildingFromSource – michaelt Jun 14 '23 at 17:15
  • I have to remind myself things may be more complicated on ARM. I didn't have any issues: checking out the latest ( https://thrift.apache.org/download ), installing the deps `sudo apt-get install automake bison flex g++ git libboost-all-dev libevent-dev libssl-dev libtool make pkg-config`, running bootstrap.sh, then running ./configure in ubuntu on an x86. – michaelt Jun 14 '23 at 20:09
  • If you've gone through those steps and it's giving you this issue, the only difference is I'm running on an x86 and your running on arm. Which may mean libboost didn't install as a result, or it's placed somewhere that needs to be referenced directly in the configuration call. If the order of installing the dependencies is different (like you started with bootstrap.sh->configure before installing the dependencies), then you may want to delete your configure file and regenerate it using bootstrap.sh . – michaelt Jun 14 '23 at 20:09
  • Thank you so much, sir. I will try this week. – Ronald Yin Jun 16 '23 at 14:54