User:Deneb/Fedora

Compiling OOo4Kids/OOoLight on Fedora 14
1) yum install svn

2.1) For write access on the svn:

a) Creation of the ssh key for OOo4kids   ssh-keygen -t dsa -f ~/.ssh/id_dsa_ooo4kids_svn b) Add to the svn config file (~/.subversion/config) the key in the section tunnel: [tunnels] ssh = ssh -i /home/your_login_name/.ssh/id_dsa_ooo4kids_svn c) Checkout of the source code:   svn checkout svn+ssh://developername@svn.adullact.net/svnroot/ooo4kids1

2.2) Anonymous svn access:  svn checkout svn://svn.adullact.net/svnroot/ooo4kids1 3) Installation of compile dependencies yum install ccache gcc gperf curl bison flex gstreamer-devel \ cups-devel gcc-c++ perl-Archive-Zip pam-devel freetype-devel \ libxslt-devel python-devel libX11-devel xorg-x11-proto-devel \ libXau-devel libxcb-devel libX11-devel libXaw-devel libXrandr-devel \ patch libgnome-devel rpmdevtools redland redland-devel

4) Setting the environment variables:   export CC="ccache gcc"   export CXX="ccache g++"   ccache -M 1G   unset HAVE_GCC_VISIBILITY_FEATURE

Note: You can still temporarily disable ccache (export CCACHE_DISABLE=1) in case you don't want to use it.

./configure --with-lang="ar de es fi fr it nb nl pl zh-CN zh-TW" \ --disable-binfilter \ --disable-odk \ --disable-vba \ --disable-mozilla --with-system-python \ --with-system-libxml \ --enable-cups \ --disable-fontconfig \ --disable-gnome-vfs \ --with-use-shell=bash \ --with-java=no \ --with-OOo4Kids \ --disable-gtk \ --enable-presenter-extra-ui \ --with-system-redland Note: if you want to build OOoLight use the option --with-OOoLight instead of --with-OOo4Kids in the configure.

5) Configure completed!   cd ooo4kids1/trunk   ./bootstrap

6)      source LinuxX86Env.Set.sh

7) Check if all is ok with:

set | grep OOo4Kids

You should have:

OOo4Kids=YES or set | grep OOoLight should be: OOoLight=YES

8)   cd instsetoo_native 9) build --all -P3 -- -P3