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 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
Installation Instructions
*************************
Basic Installation
==================
An ANSI C compiler is required for build.
To build, it should be easy. There are 4 types. You may want to set some
parameters like SCOREPATH, SCOREFILE, LOGPATH, and LOGFILE.
configure:
Use "configure -help" to see what options you can set using configure
or parameters in Makefile.in .
configure ; make
imake:
Sometimes this is not setup correctly by the distributor ... i.e. not
my fault. You may want to set parameters in Imakefile .
If you have Xpm you may want to do this quick edit in the Imakefile:
Uncomment line "#define XpmLibrary".
If you have Motif you may want to do this quick edit in the Imakefile:
Uncomment line "#define XmLibrary".
xmkmf ; make
make.com (VMS users only):
You may want to set parameters in make.com .
@make
I would be real interested in updates here as I no longer have
access.
win32/Makefile (MinGW gcc only):
You may want to set parameters in Makefile for target triplet.
cd win32
make
Then run "wpyraminx". You are on your own on installing the
wpyraminx.ini file and pyraminx.scores file.
X users only:
Then just run "xpyraminx". If you do a "make install" "SCOREPATH" and
"LOGPATH" must be set correctly.
You should copy XPyraminx.ad to $(HOME)/XPyraminx or use "make install"
to copy it to something like /usr/lib/X11/app-defaults/XPyraminx. Edit
this file for your preferences.
There are a few install options using configure.
make install:
Normal installation usually in /usr/local. The problem is that the
file pyraminx.scores should be writable by the application but not
users. It will try to fallback to reading and writing in the current
directory. (pyraminx.log is a temporary log file to keep track of
moves, here the current directory is the default with /usr/tmp as the
fallback).
make install-games:
This will install the puzzle like the BSD games. This configuration
is for the most part hard coded and will ignore most prefix settings.
The difference here is that it runs setgid to update score file.
Optional Features
=================
X users only:
The following installation option is run during when you use the configure
"make install".
make install-png:
This is used to install the "*.pyraminx.png" images for use with menus
in Gnome and KDE.
This is used for CDE:
make install-xpm:
This is used to install the "pyraminx.?.xpm" images for use with menus
in CDE using system files (name changes from ".xpm" to ".pm" when
installing).
make install-xpm-home:
This is used to install the images for use with menus in CDE using
from your home directory. I have this set up using the desktop and
menus. There are probably many ways but I have it set up using
$HOME/.dt/types/dtfile.dt, $HOME/.dt/types/dtwm.fp, and $HOME/.dt/dtwmrc
These files can be copied and changed from /usr/dt.
|