ctypes.sh icon indicating copy to clipboard operation
ctypes.sh copied to clipboard

Dependencies for Struct support on Ubuntu 18.04

Open w-barath opened this issue 6 years ago • 2 comments

Here's what I needed to install before ctypes.sh would compile and pass all test in /tests folder:

# mandatory to built ctypes.sh without Structs:
sudo apt install autoconf libffi-dev libltdl-dev automake libtool

above are mandatory for ./autogen.sh to build ./configure

# mandatory to build ctypes.sh with Structs:
sudo apt install libdw-dev libelf-dev

The build script states that the failure is a lack of elfutils when actually it's a lack of libdwfl.h

The error would be much more helpful if it reported what the actual failure was instead of reporting the name of a package which it mistakenly assumes will bring in what's missing.

w-barath avatar May 28 '18 03:05 w-barath

What would be the alternative for macos?

RakibFiha avatar Aug 06 '19 16:08 RakibFiha

You should be able to build it for MacOS as well using homebrew. Sorry but it's been a long time since I built anything on MacOS, but you should be able to follow the missing library errors and use that to search which brews to install, until it will eventually build.

w-barath avatar Aug 21 '19 01:08 w-barath