-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
68 lines (44 loc) · 1.69 KB
/
INSTALL
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
SUPPORTED BROWSERS
------------------
All browsers supporting NPAPI plugin API should work.
'npca' supported browsers are newer Gecko-engine browsers (Mozilla, Firefox), Safari (WebKit based).
HOW TO BUILD
------------
1. Edit 'configure/RELEASE' file and set 'EPICS_BASE' variable to reflect your environment.
2. Build plug-in by executing 'make'.
Build plug-in is a dynamic/shared library and does not have EPICS statically linked.
Make sure that EPICS 'ca' and 'Com' are available. Since it uses native EPICS 'ca' library implementation,
'caRepeater' has to be in path (or already loaded).
STATIC BUILD
------------
Linux
-----
Put (uncomment) line
STATIC_BUILD = YES
in npca-plugin/npca/src/Makefile.
Win32
-----
You have to compile whole EPICS base as static.
Change your EPICS_BASE/configure/CONFIG_SITE near line 120 to
SHARED_LIBRARIES=NO
STATIC_BUILD=YES
Whole base would be static (including caRepeater.exe).
Now to build NPCA (which has to be an DLL) turn those switches to
SHARED_LIBRARIES=YES
STATIC_BUILD=YES
or put those lines in the npca-plugin/npca/src/Makefile.
Resulted npca.dll size should ~508kB.
HOW TO INSTALL
--------------
Mac OS X (Darwin)
------------------
A plug-in bundle named 'npca.plugin' is created in 'lib/<arch>' directory. Copy it to your '/Library/Internet Plug-Ins' or '~/Library/Internet Plug-Ins' directory.
Linux
-----
A shared library named 'libnpca.so' is created in 'lib/<arch>' directory. Copy it to your browser's plugins directory.
Win32
-----
A dynamic loadable library named 'npca.dll' is created in 'lib/<arch>' directory. Copy it to your browser's plugins directory.
USAGE
-----
See 'npca/test/test.html', that shows and tests all 'npca' functionality.