16

When I type make config in the terminal, the system responds with:

make: *** No rule to make target `config'.  Stop.

Any idea how to fix that problem?

Rui F Ribeiro
  • 56,709
  • 26
  • 150
  • 232
MakaraPr
  • 263

3 Answers3

12

You can't run make config just anywhere - You have to be in a directory which contains a Make file. To verify:

ls Makefile

This file has to contain a target called config:

grep ^config Makefile

(this last command will not match all possible Makefile syntax, but if it's a simple file it should at least show you if there is another target like configure or configuration.)

l0b0
  • 51,350
1

It means that make doesn't know what to do with the config argument. It does not exist. Read the Makefile to determine what you need.

Vinz
  • 2,150
  • 14
  • 16
0

Software configuration on *nix is usually made by running the configure script in the project top-level directory:

cd /path/to/project
./configure

Have you tried that?

l0b0
  • 51,350