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

bootstrap.sh fails #7

Open
libTorrentUser opened this issue Apr 7, 2023 · 2 comments
Open

bootstrap.sh fails #7

libTorrentUser opened this issue Apr 7, 2023 · 2 comments

Comments

@libTorrentUser
Copy link

I'm trying to build musl-obstack and I'm getting the following error when running bootstrap.sh

Makefile.am:9: error: 'pkgconfig_DATA' is used but 'pkgconfigdir' is undefined

The error disappears If I edit Makefile.am and add something like

pkgconfigdir = $(libdir)/pkgconf

After that, boostrap.sh succeeds and I can execute configure and make without problems.

@Johnnynator
Copy link
Member

The Makefile.am is kinda correct, the problem is, that the configure.ac uses the PKG_INSTALLDIR macro which is not provided by automake or autoconf but by pkg-config. Without any pkg.m4 provided bootstrap.sh fails the way you describe.

@wdlkmpx
Copy link

wdlkmpx commented Jun 17, 2023

This happens to me in an old distro, where pkg.m4 is installed but PKG_INSTALLDIR is not defined, so the solution provided in the first comment is the definitive fix and is exactly what pkg.m4 does when defining the missing macro in a later release

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

3 participants