Imake fails

Vlad D. Markov dvoich at
Wed Sep 18 19:25:19 UTC 2019

I was hoping to build xpat2 but Imake fails. I've had no issues doing the same thing using Debian.

Any ideas how to fix this?

happy$ xmkmf -a
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/local/lib/X11/config
In file included from Imakefile.c:15:
In file included from /usr/local/lib/X11/config/Imake.tmpl:316:
/usr/local/lib/X11/config/Imake.rules:1674:27: warning: empty character constant [-Winvalid-pp-token]
        for flag in ${MAKEFLAGS} ''; do \                               @@\
In file included from Imakefile.c:15:
/usr/local/lib/X11/config/Imake.tmpl:2144:10: fatal error: ' X11 .rules' file not found
#include ProjectRulesFile
/usr/local/lib/X11/config/Imake.tmpl:2142:35: note: expanded from macro 'ProjectRulesFile'
# define ProjectRulesFile       Concat3(<,TopLevelProject,.rules>)
/usr/local/lib/X11/config/Imake.rules:256:23: note: expanded from macro 'Concat3'
#define Concat3(a,b,c)a/**/b/**/c
1 warning and 1 error generated.
imake: Exit code 1.


More information about the freebsd-questions mailing list