Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compilation help needed



>From: Simon McIntosh-Smith <Simon.N.Smith@cm.cf.ac.uk>
>
>Hi,
>
>I've been building crossedit-0.7 on our platform in Cardiff, but I've hit a
>problem.  First let me tell you about the platform in question:
>
>Platform:	SunSPARCstation 1, 1+ and 2's
>OS:		SunOS 4.1.3, Openwindows 3.0, X11R4
>Compiler:	gcc -ansi
>
>This puzzles me because it looks like it is complaining that we are lacking a
>certain library, but we didn't have this problem when we successfully built
>crossfire-0.89.2  about a month ago.  We use xview here, not motif (although
>we will be swapping to motif in the near future), so I'm a little uncertain

I suggest you to swap to X11R5 first. ( Or even to X11R6, when it comes
on april 15. on next year :).

>why it is complaining about some and not all of the athena widget headers
>being missing.  Here is the code causing the problems from Xaw.h:
>...
>Why is it complaining about Panner.h, Repeater.h etc being missing, but
>not the others?
>...

I write Xaw.h to common use, "include all Xaw", header. Those failing 
header aren`t needed in this case. So you can comment they out.

But you maybe have next trouble with XtGetGC ( X11R5 stuff, yes we
haven't tested this with X11R4, because we have not it installed
anymore ( there should be X-release checking in Imakefile ) ). 

>If anyone can shed some light as to what has gone wrong I'd be very grateful!
>If there is someway to tell it to use xview for now and leave Xaw out of
>it, I think that would help.

If you mean to use xview, no. CrossEdit is written to use X-toolkit
and Athena Widget Set. To make it multiple look&feel program, ie.
OLIT ( Open Look - widget set ), Motif ( OSF - widget set ) and Athena
widget set ( And even one more, maybe Xo - widget set ), is too heavy
programming, althought maybe be challenging.


////////////////////////////////////////////////////////////////////////
//               //   email: Petri.Heinila@lut.fi                     //
//               //   mail:  Ainonkatu 2A                             //
// Petri Heinila //          53100 Lappeenranta                       //
//               //          Finland, Europe                          //
//               //                                                   //
////////////////////////////////////////////////////////////////////////