ianlancetaylor / libbacktrace

A C library that may be linked into a C/C++ program to produce symbolic backtraces
Other
944 stars 220 forks source link

how can I build and install it? #119

Closed sc0rp10n-py closed 7 months ago

sc0rp10n-py commented 7 months ago

I can't find instructions to use this.

I want to compile this repo and there I get this error

-- Could NOT find LibBacktrace (missing: LIBBACKTRACE_INCLUDE_DIR LIBBACKTRACE_LIBRARY) 
CMake Error at Source/cmake/OptionsGTK.cmake:425 (message):
  libbacktrace is required for USE_LIBBACKTRACE
Call Stack (most recent call first):
  Source/cmake/WebKitCommon.cmake:237 (include)
  CMakeLists.txt:21 (include)

so I have confirmed that they are using this libbacktrace package only

but here in I can't find any instructions to use this, can you help please @ianlancetaylor

please give commands for make, cmake, ninja, etc.

sc0rp10n-py commented 7 months ago

found it

for anyone who comes and face this later on follow this

git clone https://github.com/ianlancetaylor/libbacktrace.git
cd libbacktrace 
mkdir build 
cd build 
./configure 
sudo make 
sudo make install