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

something wrong with ./install.sh #33

Closed
zjyalice opened this issue Nov 6, 2018 · 2 comments
Closed

something wrong with ./install.sh #33

zjyalice opened this issue Nov 6, 2018 · 2 comments

Comments

@zjyalice
Copy link

zjyalice commented Nov 6, 2018

hello! when I execute install.sh,I meet some problems.
codes:
static struct PyModuleDef coviarmodule = { PyModuleDef_HEAD_INIT, "coviar", /* name of module */ NULL, /* module documentation, may be NULL */ -1, /* size of per-interpreter state of the module, or -1 if the module keeps state in global variables. */ CoviarMethods };
and the erroes are:
error: variable 'coviarmodule' has initializer but incomplete type static struct PyModuleDef coviarmodule = { ^ error: variable 'PyModuleDef_HEAD_INIT' undeclared here (not in a function) PyModuleDef_HEAD_INIT, ^
How to solve this problem?
Thanks!

@zjyalice
Copy link
Author

zjyalice commented Nov 7, 2018

I solve this problem!I run the codes in virtualenv enviroument and this environment does not install python3-dev, so the systemcannot find python.h.....
so, I install python-dev and this problem is solved.
And I have a queation. When I bash reencode.sh, does the data need to be unpacked from the tar.gz?

@chaoyuaw
Copy link
Owner

chaoyuaw commented Nov 9, 2018

Yes, reencode.sh doesn't untar the files. It only performs re-encoding. Closing the issue for now, but please feel free to re-open if you have further questions. Thanks!

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