File: README.source

package info (click to toggle)
mixviews 1.20-10.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,928 kB
  • ctags: 5,960
  • sloc: cpp: 32,879; ansic: 2,110; makefile: 445; sh: 17
file content (69 lines) | stat: -rw-r--r-- 3,260 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
			How To Compile MiXViews

If you work on a platform other than:

- M68k NeXT 
- Sun SPARC 
- SGI IRIX 5.x
- Linux

then you may wish to comple MiXViews yourself from the source code. This is a
bit of work, but well worth it for what you can do with this program for free.

You will need the following resources in order to compile MiXViews: 

1. A decent C++ compiler (Gnu g++ 2.7.2, for example). This is available on 
prep.ai.mit.edu as: gcc-2.7.2.tar.gz  
2. The tarred, compressed source for MiXViews, available on ftp.ccmrc.ucsb.edu
as ~ftp/pub/MixViews/source/mxv-current-source.tar.gz. 
3. The X11 R5 or R6 binaries, libraries, config files, and headers, installed. 
4. The complete distribution of the InterViews 3.1 or 3.2a C++ X toolkit,
configured, compiled, and installed. This is the most complex step -- study the
included README file before attempting to configure or compile InterViews. The
source is available on:
- interviews.stanford.edu  (v. 3.1, OK) 
- sgi.com  (v. 3.2a, BETTER)
5. The Gnu libg++ library distribution, configured, compiled, and installed. The
newest version will supposedly compile under Cfront-style compilers as well as
under Gnu's compiler. It is available on prep.ai.mit.edu as: libg++-2.7.0.tar.gz  
6. The f2c.h header file (minimally) plus the compiled and installed library, or
else an equivalent fortran library (typically libF77.a). The f2c source is
public domain and available in many of the software archives. 

 
Once all the above are on your system, and you have untarred the source for
MiXViews into some directory, make sure that the environmental variable CPU is
set (see the InterViews documentation for more on this). You will no doubt have
to edit the Imakefile that comes with MiXViews to set some macros such as the
name of your fortran library, and to adjust the compiler flags, though most of
this should be configured in the InterViews config files.

Before you do the ivmkmf and make, you need to set an environmental variable 
"CPU" to the correct type for your machine.  Here are the values:

Sgi Indy, Indigo:  SGI
NeXT:              NEXT
Sun:               SUN3, SUN4, SUNi386 -- whichver is appropriate
Linux:             LINUX (You must 'setenv ARCH LINUX' as well on Linux)

For ex.,  on an SGI, do 'setenv CPU SGI' at the command line.

Type the command "ivmkmf -a" in the directory containing the source. Ivmkmf is
an InterViews script (installed with the rest of the IV binaries, etc.) and will
create a subdirectory in which the objects and executable will be put, and
create the necessary Makefiles and do the dependencies.  NOTE:  DO NOT USE THE
X11 RELEASE 6 MAKEDEPEND COMMAND.  It has a bad bug in it, and none of the
Makefile dependency lines will work -- which can lead to inconsistent binaries.
Use the X11 R5 or R4 makedepend command.

Type "make", and get some coffee or something. The binary will be called "mxv",
and will be in the subdir mentioned above.

Install the file MiXViews.ad in whichever place you keep X resource files
(usually /usr/lib/X11/app-defaults) as "MiXViews".

Study the enclosed  mxv.doc  text file for information on how to use the
program. 

Email me if you have problems, but please be *sure* you have read the
instructions carefully, first.