[comp.soft-sys.andrew] Imake hassles

cameron@cs.flinders.oz.au (Cameron Humphries) (08/20/90)

I am trying to build Andrew.p6 on a Sun4 under SunOS 4.1 (anybody have
any problems doing this??) and I came across a problem with imake.

The file ./config/andrew.rls provides the macro
DependTarget(dependencies) however the Imakefiles in ./overhead/sys
and ./overhead/addalias use the macro without an argument. This
causes imake to bomb out real early in the build. There may be other
Imakefiles that use this macro but I haven't looked that far.

Suggestions?

-Cameron

Cameron Humphries
Discipline of Computer Science                 email: cameron@cs.flinders.oz.au
School of Information Science and Technology   phone: +61 +8 201 2874
The Flinders University of South Australia     fax  : +61 +8 201 2904

gk5g+@ANDREW.CMU.EDU (Gary Keim) (08/20/90)

Excerpts from misc: 20-Aug-90 Imake hassles. Cameron Humphries@cs.fli (713)

> The file ./config/andrew.rls provides the macro
> DependTarget(dependencies) however the Imakefiles in ./overhead/sys
> and ./overhead/addalias use the macro without an argument. This
> causes imake to bomb out real early in the build.

From a version of imake.c I have here:

#if defined(sun) || defined(hpux) || defined(AIXV3)
#define REDUCED_TO_ASCII_SPACE
#endif
#ifdef REDUCED_TO_ASCII_SPACE
int   InRule = FALSE;
#endif

/*
 * Some versions of cpp reduce all tabs in macro expansion to a single
 * space.  In addition, the escaped newline may be replaced with a
 * space instead of being deleted.  Blech.
 */
#ifndef REDUCED_TO_ASCII_SPACE
#define KludgeOutputLine(arg)
#define KludgeResetRule()
#endif

Find out what version of imake your're using.  I've been told that the
version on the Xtape works when compiled straight off the tape..

Gary Keim
ATK Group