stephenrkell / libdwarfpp

A high-level API for accessing DWARF debugging information, in C++
http://www.cl.cam.ac.uk/~srk31/
Other
23 stars 12 forks source link

`make install` fails on Fedora Linux x86_64 #18

Open agentzh opened 4 years ago

agentzh commented 4 years ago

Got the following error in the make install step on Fedora Linux x86_64 systems:

 /usr/bin/mkdir -p 'examples'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c examples/core-query examples/dwarfppdump examples/print_spec examples/sranges examples/subseq examples/eh-frame-hdr 'examples'
Usage: /home/agentzh/git/libdwarfpp/libtool [OPTION]... [MODE-ARG]...
Try 'libtool --help' for more information.
libtool:   error: 'examples' must be an absolute directory name
make[2]: *** [Makefile:597: install-examplesPROGRAMS] Error 1
make[2]: Leaving directory '/home/agentzh/git/libdwarfpp'
make[1]: *** [Makefile:1024: install-am] Error 2
make[1]: Leaving directory '/home/agentzh/git/libdwarfpp'
make: *** [Makefile:1018: install] Error 2

I had to patch the Makefile and remove the examples stuff myself to let it go through.