Difference between revisions of "Chart2"

From Apache OpenOffice Wiki
Jump to: navigation, search
(OOoBuild: add wikilinks for ccache and icecream)
(The bugs reported and the solutions.)
Line 55: Line 55:
  
 
TODO : Describing the OOoBuild build process.
 
TODO : Describing the OOoBuild build process.
 +
 +
 +
==== Some compiling material ====
 +
 +
Still needs to add some more work
 +
 +
  
  
Line 60: Line 67:
  
 
During the compiling step, you will not be able to compile the whole code
 
During the compiling step, you will not be able to compile the whole code
 +
 +
 +
===== ERROR 2 : the mandriva desktop error =====
 +
 +
While compiling, you may get the following error message :
 +
 +
<pre>
 +
1 module(s):
 +
        sysui
 +
need(s) to be rebuilt
 +
 +
Reason(s):
 +
 +
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva
 +
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat
 +
 +
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from sysui"
 +
</pre>
 +
 +
===== the solution =====
 +
 +
Try building the sysui project :
 +
 +
<pre>
 +
cd sysui
 +
build
 +
</pre>
 +
 +
An error message should rise from this module.
 +
 +
<pre>
 +
Eror message :
 +
 +
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :
 +
no such file or directory
 +
 +
Error code 1, while making
 +
'/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm'
 +
</pre>
 +
 +
This problem is solved by creating the following directory :
 +
 +
<pre>
 +
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration
 +
</pre>
 +
 +
Note : This error has been corrected with m155
  
 
== Developping for the new chart module ==
 
== Developping for the new chart module ==

Revision as of 18:09, 10 April 2006

This page gathers information about the new chart implementation of OpenOffice.org.


HERE - ADD some more information to make it look less empty...


Compiling the new chart module

The first step anyone need to achieve before starting to develop on the chart module is compiling OpenOffice.org with the needed modifications for the new chart module. OpenOffice.org provides two main ways to compile it : the "Vanilla" way and the "OOoBuild" way. Let's explain what they are and the differences between those two ways.

Compiling OpenOffice.org : the theory

Vanilla

Vanilla is the "standard" way to compile OOo. To compile OOo the "Vanilla" way, you only need to download the sources, unzip them, and follow the instructions given on the page [Add a link to the build steps from]. We will give Chart-specific details about this in the following sections.

OOoBuild

To make it simple, OOoBuild is a "wrapper" around the OpenOffice.org build process to make compiling OOo more straight-forward. Some of the enhancements added are :

  • patches for known compiling problems
  • integration with "ccache" and "icecream" to speed-up the process
  • linux distribution specific compiling steps (specific splash screen for Fedora...)

So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the OOo standard sources in a specific directory.

Compiling OpenOffice.org : the practice

Commmon steps

First of all before starting to compile anything, you will need to install all the dependencies and tools needed for the compiling steps. On the Tools project page, you should find all the information on the "Building the source" section :

http://tools.openoffice.org/

There, you should read the different sub-sections, they will give you a nice introduction on how everything works. You should also notice that the steps are different on each OS.

Vanilla

TODO : Describing the vanilla build process.

OOoBuild

TODO : Describing the OOoBuild build process.


Some compiling material

Still needs to add some more work



The bugs reported and the solutions.

During the compiling step, you will not be able to compile the whole code


ERROR 2 : the mandriva desktop error

While compiling, you may get the following error message :

1 module(s):
        sysui
need(s) to be rebuilt
 
Reason(s):
 
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat
 
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from sysui"
the solution

Try building the sysui project :

cd sysui
build

An error message should rise from this module.

Eror message :

[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :
no such file or directory

Error code 1, while making
'/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm'

This problem is solved by creating the following directory :

OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration

Note : This error has been corrected with m155

Developping for the new chart module

The common steps.

Documentation

Some useful information

Personal tools