File: INSTALL

package info (click to toggle)
yacas 1.3.6-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 7,176 kB
  • ctags: 3,520
  • sloc: cpp: 13,960; java: 12,602; sh: 11,401; makefile: 552; perl: 517; ansic: 381
file content (111 lines) | stat: -rw-r--r-- 3,498 bytes parent folder | download
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
There are two ways to compile and install Yacas: 
* downloading a gzipped tar file (also called a tar-ball)
* downloading from SVN at sourceforge

Please read the relevant section.



A. INSTALLING FROM A TAR-BALL
-----------------------------

Compiling Yacas from source currently requires a Unix-like environment (CYGWIN
may work), bash, find, sed, and grep. Building documentation requires perl for
the HTML files, and additionally LaTeX, dvips, and makeindex to generate
PostScript and PDF files.

To compile and install, do the following:

* download yacas-<latest>.tgz

* type 'tar zxvf yacas-latest.tgz'

* go into the directory created (yacas-<version>).

* follow the steps in Section C. The compilation process.



B. INSTALLING FROM SVN
----------------------

Compiling from SVN requires a GNU environment (CYGWIN may work), svn, autoconf
(tested with version 2.68), automake (tested with version 1.11.3), bash, find,
sed, and grep. Building documentation requires perl for the HTML files, and
additionally LaTeX, dvips, and makeindex to generate PostScript and PDF files.

To compile and install, do the following:

* checkout the source tree with the command
     svn checkout http://svn.code.sf.net/p/yacas/code/trunk yacas

* change into the 'yacas' directory.

* run the 'makemake' script:
	./makemake

* follow the steps in Section C. The compilation process.



C. THE COMPILATION PROCESS
--------------------------

Having gone through the steps in either Section A or Section B, you can finish
the procedure by doing the following:

* type './configure' with optional arguments
  (e.g. './configure --enable-ps-doc --prefix=/home/user/').
  You can get a list of possible options by running './configure --help'.

* type 'make'.

* if you wish, type 'make test', to run the test scripts.

* type 'make install' (this requires root unless you have configured a
  '--prefix' location in your home directory).

* type 'yacas' and you should see a Yacas prompt!

Yacas can be compiled outside of the source tree. Simply run 'configure' from
some other directory. For example:

	mkdir yacas-build; cd yacas-build
	../../whatever/path/to/yacas/configure --prefix=/home/user
	make
	make install

Yacas can be started without the 'make install' step: from the build directory, type
	src/yacas --rootdir /path/to/scripts/

The scripts (installed by default in '/usr/local/share/yacas/')
should also be a good starting point to see some example source code.  You can
always type '??', which should launch the help.

To compile and install Proteus, the user interface for Yacas, please go
into the proteus/ directory and read the readme there.

D. COMPILING UNDER WINDOWS
--------------------------

The Windows version is checked infrequently, so latest development
releases might accidentally not compile. Please report if this is
the case, or if you are willing to maintain the Windows release, 
as it currently has no maintainer.

E. EXTRA INFORMATION
--------------------

* Some targets you should know about:

	dist: Pulls everything together into a tarball.

	distcheck: Performs a build in another directory to make sure
		the makefiles know about all necessary files. You should
		always run this before uploading a new release.

	distclean: Removes files generated by the configure script. Use
		this if you want to reset configuration stuff; e.g. if you
		want the configure script to run without cached values.

	install-strip: Like install, but strips binaries. Very nice.