Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Imakefile problems
@ 1998-08-10 21:13 Brian E.W. Wood
  1998-08-11  6:09 ` Jochen Kuepper
  0 siblings, 1 reply; 5+ messages in thread
From: Brian E.W. Wood @ 1998-08-10 21:13 UTC (permalink / raw)
  To: axp-list


I'm trying to compile a program (siag) which uses an Imakefile. On my first
attempt I got to run xmkmf I got:

imake -DUseInstalled -I/usr/X11R6/lib/X11/config
imake: No such file or directory
imake: Cannot exec /lib/cpp.
  Stop.
imake: Exit code 1.
  Stop.  

So I created a link in /lib linking cpp to /usr/local/bin/g++, this yielded
many errors, some representative ones are:

/usr/X11R6/lib/X11/config/Imake.tmpl:1384: warning: ANSI C++ forbids
declaration `esac' with no type or storage class
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: redefinition of `int esac'
/usr/X11R6/lib/X11/config/Imake.tmpl:1383: `int esac' previously declared here
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: warning: ANSI C++ forbids
declaration `done' with no type or storage class
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: redefinition of `int done'
/usr/X11R6/lib/X11/config/Imake.tmpl:1383: `int done' previously declared here
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: stray '\' in program
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: parse error before `@'
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: stray '\' in program
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: stray '\' in program
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: stray '\' in program
/usr/X11R6/lib/X11/config/Imake.tmpl:1384: stray '\' in program      

The errors all referred to the Imake.tmpl file lines 1380 through 1384. These
line look like:

#ifdef IHaveSubdirs
XCOMM ----------------------------------------------------------------------
XCOMM rules for building in SUBDIRS - do not edit

InstallSubdirs($(SUBDIRS))
InstallManSubdirs($(SUBDIRS))
InstallLinkKitSubdirs($(SUBDIRS))
CleanSubdirs($(SUBDIRS))
TagSubdirs($(SUBDIRS))
MakefileSubdirs($(SUBDIRS))
IncludesSubdirs($(SUBDIRS))

#endif

This makes no sense to me, although I admit I know just about nothing about
Imakefiles.

System is RH 5.0, 164SX, EGCS-1.0.3a

Any suggestions appreciated.

BTW - this attempted compile is part of my on-going search for a workable Word
Processor for Linux/Alpha, any suggestions about that would be appreciated as
well.

Thanks as always.

Brian E.W. Wood - beww@intac.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-08-11 14:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-10 21:13 Imakefile problems Brian E.W. Wood
1998-08-11  6:09 ` Jochen Kuepper
1998-08-11 14:18   ` Brian E.W. Wood
1998-08-11 14:23     ` Geert Uytterhoeven
1998-08-11 14:40     ` Jochen Kuepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox