go to www.geomview.org home page
 
Home

Overview
FAQ
Documentation

Download

Mailing List

Geomview For Windows?

Support
Users
Development

Bug Reporting
Contributing
Contact Us

Sponsors

 

Site Search

 

Advanced
Search

 
About the software@geom archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: geomview on decstation


  • To: sullivan, software
  • Subject: Re: geomview on decstation
  • From: slevy
  • Date: Sun, 24 Jul 94 13:21:04 -0500

Ah, well.  This may be the first time someone's tried to get this to compile
under Ultrix.  I don't really know what's going on, but here are some ideas.
Each specific action is marked with a *.

*  Check to see if there's a directory "/usr/include/X11/Xm"; Xm contains the
   Motif include files.  If so, add   -I/usr/include/X11   to the setting of
   SYSCOPTS in the file makefiles/mk.$CPU (for whatever CPU you've picked).

   The complaints about "stat" in streampool.c do sound like problems in the
   system include files, as you say.  The key seems to be the message about a
   missing semicolon at the end of a structure definition, likely "struct stat".
   Presumably the Ultrix cc is more lax about this than gcc.
*  It's probably best to modify (sigh) both /usr/include/sys/stat.h,
*  *and* /usr/local/gnu/lib/gcc-lib/mips-dec-ultrix4.2/2.5.8/sys/stat.h.
   (Changing the /usr/include version will ensure that it's correct when 
   future gcc releases are installed, too.)

   The warnings about stuff.o appearing multiple times in makefile rules, 
   and about incompatible pointer assignments, are annoying but harmless.

   Dunno about mgx11.c's complaints about XSizeHints, etc.  In our copies of
   the X distribution, they're both only defined & used in X11/Xutil.h
   rather than X11/Xlib.h, so no such error can happen.  One possibility:
   try changing
*	src/lib/mg/x11/mgx11P.h
   to include <X11/Xutil.h> *before* <X11/Xlib.h>.

   Strange lisp errors -- it's probably suffering from an antiquated version
   of /bin/sh which Ultrix seems to use.  It may be possible to work around it.
   Some things to try:
*    Edit the shell script "tools/lisp2c".  The errors about not finding "gv_",
	"-o", "clang" seem to say that it's not detecting these as arguments.
	Maybe change the ``case $1 in'' at line 99 to read ``case "$1" in''.
	While you're at it, might also quote the labels in the case statement,
	other than the * label:

	case "$1" in
	  "-cprefix") ...

	  "-o") ...

	  *) ...
	esac
   Not sure whether this will help.

*  As for the "bad substitution" error, edit src/bin/geomview/x11/Makefile
   changing ``g=$${g:-"."}'' to ``g=$${g-"."}'', i.e. delete the colon.
	
Good luck, let us know how it goes!

  Stuart


 
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
 
site hosted by
SourceForge Logo