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

Unable to build and install from source #2

Open
maximumspatium opened this issue Jun 7, 2022 · 1 comment
Open

Unable to build and install from source #2

maximumspatium opened this issue Jun 7, 2022 · 1 comment

Comments

@maximumspatium
Copy link

@cnvogelg

I'm trying to install bare68k from a local repository using the following commands:

$ python setup.py install
$ python setup.py develop --user

Neither command works. I'm getting the following error:

/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -I/opt/local/libexec/openssl11/include -Os -Ibare68k/machine_src -Ibare68k/machine_src/musashi -Ibare68k/machine_src/glue -Ibare68k/machine_src/gen -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c bare68k/machine.c -o build/temp.macosx-10.13-x86_64-3.6/bare68k/machine.o
clang: error: no such file or directory: 'bare68k/machine.c'
clang: error: no input files
error: command '/usr/bin/clang' failed with exit status 1

I'm running Python 3.6.15 and clang 11 under Mac OS 10.13.

What's wrong?

@GoldenPalazzo
Copy link

Beforehand I suggest you to get in a virtual environment (at least for the build).

By executing these commands

pip3 install -r requirements-dev.txt
pip3 install setuptools
python3 setup.py build_ext -i
python3 setup.py sdist
python3 setup.py bdist_wheel

I had zero issues.

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