Skip to content
Permalink
Browse files

- Added BUILD.ubuntu with specifics for Ubuntu Oneiric

 - Updated libpng with version 1.5.10 (1.5.7 not available anymore)
  • Loading branch information...
arjancwidlak committed Apr 4, 2012
1 parent 1d038f9 commit d432f0797edb77e51a377e150476e30a9a0915d7
Showing with 40 additions and 3 deletions.
  1. +33 −0 BUILD.ubuntu
  2. +1 −1 build.sh
  3. +2 −2 getsource.sh
  4. +4 −0 wre/docs/changelog.txt
@@ -0,0 +1,33 @@
To build a WRE on Ubuntu Oneiric Ocelot (11.10). Do the following tasks:

1) Install the following packages:

libncurses5-dev build-essential zlib1g-dev libssl-dev libexpat1-dev libglib2.0-dev wget graphviz graphviz-dev rsync

2) Install MySQL. We recommend the Percona Server version:

Installation is easy via the repository. Add (as root) the key:
# gpg --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
# gpg -a --export CD2EFD2A | sudo apt-key add -

Add the repository to /etc/apt/sources.list:
deb http://repo.percona.com/apt oneiric main
deb-src http://repo.percona.com/apt oneiric main

Install client and server and optionally the toolkit and test.
Note: this wil remove mysql-common.
# apt-get install percona-server-server percona-server-test-5.5 percona-toolkit percona-server-client

3) Install a my.cnf file. A suggested one is in var/setupfiles/my.cnf. It cannot be used without modification. (Need to look into this.)

You will need to add a system user webgui:
# useradd -s /sbin/nologin webgui

4) Import the WRE into your environment:
. wre/sbin/setenvironment.sh

5) Run:
./getsource.sh

6) Run:
./build.sh --all
@@ -326,7 +326,7 @@ buildImageMagick(){
buildProgram "giflib-4.1.6" "--enable-shared $CFG_CACHE"

# lib png
buildProgram "libpng-1.5.7" "--enable-shared $CFG_CACHE"
buildProgram "libpng-1.5.10" "--enable-shared $CFG_CACHE"

# graphviz
buildProgram "graphviz-2.24.0" "$CFG_CACHE --enable-static --with-libgd=no --with-mylibgd=no --disable-java --disable-swig --disable-perl --disable-python --disable-php --disable-ruby --disable-sharp --disable-python23 --disable-python24 --disable-python25 --disable-r --disable-tcl --disable-guile --disable-io --disable-lua --disable-ocaml"
@@ -34,8 +34,8 @@ wget -t 4 -nv http://www.graphviz.org/pub/graphviz/stable/SOURCES/graphviz-2.24.
tar xfz graphviz-2.24.0.tar.gz

# libpng image manipulation http://www.libpng.org/pub/png/libpng.html
wget ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.5.7.tar.gz
tar xfz libpng-1.5.7.tar.gz
wget ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.5.10.tar.gz
tar xfz libpng-1.5.10.tar.gz

# libgif image manipulation http://sourceforge.net/projects/giflib/
wget -t 4 -nv http://surfnet.dl.sourceforge.net/sourceforge/giflib/giflib-4.1.6.tar.bz2
@@ -1,5 +1,9 @@
W E B G U I R U N T I M E E N V I R O N M E N T C H A N G E L O G
-----------------------------------------------------------------------
0.9.7
- Added BUILD.ubuntu with specifics for Ubuntu Oneiric (Arjan Widlak/United Knowledge)
- Updated libpng with version 1.5.10 (Arjan Widlak/United Knowledge)

0.9.6
- Almost a complete rewrite, using starman, nginx, Percona mysql and perl 5.14.2.
- Includes all perl modules for WebGUI 8.0 beta.

0 comments on commit d432f07

Please sign in to comment.
You can’t perform that action at this time.