-
Notifications
You must be signed in to change notification settings - Fork 168
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
How can I install afdko on Cygwin? #748
Comments
The process is getting caught here https://github.com/adobe-type-tools/afdko/blob/develop/setup.py#L212 I'll make some changes to
import platform
print(platform.system()) |
@dadasutasudadas I've issued a new pre-release build. Try again in 30 minutes using this command:
|
@miguelsousa Thank you! (*fileNameList)[i] = (Byte8 *)memNew((entp->d_namlen + 1) * sizeof(Byte8)); Failed building wheel for afdko |
This is the block where the error is occurring: afdko/c/sfntdiff/source/Dsys.c Lines 221 to 252 in 47dc7bc
The d_name part of the error message makes me think it's this line in particular (which is the line before the one shown in the error message):afdko/c/sfntdiff/source/Dsys.c Line 244 in 47dc7bc
|
@dadasutasudadas I'll look into this next week. Need to install Cygwin first to check which afdko's C tools can be compiled on that platform, if any. |
Thank you. I tried doing things that I can do in my environment so I will report it. |
The error that happens when trying to compile sfntdiff is this:
Following the suggestion of renaming |
@miguelsousa A work-around for this problem is described in this issue: rakshasa/rtorrent#163 |
Fixes #748 fix contributed by @cjchapman
@dadasutasudadas I've pushed a fix for the sfntdiff problem and issued a new pre-release build.
|
@miguelsousa Installation was completed successfully. I'm really happy. Thank you so much! |
Good to know. Thanks for your report. |
I am using cygwin. Attempting to install afdko using pip faced the following error. I hope to be able to use afdko on Cygwin. Is there anything I can do now?
$ pip install afdko
Collecting afdko
Downloading https://files.pythonhosted.org/packages/6e/03/8bef8634b242e311f347e5275355b565d912361629202a75abce58c4fd4f/afdko-2.8.5.ta
100% |████████████████████████████████| 13.2MB 225kB/s
Installing build dependencies ... done
Getting requirements to build wheel ... error
Complete output from command /home/Ktsuboi/psautohint_build/bin/python3 /home/Ktsuboi/psautohint_build/lib/python3.6/site-packages/pi
Traceback (most recent call last):
File "/home/Ktsuboi/psautohint_build/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in
main()
File "/home/Ktsuboi/psautohint_build/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/Ktsuboi/psautohint_build/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 54, in get_requires_for_b
return hook(config_settings)
File "/tmp/pip-build-env-69yed0rn/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 130, in get_requires_for_buil
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-69yed0rn/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 112, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-69yed0rn/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 211, in run_setup
self).run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-69yed0rn/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 126, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 274, in
main()
File "setup.py", line 212, in main
"afdko: Do not recognize target OS: {}".format(platform_system))
KeyError: 'afdko: Do not recognize target OS: CYGWIN_NT-10.0'
Command "/home/Ktsuboi/psautohint_build/bin/python3 /home/Ktsuboi/psautohint_build/lib/python3.6/site-packages/pip/_vendor/pep517/_in_pme6tqbxc/afdko
The text was updated successfully, but these errors were encountered: