File: ReadMe.txt

package info (click to toggle)
snappea 3.0d3-23
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,900 kB
  • ctags: 3,582
  • sloc: ansic: 33,469; sh: 8,565; python: 7,623; makefile: 242
file content (29 lines) | stat: -rw-r--r-- 1,359 bytes parent folder | download | duplicates (8)
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
Peter Brinkmann tells me that "shared libraries are tricky
to build, and choosing the right compiler options requires
some intimate knowledge of the operation system and the compiler,
so a single makefile is not going to work on all systems,
not even on all Linux systems.  Fortunately, there's a very
simple way to build shared libraries that extend python,"
using a "generic makefile" provided with Python 1.5 and later.
On each platform, the generic makefile has the right settings
to compile a shared library for that platform.
Peter was kind enough to write scripts to compile SnapPea
using the "generic makefile".  Here are his instructions:

1. Create a directory, say SnapPea, and unpack your two tar files
(kernel.tar and SnapPeaPython.tar) in this directory.

2. Move "Setup.in" and "inst" from SnapPeaPython/installation/
to the parent SnapPea directory.

3. Type 'inst' at the prompt. This will give you a list of files
called 'Makefile.pre.in'. These files are the generic makefiles I
mentioned above. On large, distributed systems, there'll be more
than one. In this case, pick the appropriate file for the system
you're using and copy it into the same directory.

4. Type 'inst' once more. This will start the build, and if nothing
goes wrong, you'll find the library 'SnapPeaC.so' in the directory
SnapPeaPython.

SnapPea is now ready to use.