/
README
123 lines (79 loc) · 2.86 KB
/
README
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
112
113
114
115
116
117
118
119
120
121
122
CIYAM Software Manufacturing Environment
----------------------------------------
The following environment variables are required by various scripts:
Name Description Sample Value
----- ----------------- ------------
CPPENV C++ Compiler (Windows only) mvc
WEBDIR Web Document Root path** /srv/www/htdocs
** This path must *not* contain spaces.
Environment variables LIB and INCLUDE for VC++ will require additions for MySQL and (if used) OpenSSL.
If wanting to perform a debug build for Windows use the environment variable CPPDBG.
(e.g. for VC++ set CPPDBG=DEBUG=1)
The following are platform specific instructions for installing 3rd party libraries:
NOTE: To make things easier for Windows developers some .lib and .dll files have been included.
Also note that you will need to be using VS2003 or higher.
MySQL
-----
http://dev.mysql.com/downloads/mysql/
[Linux]
Is normally standard but you may need to install the appropriate developer package (e.g. mysql-devel).
[Windows]
When installing make sure that the option for "Development libraries and headers" is selected.
For VC++ the LIB environment variable will need this added (replace <ver> with the MySQL version):
C:\Program Files\MySQL\MySQL Server <ver>\lib\opt
e.g. set LIB=C:\Program Files\MySQL\MySQL Server 5.1\lib\opt;%LIB%
For VC++ the INCLUDE environment variable will need this added (replace <ver> with the MySQL version):
C:\Program Files\MySQL\MySQL Server <ver>\include
e.g. set INCLUDE=C:\Program Files\MySQL\MySQL Server 5.1\include;%INCLUDE%
FastCGI
-------
http://www.fastcgi.com/dist/
[Linux]
tar -zxvf fcgi-2.4.0.tar.gz
cd fcgi-2.4.0
./configure
make
su
make install
[Windows]
nmake -f Makefile.nt
copy libfcgi\Release\libfcgi.dll <dest directory>
copy libfcgi\Release\libfcgi.lib <dest directory>
Haru PDF Library
----------------
http://libharu.org/files
[Linux]
tar -zxvf libharu-2.1.0.tar.gz
cd libharu-2.1.0
./configure
make
su
make install
cp /usr/local/lib/libhpdf-2.1.0.so /usr/lib (depending upon distro)
[Windows]
unzip -j \tmp\libharu-2.1.0-vc8.zip lib_dll/libhpdf.lib lib_dll/libhpdf.dll
mkdir haru
cd haru
unzip -j \tmp\libharu-2.1.0-vc8.zip include/*
OpenSSL
-------
http://www.openssl.org/
[Linux]
tar xzf openssl-1.0.0a.tar.gz
cd openssl-1.0.0a
./config shared
make
make test
su
make install
cp /usr/local/ssl/lib/libssl.so.1.0.0 /usr/lib (depending upon distro)
cp /usr/local/ssl/lib/libcrypto.so.1.0.0 /usr/lib (depending upon distro)
[Windows]
Download and run the installation program.
For VC++ the LIB environment variable will need this added:
C:\OpenSSL-Win32\lib
e.g. set LIB=C:\OpenSSL-Win32\lib;%LIB%
For VC++ the INCLUDE environment variable will need this added:
C:\OpenSSL-Win32\include
e.g. set INCLUDE=C:\OpenSSL-Win32\include;%INCLUDE%
Note that "ciyam_server.pem" is a test public/private key pair encrypted with the password "password".