Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

(Migrated from Ubuntu forums.)

I'm somewhat new at building, so I'm hoping this is an easy explanation.

Downloaded Nautilus source to patch for transparent background.

Patching went well and fine.

During building I received this:

Making all in libnautilus-private
make[2]: Entering directory `/home/[x]/nautilus-2.32.0/libnautilus-private'
  GEN    nautilus-marshal.h
  GEN    nautilus-marshal-guts.c
  CC     nautilus-autorun.lo
gcc: @APP_INDICATOR_CFLAGS@: No such file or directory
make[2]: *** [nautilus-autorun.lo] Error 1
make[2]: Leaving directory `/home/[x]/nautilus-2.32.0/libnautilus-private'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/[x]/nautilus-2.32.0'
make: *** [all] Error 2
share|improve this question

I'm not very good at debugging build issues either but here goes.

I can tell you that this is caused by the Debian patch 89_use_application_indicator.patch which references

Apparently @APP_INDICATOR_CFLAGS@ from libnautilus-private/ is not properly substituted with the output from pkg-config --cflags --libs appindicator-0.1. It's likely that after applying the distribution patches you forgot to run autoreconf.

Simply run autoreconf and run make again. This will update to substitute APP_INDICATOR_CFLAGS.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.