Difference between revisions of "OOo Fedora Build"

From CDOT Wiki
Jump to: navigation, search
(Setting Distcc for OO build)
(Setting Distcc for OO build)
Line 51: Line 51:
 
* Execute dmake with option "-E"
 
* Execute dmake with option "-E"
 
** dmake -E
 
** dmake -E
* [http://tools.openoffice.org/dmake/dmake_4.3.html dmake Man Page]
+
* Read this as well [http://tools.openoffice.org/dmake/dmake_4.3.html dmake Man Page]
  
 
== Configuring The Source ==
 
== Configuring The Source ==

Revision as of 16:03, 3 February 2009

Openoffice.org Fedora Build

CDOT Computer Status - Who is working where
Student Name CDOT Computer Name Operation Status
Bartosz (irc:BartB) Aaron (irc:achan66) Australia building DEV40 Distcc: Done
Fardad (irc:fardad) Hong Kong <Fill in this> Distcc: Done
Fardad (irc:fardad) Ireland <Fill in this> Distcc: Done
Daeseon Moon (irc:daeseon) Germany Build Success Distcc: Done
Ladan Zahiroleslam(irc:l_zahir) China Build ended on Sat Jan 31 22:47:11 2009 (but it was done locally) I nead help to get distCC work with it .Building again M40...trying to get it done with distcc Distcc: Done
Tiago (IRC: Kamots) India Building OOo Regular Build: in progress
Frankie (IRC: Mini_Cheong) Liberia Build Success!!
Started: Jan 30 - 9:41pm
Ended: Jan 31 - 1:53am
Distcc: Done

Getting the Source

Use:

svn co http://svn.services.openoffice.org/ooo/tags/DEV300_m40

to checkout the source. Make sure you are using http instead of svn, if you are checking the source out in Seneca.

Setting C and C++ compilers

  • export CC='distcc gcc'
  • export CXX='distcc g++'

Setting Distcc for OO build

  • Create directory "/usr/lib/distcc/bin"
  • Make symbolic links in the directory
    • ln -s /usr/bin/distcc /usr/lib/distcc/bin/g++
    • ln -s /usr/bin/distcc /usr/lib/distcc/bin/c++
    • ln -s /usr/bin/distcc /usr/lib/distcc/bin/cc
    • ln -s /usr/bin/distcc /usr/lib/distcc/bin/gcc
  • Add the directory at the first of your PATH environment variable
    • export PATH=/usr/lib/distcc/bin:$PATH
  • After configuration is done, add MAXPROCESS in environment variable
    • export MAXPROCESS=8
  • Execute dmake with option "-E"
    • dmake -E
  • Read this as well dmake Man Page

Configuring The Source

Configuring error is different for every machine.
Here is some errors and fixes for it.

Issues Solutions
no cups/cups.h yum install cups-devel
no JDK installed yum install java-1.7.0-icedtea-devel.x86_64
no gperf yum install gperf.x86_64
no Ant yum install ant.x86_64
Can't locate Archive/Zip.pm in @INC yum install perl-Archive-Zip

Setting Environment Variables

   source LinuxX86-64Env.Set.sh

Bootstrapping

    ./bootstrap

Build

  dmake 2>~/errorLog

Build Issue