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

pkg-config macros not included in upgraded autotools-1.16 aclocal directory #731

Open
brenns10 opened this issue Aug 17, 2020 · 0 comments

Comments

@brenns10
Copy link

Hello,

While using the manylinux images, I started getting errors like this during autoreconf -fiv:

configure.ac:1: error: possibly undefined macro: dnl
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:76: error: possibly undefined macro: AC_SEARCH_LIBS
configure:14375: error: *** pkg.m4 missing, please install pkg-config
configure:14376: error: possibly undefined macro: AS_VAR_SET

It appears that the pkgconfig package includes the following macro file for autotools:

# repoquery --list pkgconfig | grep m4
/usr/share/aclocal/pkg.m4

But the upgraded version of autotools stores its macros at /usr/local/share/aclocal-1.16/. The autoreconf will succeed if you first copy the pkg.m4 file into the proper directory:

# cp /usr/share/aclocal/pkg.m4 /usr/local/share/aclocal-1.16/

Maybe this should be done while building the image so that autotools works transparently with pkg-config?

@brenns10 brenns10 changed the title pkg-config macros not included in upgrade autotools aclocal directory pkg-config macros not included in upgraded autotools-1.16 aclocal directory Aug 17, 2020
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

1 participant