Skip to content

WIP: Build fails if not done from the source root directory (#105)

Volker Simonis requested to merge simonis/procps:master into master

Fix for #105 (closed)

Say my sources are under ./procps and I create a new directory ./procps_obj and call configure and make from there the build will fail with:

  CC       watch-watch.o
In file included from ../procps/watch.c:33:0:
../procps/include/nls.h:9:23: fatal error: ../config.h: No such file or directory
 #include "../config.h"

The cause is easy to fix - procps/include/nls.h should simply include "config.h" instead of "../config.h".

Merge request reports