Changes between Initial Version and Version 1 of CentOS5BuildNotes


Ignore:
Timestamp:
09/05/07 16:03:59 (10 years ago)
Author:
shiva
Comment:

Create page with build script and prereq list.

Legend:

Unmodified
Added
Removed
Modified
  • CentOS5BuildNotes

    v1 v1  
     1= CentOS 5 Build Notes = 
     2 
     3== Build Prerequisites == 
     4 
     5Using "yum install" or your favorite package manager, the following packages need to be installed: 
     6 
     7 * freetype-devel 
     8 * gcc-c++ 
     9 * flex 
     10 * libX11-devel 
     11 * libXft-devel 
     12 * libXext-devel 
     13 * libXpm-devel 
     14 * openssl-devel 
     15 * openldap-devel 
     16 * aspell-devel 
     17 * esound-devel 
     18 
     19== Build Script == 
     20 
     21The following script can be used to check out and build Mulberry on CentOS 5. 
     22 
     23Create a top-level empty directory to contain the build environment. On my system, I used /home/ken/devel/Mulberry. Place the patches below in this directory and edit the variable in the script to point to this directory. 
     24 
     25{{{ 
     26#!/bin/sh 
     27# Empirically-determined set of commands to build Mulberry from svn 
     28# checkout. 
     29# Run from an empty directory that will be used as the build root 
     30 
     31# quit the script if we get an error 
     32set -e 
     33 
     34# source of patches 
     35PATCH_DIR=/home/ken/devel/Mulberry 
     36 
     37# first check out main trunk 
     38svn co http://svn.mulberrymail.com/mulberry/Mulberry/trunk 
     39 
     40# Add svn:externals properties and update 
     41svn propset svn:externals -F ${PATCH_DIR}/svn-externals trunk 
     42svn up trunk 
     43 
     44# Apply patches 
     45patch trunk/Makefile-Linux < ${PATCH_DIR}/jxinit-patch.diff 
     46patch trunk/Linux/Make.header < ${PATCH_DIR}/Linux-Make.header-patch.diff 
     47 
     48# Add some symlinks to libraries 
     49ln -sf trunk/JX JX 
     50ln -sf trunk/Libraries Libraries 
     51ln -sf trunk/Sources_Common Sources_Common 
     52 
     53# Start "official" build 
     54cd trunk 
     55make -f Makefile-Linux jxinit 
     56cd JX 
     57make linux_intel 
     58cd ../Linux 
     59./links.sh 
     60makemake 
     61cd ../Build 
     62make static 
     63}}}