This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: More xrn build woes
- From: Nicholas Wourms <nwourms at yahoo dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 16 Aug 2002 10:02:41 -0700 (PDT)
- Subject: Re: More xrn build woes
- Reply-to: cygwin-xfree at cygwin dot com
--- news@garydjones.mailshell.com wrote:
> Hmm. I'm still trying to build xrn.
>
> $ xmkmf
> mv -f Makefile Makefile.bak
> imake -DUseInstalled -I/usr/X11R6/lib/X11/config
> In file included from /usr/X11R6/lib/X11/config/Imake.tmpl:1845,
> from Imakefile.c:9:
> /tmp/IIf.576279:312: unterminated `#ifdef' conditional
> imake: Exit code 1.
> Stop.
>
> However:
> $ cat -n /usr/X11R6/lib/X11/config/Imake.tmpl
> [snip]
> 1843 XCOMM
>
----------------------------------------------------------------------
> 1844 XCOMM start of Imakefile
> 1845 #include INCLUDE_IMAKEFILE
> [snip]
>
> $ cat -n Imakefile
> [snip]
> 312 #ifdef MOTIF
> 313 TKSED= -e 's/MOTIF//' -e '/XAW/d' -e
> 's/notify()/Activate()/' \
> 314 -e 's/unset()/Disarm()/' -e 's/set()/Arm()/' \
> 315 -e 's/\([*.]\)label:/\1labelString:/' \
> 316 -e 's/no-op(RingBell/beep(/' \
> 317 -e 's/\.\([^.]*\)\.baseTranslations/*\1*translations/' \
> 318 -e 's/baseTranslations/translations/' \
> 319 -e 's/>Down/>osfDown/' -e 's/>Up/>osfUp/' \
> 320 -e 's/>Left/>osfLeft/' -e 's/>Right/>osfRight/'
> 321 #else
> 322 TKSED= -e 's/XAW//' -e '/MOTIF/d'
> 323 #endif
> [snip]
In regard to your issue, it is most likely that the unterminated if
statement is happening much earlier, the preprocessor just realizes
it at that line. Also, you should probably be using 'xmkmf -a'.
Other then that, I really can't think of anything else. You'll just
have to go through every statement to make sure it's kosher. Perhaps
someone else has an idea...
Cheers,
Nicholas
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com