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

dosbox-x 0.83.14 - Build error at autogen stage: "31: error: required file 'minizip.pc.in' not found" #2614

Open
GvMariani opened this issue Jun 24, 2021 · 0 comments

Comments

@GvMariani
Copy link

Describe the bug
Trying to build dosbox-x sources on x86_64, using gcc 11.1.0, autoconf 2.69 and automake 1.16.3.
The build process fails while running autogen.sh to generate the configure file, with this error message:
+ automake -a --foreign configure.ac:7: installing './compile' configure.ac:7: installing './config.guess' configure.ac:7: installing './config.sub' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' configure.ac:31: error: required file 'minizip.pc.in' not found Makefile.am: installing './depcomp'.

I noticed that minizip source are located in vs2015/zlib/contrib/minizip, so I guessed that it was mainly windows stuff and tried to work around the issue by simply creating an empy "minizip.pc.in" file in the above directory.
This allowed the build process to proceed a little further, until it stopped with a new error message:
+ automake -a --foreign configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found. configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE, configure.ac: that aclocal.m4 is present in the top-level directory, configure.ac: and that aclocal.m4 was recently regenerated (using aclocal) automake: error: no 'Makefile.am' found for any configure output.

To Reproduce
Steps to reproduce the behavior:

  1. Take the sources and unpack them
  2. In a console, go in the source dir
  3. From here run "autogen.sh"
  4. Look for the first error message

Expected behavior
Successfully build dosbox-x

Screenshots
N/A

Environment (please complete the following information):

  • Operating system: ROSA Linux Fresh R11.1 (a niche Mandriva derivative)
  • DOSBox-X release version this issue occurred on: 0.83.14 (sources from GitHub)
  • Used configuration: N/A

Additional context
Complete log file with the original issue:
BuildError.txt

Complete log file after the (non-working) work-around:
BuildError2.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants