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

* Re: Imakefile problems
  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
  0 siblings, 1 reply; 5+ messages in thread
From: Jochen Kuepper @ 1998-08-11  6:09 UTC (permalink / raw)
  To: Brian E.W. Wood; +Cc: Alpha-Linux mailing list

On Mon, 10 Aug 1998 Brian E.W. Wood wrote:

>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:

Shouldn't you link /usr/local/bin/cpp to /lib/cpp ?

Greetings,
Jochen
-----------------------------------------------------------------------
  Jochen K"upper

  Heinrich-Heine-Universit"at D"usseldorf   jochen@uni-duesseldorf.de
  Institut f"ur Physikalische Chemie I
  Universit"atsstr. 1, Geb 26.43 Raum 02.29    phone ++49-211-8113681
  40225 D"usseldorf                            fax   ++49-211-8115195
  Germany             http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------


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

* Re: Imakefile problems
  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
  0 siblings, 2 replies; 5+ messages in thread
From: Brian E.W. Wood @ 1998-08-11 14:18 UTC (permalink / raw)
  To: Jochen Kuepper; +Cc: Alpha-Linux mailing list


On 11-Aug-98 Jochen Kuepper wrote:
> On Mon, 10 Aug 1998 Brian E.W. Wood wrote:
> 
>>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:
> 
> Shouldn't you link /usr/local/bin/cpp to /lib/cpp ?

Actually it was /usr/local/egcs/gcc/cpp, which I of course figured out just
after posting the question.

I was surprised that the program was looking for it in /lib. Is this a normal
location for it?

Thanks for the note.

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


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

* Re: Imakefile problems
  1998-08-11 14:18   ` Brian E.W. Wood
@ 1998-08-11 14:23     ` Geert Uytterhoeven
  1998-08-11 14:40     ` Jochen Kuepper
  1 sibling, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 1998-08-11 14:23 UTC (permalink / raw)
  To: Brian E.W. Wood; +Cc: Jochen Kuepper, Alpha-Linux mailing list

On Tue, 11 Aug 1998, Brian E.W. Wood wrote:
> On 11-Aug-98 Jochen Kuepper wrote:
> > On Mon, 10 Aug 1998 Brian E.W. Wood wrote:
> > 
> >>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:
> > 
> > Shouldn't you link /usr/local/bin/cpp to /lib/cpp ?
> 
> Actually it was /usr/local/egcs/gcc/cpp, which I of course figured out just
> after posting the question.
> 
> I was surprised that the program was looking for it in /lib. Is this a normal
> location for it?

/lib/cpp is the path for cpp for historical reasons.

Greetings,

						Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium


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

* Re: Imakefile problems
  1998-08-11 14:18   ` Brian E.W. Wood
  1998-08-11 14:23     ` Geert Uytterhoeven
@ 1998-08-11 14:40     ` Jochen Kuepper
  1 sibling, 0 replies; 5+ messages in thread
From: Jochen Kuepper @ 1998-08-11 14:40 UTC (permalink / raw)
  To: beww, Brian E.W. Wood; +Cc: Alpha-Linux mailing list

On Tue, 11 Aug 1998 Brian E.W. Wood wrote:
>On 11-Aug-98 Jochen Kuepper wrote:
>> On Mon, 10 Aug 1998 Brian E.W. Wood wrote:
>> 
>>>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:
>> 
>> Shouldn't you link /usr/local/bin/cpp to /lib/cpp ?
>
>Actually it was /usr/local/egcs/gcc/cpp, which I of course figured out just
>after posting the question.
>
>I was surprised that the program was looking for it in /lib. Is this a normal
>location for it?

It's history.
Think nowadays only X11 (of the bigs) is using it down there.

Greetings,
Jochen
-----------------------------------------------------------------------
  Jochen K"upper

  Heinrich-Heine-Universit"at D"usseldorf   jochen@uni-duesseldorf.de
  Institut f"ur Physikalische Chemie I
  Universit"atsstr. 1, Geb 26.43 Raum 02.29    phone ++49-211-8113681
  40225 D"usseldorf                            fax   ++49-211-8115195
  Germany             http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------


^ 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