ianlancetaylor / libbacktrace

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

Building using Git-Bash fails #127

Closed ernstblechaPT closed 4 months ago

ernstblechaPT commented 4 months ago

When I try to build libbacktrace inside git bash I get the following error:

...
make[1]: Leaving directory 'C:/Users/abc/Desktop/forte-setup_deps1/libbacktrace'
make[1]: Entering directory 'C:/Users/abc/Desktop/forte-setup_deps1/libbacktrace'
 /usr/bin/mkdir -p '/c/Users/abc/Desktop/forte-setup_deps1/libbacktrace/archive/gcc/x86_64-linux-gnu/lib'
 C:/Program Files/Git/usr/bin/sh.exe ./libtool   --mode=install /usr/bin/install -c   libbacktrace.la '/c/Users/abc/Desktop/forte-setup_deps1/libbacktrace/archive/gcc/x86_64-linux-gnu/lib'
/usr/bin/sh: line 11: C:/Program: No such file or directory
make[1]: *** [Makefile:1306: install-libLTLIBRARIES] Error 127
make[1]: Leaving directory 'C:/Users/abc/Desktop/forte-setup_deps1/libbacktrace'
make: *** [Makefile:2515: install-am] Error 2
ianlancetaylor commented 4 months ago

I don't know what Git-Bash is, and more importantly the code that seems to be failing does not actually appear in libbacktrace. It's part of libtool or possible automake. I don't think there is anything I can change in libbacktrace to make this work. So, closing. Please comment if you disagree.