[comp.sys.sun] problems installing XView

david@wubios.wustl.edu (David J. Camp) (10/28/89)

I originally sent this message to the xviewbugs mailing list, but have
received absolutely no response.  Can anyone help me with this?  Thank
you,  -David-

Forwarded message:

|Subject: problems installing XView
|To: xviewbugs@sun.com
|Date: Tue, 26 Sep 89 7:17:35 CDT
|
|======================Send reports to xviewbugs@sun.com=====================
|
|=============================Begin bug report===============================
|Category:          xview
|Subcategory:       installation
|Bug/Rfe:           bug (If a Request for enhancement, put 'rfe')
|Synopsis:          problems with installation
|Severity:          3-4
|Priority:
| 	It will be a problem every time I need to recompile.  It may
|require extensive hacking each time, since I do not have a
|general-purpose solution.
|Description:
|	See below.
|Work around:
|	hack Makefiles
|Suggested fix:
|	I could send you my hacked Makefiles, but they are not a real
|	solution.
|Comments:	
|	I suspect you were using a different version of imake.
|Called in by:
|    Customer:
|	Company:       Washington University Biostatistics
|	Employee:      David J. Camp
|	Contact:       david%wubios@wucs1.wustl.edu
|	Phone #:       (314) 362-3635
|	Release #:     X.V11R3 xview2
|	Hardware:      Sun 3/260
|	O/S:           SunOS
|	O/S version:   4.0.3
|	Server:        same machine
|	Server version:ditto
|	WindowMmgr:    olwm
|
|==========================End of bug report==================================
|
|Severity guidelines:
|        3) execution of critical function difficult, workaround/patch 
|           available, execution of non-critical function difficult, 
|	    no workaround/patch
|        4) execution of critical function inconvenient, execution of
|           non-critical function difficult, workaround/patch exists
|---------------------------------------------------------------------------
|I had the following problems compiling XView.  First, the example for
|imake was only remotely similiar to what I had to do.  I had to 'ln -s
|../util util' in the core.src/X11 directory.  The instructions did not
|specify that I had to 'cd usr.lib' first.  The command that worked was
|'../../core.src/util/imake/imake -TImakefile \
| -I../../core.src/X11/util/imake.includes  \
| -DTOPDIR=../../core.src/X11 -s Makefile'.  The 'make Makefiles' command
|did not work, but I guessed that was because you had already done that
|with imake.  When I ran 'make install_headers' it failed because I had
|not already used mkdir for the include directory. I had to edit the
|Imakefile's and remove the comments, since my version of imake barfs on
|them.  I had to edit the Makefile and comment out some imake commands
|that got passed through unprocessed, and I do not know if that is
|causing problems.  In the usr.bin/tools/images directory I ran imake,
|generating an alternate Makefile, and edited it, including some portions
|of the original Makefile because the InstallMultiple macro did not
|compile.  I also had to define the $(INSTALL) variable to be 'install'.
|To install xview itself, I again had to hack at the make file because
|some macros were not expanded.  I later discovered that the combined
|library had been generated even though I did not type 'make libxview.a'.
|At this point the Makefiles in the subdirectories were using the
|individual libraries instead of the combined library, so I had to edit
|them again.  The 'make install.man' command did not work, but it looks
|like there are no man pages anyway.  :-(  I have everything compiled
|now, but have yet to print out the 8MB of documentation before I learn
|how to use it.  -David-