Subject: Re: kdebase3 configure errors
To: Jeremy C. Reed <reed@reedmedia.net>
From: None <jnr@cwru.edu>
List: tech-pkg
Date: 12/06/2003 10:49:29
this is what config.log says:

configure:35508: checking for xmkmf
configure:35561: result: /usr/X11R6/bin/xmkmf
configure:35569: checking various X settings
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
In file included from /usr/X11R6/lib/X11/config/host.def:2,
                 from /usr/X11R6/lib/X11/config/site.def:44,
                 from /usr/X11R6/lib/X11/config/Imake.tmpl:45,
                 from Imakefile.c:15:
/usr/X11R6/lib/X11/config/OpenMotif.def:4: invalid preprocessing directive #defined
In file included from /usr/X11R6/lib/X11/config/host.def:2,
                 from /usr/X11R6/lib/X11/config/site.def:146,
                 from /usr/X11R6/lib/X11/config/Imake.tmpl:110,
                 from Imakefile.c:15:
/usr/X11R6/lib/X11/config/OpenMotif.def:4: invalid preprocessing directive #defined
/usr/X11R6/bin/imake: Exit code 1.
  Stop.
configure:35622: result: failed
configure:35624: error: /usr/X11R6/bin/xmkmf (imake) failed.
Make sure you have all necessary X development packages installed.


after checking in /usr/X11R6/lib/X11/config/host.def, i found that it only contained one #include for OpenMotif.def  I looked in this file and found:
..snip..
#ifndef TopLevelProject
# defined TopLevelProject        OpenMotif
#endif
..end_snip..

i changed the 'defined' to a 'define' and the compile appears to be working now.

i wonder why i never ran into this problem before? hmmm...

anyway, thanks for pointing me in the right direction.

--joe

----- Original Message -----
From: "Jeremy C. Reed" <reed@reedmedia.net>
Date: Saturday, December 6, 2003 1:06 am
Subject: Re: kdebase3 configure errors

> On Fri, 5 Dec 2003 jnr@cwru.edu wrote:
> 
> > configure: error: /usr/X11R6/bin/xmkmf (imake) failed.
> > Make sure you have all necessary X development packages installed.
> > *** Error code 1
> 
> Does the config.log have more details about this?
> 
>   Jeremy C. Reed
>   http://www.reedmedia.net/
> 
>