File tree Expand file tree Collapse file tree 2 files changed +114
-0
lines changed
mono-install-scripts/ubuntu Expand file tree Collapse file tree 2 files changed +114
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ TOPDIR=$( pwd)
4
+ BUILDDIR=$TOPDIR /build
5
+ DLDDIR=$TOPDIR /downloads
6
+
7
+ export PATH=/usr/local/bin:$PATH
8
+
9
+
10
+ echo " updating existing system"
11
+ sudo apt-get update
12
+ sudo apt-get upgrade -y
13
+
14
+ echo " installing prerequisites"
15
+ sudo apt-get install -y build-essential libc6-dev g++ gcc libglib2.0-dev pkg-config subversion apache2 apache2-threaded-dev bison gettext autoconf automake libtool
16
+
17
+ mkdir -p $BUILDDIR
18
+
19
+ echo
20
+ echo " downloading mono packages"
21
+ echo
22
+
23
+ cd $BUILDDIR
24
+
25
+ wget http://ftp.novell.com/pub/mono/sources/xsp/xsp-2.8.tar.bz2
26
+ wget http://ftp.novell.com/pub/mono/sources/mod_mono/mod_mono-2.8.tar.bz2
27
+ wget http://ftp.novell.com/pub/mono/sources/mono/mono-2.8.tar.bz2
28
+ wget http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.8.tar.bz2
29
+ wget http://ftp.novell.com/pub/mono/sources/gtk-sharp212/gtk-sharp-2.12.10.tar.bz2
30
+
31
+ cd $BUILDDIR
32
+ bunzip2 -df xsp-2.8.tar.bz2
33
+ tar -xvf xsp-2.8.tar
34
+
35
+ bunzip2 -df mod_mono-2.8.tar.bz2
36
+ tar -xvf mod_mono-2.8.tar
37
+
38
+ bunzip2 -df mono-2.8.tar.bz2
39
+ tar -xvf mono-2.8.tar
40
+
41
+ bunzip2 -df libgdiplus-2.8.tar.bz2
42
+ tar -xvf libgdiplus-2.8.tar
43
+
44
+ bunzip2 -df gtk-sharp-2.12.10.tar.bz2
45
+ tar -xvf gtk-sharp-2.12.10.tar
46
+
47
+ echo
48
+ echo " building and installing mono packages"
49
+ echo
50
+
51
+
52
+ cd $BUILDDIR
53
+ cd libgdiplus-2.8
54
+ ./configure --prefix=/usr/local
55
+ make
56
+ sudo make install
57
+
58
+ cd $BUILDDIR
59
+ cd mono-2.8
60
+ ./configure --prefix=/usr/local
61
+ make
62
+ sudo make install
63
+
64
+ cd $BUILDDIR
65
+ cd gtk-sharp-2.12.10
66
+ ./configure --prefix=/usr/local
67
+ make
68
+ sudo make install
69
+
70
+ cd $BUILDDIR
71
+ cd xsp-2.8
72
+ ./autogen.sh --prefix=/usr/local
73
+ make
74
+ sudo make install
75
+
76
+ cd $BUILDDIR
77
+ cd mod_mono
78
+ ./autogen.sh --prefix=/usr/local
79
+ make
80
+ sudo make install
81
+ cd $BUILDDIR
82
+
83
+ echo
84
+ echo " done"
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ TOPDIR=$( pwd)
4
+ BUILDDIR=$TOPDIR /build
5
+ DLDDIR=$TOPDIR /downloads
6
+
7
+ export PATH=/usr/local/bin:$PATH
8
+
9
+ cd $BUILDDIR
10
+
11
+ echo " building and installing mono packages"
12
+ echo
13
+ cd $BUILDDIR
14
+
15
+ cd mod_mono
16
+ sudo make uninstall
17
+
18
+ cd $BUILDDIR
19
+ cd xsp
20
+ sudo make uninstall
21
+
22
+ cd $BUILDDIR
23
+ cd mono-*
24
+ sudo make uninstall
25
+
26
+ cd $BUILDDIR
27
+ rm -rf mono-*
28
+
29
+ echo
30
+ echo " done"
You can’t perform that action at this time.
0 commit comments