I just tried installing and running imake (xmkmf) and was disappointed when I got (full messages):
I wrote this Imakefile to build my xwindows code:
Which, works fine on my mac. But, when I tried to run it on freebsd, I had to first install imake, which I did, and then run it, which resulted in the space X11 space rules stuff above.
I searched around the system for some other imake files and found them, they all produced the same ' X11 .rules' file not found error.
Anybody know wazzup?
Code:
/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
^~~~~~~~~~~
<scratch space>:3:1: note: expanded from here
< X11 .rules>
^~~~~~~~~~~~~
1 warning and 1 error generated.
imake: Exit code 1.
Stop.
I wrote this Imakefile to build my xwindows code:
Code:
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
SRCS1= basicwin.c
OBJS1= basicwin.o
PROGRAMS = basicwin
all:: $(PROGRAMS)
LOCAL_LIBRARIES = $(XLIB)
NormalProgramTarget(basicwin,$(OBJS1),,$(LOCAL_LIBRARIES),)
Which, works fine on my mac. But, when I tried to run it on freebsd, I had to first install imake, which I did, and then run it, which resulted in the space X11 space rules stuff above.
I searched around the system for some other imake files and found them, they all produced the same ' X11 .rules' file not found error.
Anybody know wazzup?