This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jpelizza
Recipients eric.smith, jpelizza
Date 2020-05-20.07:46:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1589960783.21.0.570172074014.issue40642@roundup.psfhosted.org>
In-reply-to
Content
In hindsight I provided absolutely nothing, new to this, bound to make dumb mistakes.

Compiler error:

In file included from /usr/include/python3.8/pystate.h:129,
                 from /usr/include/python3.8/genobject.h:11,
                 from /usr/include/python3.8/Python.h:121,
                 from cpppython.cpp:2:
/usr/include/python3.8/cpython/pystate.h:9:10: fatal error: cpython/initconfig.h: No such file or directory
    9 | #include "cpython/initconfig.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Compiler version:
gcc version 9.3.0 (Arch Linux 9.3.0-1)

About the change, yeah "initconfig.h" and the other one are the same, if it is a real problem then there is no need for "./"

After changing it to just "initconfig.h" the code compiled normally. From my understanding since initconfig.h is already inside the folder cpython using "cpython/initconfig.h" will try to look for another cpython folder inside the cpython folder and then look for initconfig thus the error.
History
Date User Action Args
2020-05-20 07:46:23jpelizzasetrecipients: + jpelizza, eric.smith
2020-05-20 07:46:23jpelizzasetmessageid: <1589960783.21.0.570172074014.issue40642@roundup.psfhosted.org>
2020-05-20 07:46:23jpelizzalinkissue40642 messages
2020-05-20 07:46:22jpelizzacreate