|
1 |
| -Installing Felix: POSIX (UNIX, OSX, LINUX, etc) |
2 |
| -=============================================== |
| 1 | +INSTALLING FELIX from BINARY PACKAGE |
| 2 | +==================================== |
3 | 3 |
|
4 |
| -Requirements |
| 4 | +Linux 64 bit |
5 | 5 | ------------
|
6 |
| -* OCaml >= 3.11 |
7 |
| -* Python >= 3.1 |
8 |
| -* C++ compiler (clang, gcc, msvc++) |
9 | 6 |
|
10 |
| -Optional |
11 |
| --------- |
12 |
| -SDL |
13 |
| -ZMQ |
14 |
| -libxml2 |
| 7 | +Felix installs in /usr/local/lib/felix/felix-${FLX_VERSION} where |
| 8 | +FLX_VERSION is the Felix version number, of the form YYYY.MM.DD. |
| 9 | +It is configured for gcc and built with gcc-5.1. C++11 support |
| 10 | +is required. |
15 | 11 |
|
16 |
| -Build |
17 |
| ------ |
18 |
| - |
19 |
| -make build |
20 |
| - |
21 |
| -Test |
22 |
| ----- |
23 |
| - |
24 |
| -make test |
| 12 | +Use: |
25 | 13 |
|
26 |
| -Docs |
27 |
| ----- |
| 14 | +sudo ./posixinstall.sh |
28 | 15 |
|
29 |
| -make doc |
| 16 | +to install. Any previous install is deleted. To use: |
30 | 17 |
|
31 |
| -Install |
32 |
| -------- |
| 18 | +./linuxsetup.sh |
33 | 19 |
|
34 |
| -make install |
| 20 | +Test with: |
35 | 21 |
|
36 |
| -You will need to put a sudo password. |
| 22 | +flx hello |
37 | 23 |
|
38 |
| -Installing Felix: POSIX (BSD) |
39 |
| -=============================================== |
40 | 24 |
|
41 |
| -Requirements Base |
42 |
| ------------------ |
43 |
| -* C++ compiler (clang, gcc) |
44 |
| - |
45 |
| -Requirements Ports |
46 |
| ------------------- |
47 |
| -* lang/ocaml >= 3.11 |
48 |
| -* lang/python32 || lang/python31 (Python >= 3.1) |
49 |
| -* databases/sqlite3 |
50 |
| -* ports-mgmt/portconf |
51 |
| -* databases/py-sqlite3 |
52 |
| - ** special instructions ** |
53 |
| - The py-sqlite3 port by default targets Python2 inorder to build for |
54 |
| - python3 ports-mgmt/portconf must be installed and the file: |
55 |
| - /usr/local/etc/ports.conf must exist and contain: |
56 |
| - databases/py-sqlite3: PYTHON_VERSION=python3.2 |
57 |
| - |
58 |
| -Optional Ports |
59 |
| --------------- |
60 |
| -devel/sdl |
61 |
| -devel/zmq |
62 |
| -textproc/libxml2 |
63 |
| -databases/postgresql83-client or greater |
64 |
| - |
65 |
| -Build |
| 25 | +OSX |
66 | 26 | -----
|
67 |
| -gmake build |
68 |
| - |
69 |
| -Test |
70 |
| ----- |
71 |
| -gmake test |
72 |
| - |
73 |
| -Docs |
74 |
| ----- |
75 |
| -gmake doc |
76 | 27 |
|
77 |
| -Install |
78 |
| -------- |
79 |
| -gmake install |
80 |
| - |
81 |
| -WINDOWS: MSVC++ |
82 |
| -================ |
83 |
| - |
84 |
| -Ask for help on the mailing list. |
| 28 | +There is currenly no binary for OSX. Please build from source. |
85 | 29 |
|
| 30 | +Windows 64 bit |
| 31 | +-------------- |
86 | 32 |
|
87 |
| -You WILL need a few basic unix tools for Windows |
88 |
| -like make, cp, etc. |
| 33 | +Felix installs in C:\usr\local\lib\felix\felix-${FLX_VERSION} where |
| 34 | +FLX_VERSION is the Felix version number, of the form YYYY.MM.DD. |
| 35 | +It is configured for MSVC++ and built with Visual Studio 14 (2015). |
| 36 | +It is a 64 bit debugging version. C++11 support is required. |
| 37 | +Type: |
89 | 38 |
|
90 |
| -The build system should |
91 |
| -more or less work out of the box up to installation, |
92 |
| -provided you have Ocaml built with MSVC++, Python built with MSVC++, |
93 |
| -and you have MSVC++ environment set up. |
| 39 | +win32install.bat |
94 | 40 |
|
95 |
| -You should set HOME environment variable to mirror the Unix |
96 |
| -system setup. You should install Felix in |
| 41 | +to install. Any previous install is deleted. To use, |
| 42 | +open a Visual Studio command prompt for x64 or x86->x64 |
| 43 | +cross compiler. Type: |
97 | 44 |
|
98 |
| - c:\usr\local\lib |
| 45 | +win32setup.bat |
99 | 46 |
|
100 |
| -just like on Unix. |
| 47 | +Test with: |
101 | 48 |
|
102 |
| -Windows: other |
103 |
| -============== |
| 49 | +flx hello |
104 | 50 |
|
105 |
| -It should be possible to build Felix for Cygwin, |
106 |
| -MSYS or other Windows setup but it may take a bit |
107 |
| -of fiddling to make this work! |
108 | 51 |
|
0 commit comments