libxmp / libxmp/libxmp

libxmp can't be built out-of-tree

Open
#40 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

buildsystem enhancement
Dominant language
C
Stars
392
Forks
82
Avg merge
1d 4h
Merged PRs (30d)
5

Description

As the following "screen capture" shows, libxmp can't be built from a different directory (which is sometimes useful).

$ cd path/to/libxmp
$ mkdir build && cd build
$ ../configure
...
$ make
Makefile:43: docs/Makefile: No such file or directory
Makefile:44: include/Makefile: No such file or directory
Makefile:45: src/Makefile: No such file or directory
Makefile:46: src/loaders/Makefile: No such file or directory
Makefile:47: src/loaders/prowizard/Makefile: No such file or directory
Makefile:48: src/depackers/Makefile: No such file or directory
Makefile:49: src/win32/Makefile: No such file or directory
Makefile:50: test/Makefile: No such file or directory
make: *** No rule to make target 'test/Makefile'.  Stop.
make: *** Waiting for unfinished jobs....
Building dependencies...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure from a separate build directory with ../configure followed by make. Inspect the generated Makefile and its references to docs/Makefile, include/Makefile, src/Makefile, and the other listed subdirectories. Done means an out-of-tree configuration and build completes without missing-Makefile errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.