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

conftest.cpp:28:10: fatal error: ac_nonexistent.h: No such file or directory #1579

Open
LY-sudo-beep opened this issue Apr 26, 2021 · 1 comment
Labels

Comments

@LY-sudo-beep
Copy link

When installing SMF dependencies in OAI, nghttp2 reports an error:

checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
checking consistency of all components of python development environment... no
configure: error: in `/home/ly/oai-cn5g-smf/build/ext/nghttp2':
configure: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LIBS environment variable.
Example: ./configure LIBS="-L/usr/non-standard-path/python/lib"

ERROR!
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.

See `config.log' for more details
/tmp

After viewing the log information, I found:

| #define VERSION "1.44.0-DEV"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:14114: result: g++ -E
configure:14134: g++ -E conftest.cpp
configure:14134: $? = 0
configure:14148: g++ -E conftest.cpp
conftest.cpp:28:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:14148: $? = 1

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant