From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4014 invoked from network); 10 Aug 1998 22:10:46 -0000 Received: from unknown (HELO axe.intercall.com) (root@208.5.199.1) by mail2.redhat.com with SMTP; 10 Aug 1998 22:10:46 -0000 Received: from sherlock.intercall.com (ts7-58.intercall.com [207.77.26.58]) by axe.intercall.com (8.8.7/8.6.9) with ESMTP id SAA17639 for ; Mon, 10 Aug 1998 18:10:39 -0400 (EDT) Message-ID: X-Mailer: XFMail 1.3-alpha-031298 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Date: Mon, 10 Aug 1998 17:13:48 -0400 (EDT) Reply-To: beww@intac.com Organization: Unix Dilletante Sender: beww@sherlock.intercall.com From: "Brian E.W. Wood" To: axp-list@redhat.com Subject: Imakefile problems 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