Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependencies for Struct support on Ubuntu 18.04 #47

Open
w-barath opened this issue May 28, 2018 · 2 comments
Open

Dependencies for Struct support on Ubuntu 18.04 #47

w-barath opened this issue May 28, 2018 · 2 comments

Comments

@w-barath
Copy link

w-barath commented May 28, 2018

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.

@RakibFiha
Copy link

What would be the alternative for macos?

@w-barath
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants