forked from McStasMcXtrace/McCode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD_DEPS.TXT
60 lines (44 loc) · 3.01 KB
/
BUILD_DEPS.TXT
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
This document lists build dependencies and explains use of the ./build_* scripts:
* Debian packages for 32bit and 64bit systems. Input parameters - 1) release "name", i.e. 2.1
build_debs_mcstas <release name>
build_debs_mcxtrace <release name>
Dependencies:
cmake cpack texlive gcc flex bison build-essentials etoolbox poppler-utils texlive-latex-extra (Check on clean system if this is enough!!)
Configuration - dpkg-reconfigure dash, select not to use dash as /bin/sh
* RedHat packages for 32bit and 64bit systems. Input parameters - 1) release "name", i.e. 2.1
build_rpms_mcstas <release name>
build_rpms_mcxtrace <release name>
Dependencies:
cmake cpack texlive texlive-imakeidx texlive-biblatex texlive-idxlayout gcc flex bison libc6-dev etoolbox (Check on clean system if this is enough!!)
Configuration - dpkg-reconfigure dash, select not to use dash as /bin/sh
* "Generic Unix" == Linux 32bit and 64bit, tgz packages. Input parameters - 1) release "name", i.e. 2.1
build_src_bin_mcstas <release name>
build_src_bin_mcxtrace
Dependencies:
cmake cpack texlive latexmk bibtex gcc flex bison libc6-dev etoolbox (Check on clean system if this is enough!!)
Configuration - dpkg-reconfigure dash, select not to use dash as /bin/sh
* Mac OS X packages for 64bit systems. Input parameters - 1) release "name", i.e. 2.1 2) flag to indicate if we are building a 'meta' package
build_macos_L-ML_mcstas <release name> <meta> / Lion and Mountain Lion
build_macos_L-ML_mcxtrace <release name> <meta> / Lion and Mountain Lion
build_macos_Maverics_mcstas <release name> <meta> / Mavericks
build_macos_Maverics_mcxtrace <release name> <meta> / Mavericks
build_macos_SL_mcstas <release name> <meta> / Snow Leopard
build_macos_SL_mcxtrace <release name> <meta> / Snow Leopard
Dependencies:
cmake cpack texlive/MacTeX Xcode with commandline tools PackageMaker.app (Check on clean system if this is enough!!)
!! If need for any MacPorts / Fink / Brew software on the build machine - please add to END OF THE PATH variable rather than front... !!
* Windows packages for 32bit (and 64bit - running the 32bit version) systems. Input parameters - 1) release "name", i.e. 2.1 2) flag to indicate if we are building a 'meta' package. Built on Linux!!
build_windows_mcstas <release name> <meta>
build_windows_mcxtrace <release name> <meta>
Dependencies:
(run dpkg --add-architecture i386)
cmake cpack nsis texlive latexmk bibtex mingw-w64 flex bison libc6-dev wine-bin:i386 (Check on clean system if this is enough!!)
To build the windows 'metapackage' from Linux, you need to install wine:i386 and inno setup (within wine), following the below instructions.
IMPORTANT: The i386 suffix for the wine package is important as the inno setup nbinary will be installed in a wrong location otherwise...
- https://katastrophos.net/andre/blog/2009/03/16/setting-up-the-inno-setup-compiler-on-debian/
( Along the lines of:
• mkdir /tmp/innosetup
• cd /tmp/innosetup
• wget http://files.jrsoftware.org/ispack/ispack-5.2.3.exe
• wine ./ispack-5.2.3.exe
)