This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Building Bedrockdb in cygwin
Csaba Ráduly, on Tuesday, May 14, 2019 06:17 PM, wrote...
>On 14/05/2019 19:11, Jose Isaias Cabrera wrote:
[clip]
>You need to run make like this:
>
>CC=gcc GXX=g++ make <whatever arguments you gave to make, if any>
>
>This will force make to use g++ instead of g++-6
Thanks, this works, but I think I have other dependencies. This is what I now have,
$ CC=gcc GXX=g++ make
g++ -g -std=c++14 -fpic -O2 -Wall -Werror -Wformat-security -DGIT_REVISION=ce62c88 -I/home/e608313/Bedrock -I/home/e608313/Bedrock/mbedtls/include -MMD -MF libstuff/libstuff.d -MT libstuff/libstuff.h.gch -c libstuff/libstuff.h
libstuff/libstuff.h:7:10: fatal error: execinfo.h: No such file or directory
#include <execinfo.h> // for backtrace
^~~~~~~~~~~~
compilation terminated.
make: *** No rule to make target 'libstuff/libstuff.d', needed by '.build/libstuff/libstuff.d'. Stop.
I did a search on the web on both duckduckgo and google and there is nothing out there. I can tell you that to build bedrockdb in Ubuntu, you need these steps,
==begin
# Clone out this repo:
git clone https://github.com/Expensify/Bedrock.git
# Install some dependencies
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-6 g++-6 libpcre++-dev zlib1g-dev
# Build it
cd Bedrock
make
==end
I went and grabbed all the libpcre* and zlib* from cygwin, but I don't know what toolchain is in cygwin. So, libstuff must be a special file that I don't seem to find on the web. However, there are some execinfo.h hits, but for different applications. Any thoughts? I will go back to the bedrockdb team and see what they say. Thanks for any input.
josé
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple