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

Luajit compiling failed because gcc-multilib was not installed #2058

Closed
alexandruchirita4192 opened this issue Feb 25, 2018 · 4 comments
Closed

Comments

@alexandruchirita4192
Copy link

Could not compile "luajit" package on Debian 9 because cdefs.h was missing on the system because gcc-multilib-dev was not installed (but the package was not found in the dependencies list for mxe).

I installed the gcc-multilib (and g++-multilib because of excess of zeal) and the package build worked perfectly.

@tonytheodore
Copy link
Member

You'll also need libc6-dev-i386 for some other packages, check the requirements:
http://mxe.cc/#requirements-debian

@alexandruchirita4192
Copy link
Author

Sorry. I didn't see the comment for 64 bit Debian. Thank you.

@alexandruchirita4192
Copy link
Author

There was the following paragraph I missed:
"On 64-bit Debian, install also:
apt-get install g++-multilib libc6-dev-i386"

@tonytheodore
Copy link
Member

I think 64-bit systems are the default these days, and I'm not even sure if MXE can be built with the amount of virtual memory on 32-bit systems.

I've changed the docs for 64-bit to be the default case.

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