<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pagalmes</id>
	<title>Apache OpenOffice Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pagalmes"/>
	<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/wiki/Special:Contributions/Pagalmes"/>
	<updated>2026-08-12T22:11:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Extensions_Integration_into_Installation_Set&amp;diff=49113</id>
		<title>Extensions Integration into Installation Set</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Extensions_Integration_into_Installation_Set&amp;diff=49113"/>
		<updated>2007-10-03T09:36:58Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* A few questions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;How to integrate an extension into OpenOffice.org / StarOffice installation sets.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Global rules for extensions ==&lt;br /&gt;
&lt;br /&gt;
All extensions that need to be registered during installation process have to be installed into the directory “share/extension/install” in the Office installation. &amp;quot;Installed&amp;quot; means in this context only &amp;quot;copied&amp;quot; or &amp;quot;unpacked&amp;quot; from the installation set and does not include the registration process in the Office product. The scripts (Unix) and CustomActions (Windows), that register the extensions using the tool &amp;quot;unopkg&amp;quot;, look only in the directory “share/extension/install” for oxt files.&lt;br /&gt;
&lt;br /&gt;
All extensions have to be included into an own module in scp project. Therefore they are packed into their own RPM (Linux) or Solaris package (Solaris) and can be selected and deselected during the installation process on all platforms. The module defined in scp should not contain any additional content.&lt;br /&gt;
&lt;br /&gt;
=== A few questions ===&lt;br /&gt;
&lt;br /&gt;
==== QUESTIONS paragraph 1 ====&lt;br /&gt;
&lt;br /&gt;
- &amp;quot;Extensions need to be copied or unpacked&amp;quot;, that means that we can put the zip, oxt... or the unzipped version of the extension?&lt;br /&gt;
&lt;br /&gt;
- What format are accepted (OXT, ZIP, .uno.pkg)? That means are old extensions supported?&lt;br /&gt;
&lt;br /&gt;
- Can those instructions be used to add customization to the OOo msi package or are those instructions only valid if you add the extension to the build tree and compile OOo with the extension?&lt;br /&gt;
&lt;br /&gt;
- Talking about the customization of the OOo MSI, under Windows and Unix, do we need to create a custom action or a script, or does the OOo process manages that?&lt;br /&gt;
&lt;br /&gt;
- If we need to create the custom action, which command line do we need to use (unopkg add --shared &amp;lt;extension name&amp;gt;)?&lt;br /&gt;
&lt;br /&gt;
- Will the extension be installed on the OOo install (unopkg add --shared &amp;lt;extension name&amp;gt;) or in the profile with the option?&lt;br /&gt;
&lt;br /&gt;
==== QUESTIONS paragraph 2 ====&lt;br /&gt;
&lt;br /&gt;
- What is that SCP project you are talking about? You are talking about including the extension to the build tree and compile OOo with the extension?&lt;br /&gt;
&lt;br /&gt;
- Do we need to create SCP files also for Windows? In that second paragraph, you only deal with RPM (Linux) or Solaris package (Solaris).&lt;br /&gt;
&lt;br /&gt;
- What do you mean by &amp;quot;additional content&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
== Changes in scp projects ==&lt;br /&gt;
&lt;br /&gt;
In scp projects you have to add a file (the extension) and a module. This can be easily explained with the following example of the extension &lt;br /&gt;
&lt;br /&gt;
    File gid_File_Oxt_Myextension&lt;br /&gt;
        TXT_FILE_BODY;&lt;br /&gt;
        Styles = (PACKED);&lt;br /&gt;
        Dir = gid_Dir_Share_Extension_Install;&lt;br /&gt;
        Name = &amp;quot;myExtension.oxt&amp;quot;;&lt;br /&gt;
    End&lt;br /&gt;
&lt;br /&gt;
It is important to use “gid_Dir_Share_Extension_Install”. Only with this directory global id the extensions are installed into the correct directory.&lt;br /&gt;
&lt;br /&gt;
Additionally a module has to be defined in scp projects:&lt;br /&gt;
&lt;br /&gt;
    Module gid_Module_Optional_Myextension&lt;br /&gt;
        Name = &amp;quot;My extension”;&lt;br /&gt;
        Description = &amp;quot;Description of my extension&amp;quot;;&lt;br /&gt;
        ParentID = gid_Module_Optional;&lt;br /&gt;
        Default = YES;&lt;br /&gt;
        Files = (gid_File_Oxt_Myextension);&lt;br /&gt;
    End&lt;br /&gt;
&lt;br /&gt;
Of course “Name” and “Description” have to be localized.&lt;br /&gt;
That is all in the scp projects. This has to be done for all platforms. The additional tasks are platform dependent.&lt;br /&gt;
&lt;br /&gt;
== Platform dependent tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
&lt;br /&gt;
Congratulations, you have done it already. There are two CustomActions executed&lt;br /&gt;
at the end of the installation and at the start of the deinstallation. The&lt;br /&gt;
CustomAction at the end of the installation registers all extensions, that are&lt;br /&gt;
located in &amp;quot;share/extension/install&amp;quot;. The CustomAction for the uninstallation process deregisters all extensions located in &amp;quot;share/extension/install&amp;quot;. Therefore your new extension is automatically registered or deregistered without any further action.&lt;br /&gt;
&lt;br /&gt;
=== Unix ===&lt;br /&gt;
&lt;br /&gt;
For the Unix platforms it is required, that a RPM or Solaris package is created from the content of the new module that you defined in scp projects. Therefore you have to define a new package, which currently happens in the project instsetoo_native. The file &amp;quot;instsetoo_native/inc_openoffice/unix/packagelist.txt&amp;quot; is a list of all packages of OpenOffice.org.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The new package has a dependency to the package core02, which contains the&lt;br /&gt;
unopkg executable. Additionally this new package must include as &amp;quot;script&amp;quot; the&lt;br /&gt;
script file &amp;quot;shellscripts_extensions.txt&amp;quot;, that contains three scripts required for&lt;br /&gt;
RPM installation.&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
    Start&lt;br /&gt;
    module = &amp;quot;gid_Module_Optional_Myextension&amp;quot;&lt;br /&gt;
    script = &amp;quot;shellscripts_extensions.txt&amp;quot;&lt;br /&gt;
    solarispackagename = &amp;quot;%WITHOUTDOTUNIXPRODUCTNAME-myextension&amp;quot;&lt;br /&gt;
    solarisrequires = &amp;quot;%WITHOUTDOTUNIXPRODUCTNAME-core02&amp;quot;&lt;br /&gt;
    packagename = &amp;quot;%UNIXPRODUCTNAME-myextension&amp;quot;&lt;br /&gt;
    linuxreplaces = &amp;quot;%WITHOUTDOTUNIXPRODUCTNAME-myextension&amp;quot;&lt;br /&gt;
    freebsdrequires = &amp;quot;%UNIXPRODUCTNAME-core02&amp;quot;&lt;br /&gt;
    requires = &amp;quot;%UNIXPRODUCTNAME-core02&amp;quot;&lt;br /&gt;
    copyright = &amp;quot;1999-2006 by OpenOffice.org&amp;quot;&lt;br /&gt;
    vendor = &amp;quot;OpenOffice.org&amp;quot;&lt;br /&gt;
    description = &amp;quot;MY extension for %PRODUCTNAME %PRODUCTVERSION&amp;quot;&lt;br /&gt;
    destpath = &amp;quot;/opt/%UNIXPRODUCTNAME%PRODUCTVERSION&amp;quot;&lt;br /&gt;
    End&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s it. Now the installation set contains a new package, that includes your extension. For Linux and Solaris there are different procedures, in which the extension is registered in the Office suite:&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
&lt;br /&gt;
The RPMs including extensions have several scripts included, in which unopkg is called. This is required in &amp;quot;preinstall&amp;quot;, &amp;quot;postinstall&amp;quot; and &amp;quot;preremove&amp;quot;. Therefore the extension is registered after the rpm installation and deregistered if the rpm is removed.&lt;br /&gt;
&lt;br /&gt;
=== Solaris ===&lt;br /&gt;
&lt;br /&gt;
Still under construction, but a solution will be available soon. The Solaris solution differs from the Linux solution, because unopkg must not be called directly in the scripts included in the package.&lt;br /&gt;
&lt;br /&gt;
[[Category:Extensions]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Extensions_Integration_into_Installation_Set&amp;diff=49112</id>
		<title>Extensions Integration into Installation Set</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Extensions_Integration_into_Installation_Set&amp;diff=49112"/>
		<updated>2007-10-03T09:35:21Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Global rules for extensions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;How to integrate an extension into OpenOffice.org / StarOffice installation sets.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Global rules for extensions ==&lt;br /&gt;
&lt;br /&gt;
All extensions that need to be registered during installation process have to be installed into the directory “share/extension/install” in the Office installation. &amp;quot;Installed&amp;quot; means in this context only &amp;quot;copied&amp;quot; or &amp;quot;unpacked&amp;quot; from the installation set and does not include the registration process in the Office product. The scripts (Unix) and CustomActions (Windows), that register the extensions using the tool &amp;quot;unopkg&amp;quot;, look only in the directory “share/extension/install” for oxt files.&lt;br /&gt;
&lt;br /&gt;
All extensions have to be included into an own module in scp project. Therefore they are packed into their own RPM (Linux) or Solaris package (Solaris) and can be selected and deselected during the installation process on all platforms. The module defined in scp should not contain any additional content.&lt;br /&gt;
&lt;br /&gt;
=== A few questions ===&lt;br /&gt;
&lt;br /&gt;
==== QUESTIONS paragraph 1 ====&lt;br /&gt;
&lt;br /&gt;
- &amp;quot;Extensions need to be copied or unpacked&amp;quot;, that means that we can put the zip, oxt... or the unzipped version of the extension?&lt;br /&gt;
- What format are accepted (OXT, ZIP, .uno.pkg)? That means are old extensions supported?&lt;br /&gt;
&lt;br /&gt;
- Can those instructions be used to add customization to the OOo msi package or are those instructions only valid if you add the extension to the build tree and compile OOo with the extension?&lt;br /&gt;
- Talking about the customization of the OOo MSI, under Windows and Unix, do we need to create a custom action or a script, or does the OOo process manages that?&lt;br /&gt;
- If we need to create the custom action, which command line do we need to use (unopkg add --shared &amp;lt;extension name&amp;gt;)?&lt;br /&gt;
- Will the extension be installed on the OOo install (unopkg add --shared &amp;lt;extension name&amp;gt;) or in the profile with the option?&lt;br /&gt;
&lt;br /&gt;
==== QUESTIONS paragraph 2 ====&lt;br /&gt;
&lt;br /&gt;
- What is that SCP project you are talking about? You are talking about including the extension to the build tree and compile OOo with the extension?&lt;br /&gt;
- Do we need to create SCP files also for Windows? In that second paragraph, you only deal with RPM (Linux) or Solaris package (Solaris).&lt;br /&gt;
- What do you mean by &amp;quot;additional content&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
== Changes in scp projects ==&lt;br /&gt;
&lt;br /&gt;
In scp projects you have to add a file (the extension) and a module. This can be easily explained with the following example of the extension &lt;br /&gt;
&lt;br /&gt;
    File gid_File_Oxt_Myextension&lt;br /&gt;
        TXT_FILE_BODY;&lt;br /&gt;
        Styles = (PACKED);&lt;br /&gt;
        Dir = gid_Dir_Share_Extension_Install;&lt;br /&gt;
        Name = &amp;quot;myExtension.oxt&amp;quot;;&lt;br /&gt;
    End&lt;br /&gt;
&lt;br /&gt;
It is important to use “gid_Dir_Share_Extension_Install”. Only with this directory global id the extensions are installed into the correct directory.&lt;br /&gt;
&lt;br /&gt;
Additionally a module has to be defined in scp projects:&lt;br /&gt;
&lt;br /&gt;
    Module gid_Module_Optional_Myextension&lt;br /&gt;
        Name = &amp;quot;My extension”;&lt;br /&gt;
        Description = &amp;quot;Description of my extension&amp;quot;;&lt;br /&gt;
        ParentID = gid_Module_Optional;&lt;br /&gt;
        Default = YES;&lt;br /&gt;
        Files = (gid_File_Oxt_Myextension);&lt;br /&gt;
    End&lt;br /&gt;
&lt;br /&gt;
Of course “Name” and “Description” have to be localized.&lt;br /&gt;
That is all in the scp projects. This has to be done for all platforms. The additional tasks are platform dependent.&lt;br /&gt;
&lt;br /&gt;
== Platform dependent tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
&lt;br /&gt;
Congratulations, you have done it already. There are two CustomActions executed&lt;br /&gt;
at the end of the installation and at the start of the deinstallation. The&lt;br /&gt;
CustomAction at the end of the installation registers all extensions, that are&lt;br /&gt;
located in &amp;quot;share/extension/install&amp;quot;. The CustomAction for the uninstallation process deregisters all extensions located in &amp;quot;share/extension/install&amp;quot;. Therefore your new extension is automatically registered or deregistered without any further action.&lt;br /&gt;
&lt;br /&gt;
=== Unix ===&lt;br /&gt;
&lt;br /&gt;
For the Unix platforms it is required, that a RPM or Solaris package is created from the content of the new module that you defined in scp projects. Therefore you have to define a new package, which currently happens in the project instsetoo_native. The file &amp;quot;instsetoo_native/inc_openoffice/unix/packagelist.txt&amp;quot; is a list of all packages of OpenOffice.org.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The new package has a dependency to the package core02, which contains the&lt;br /&gt;
unopkg executable. Additionally this new package must include as &amp;quot;script&amp;quot; the&lt;br /&gt;
script file &amp;quot;shellscripts_extensions.txt&amp;quot;, that contains three scripts required for&lt;br /&gt;
RPM installation.&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
    Start&lt;br /&gt;
    module = &amp;quot;gid_Module_Optional_Myextension&amp;quot;&lt;br /&gt;
    script = &amp;quot;shellscripts_extensions.txt&amp;quot;&lt;br /&gt;
    solarispackagename = &amp;quot;%WITHOUTDOTUNIXPRODUCTNAME-myextension&amp;quot;&lt;br /&gt;
    solarisrequires = &amp;quot;%WITHOUTDOTUNIXPRODUCTNAME-core02&amp;quot;&lt;br /&gt;
    packagename = &amp;quot;%UNIXPRODUCTNAME-myextension&amp;quot;&lt;br /&gt;
    linuxreplaces = &amp;quot;%WITHOUTDOTUNIXPRODUCTNAME-myextension&amp;quot;&lt;br /&gt;
    freebsdrequires = &amp;quot;%UNIXPRODUCTNAME-core02&amp;quot;&lt;br /&gt;
    requires = &amp;quot;%UNIXPRODUCTNAME-core02&amp;quot;&lt;br /&gt;
    copyright = &amp;quot;1999-2006 by OpenOffice.org&amp;quot;&lt;br /&gt;
    vendor = &amp;quot;OpenOffice.org&amp;quot;&lt;br /&gt;
    description = &amp;quot;MY extension for %PRODUCTNAME %PRODUCTVERSION&amp;quot;&lt;br /&gt;
    destpath = &amp;quot;/opt/%UNIXPRODUCTNAME%PRODUCTVERSION&amp;quot;&lt;br /&gt;
    End&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s it. Now the installation set contains a new package, that includes your extension. For Linux and Solaris there are different procedures, in which the extension is registered in the Office suite:&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
&lt;br /&gt;
The RPMs including extensions have several scripts included, in which unopkg is called. This is required in &amp;quot;preinstall&amp;quot;, &amp;quot;postinstall&amp;quot; and &amp;quot;preremove&amp;quot;. Therefore the extension is registered after the rpm installation and deregistered if the rpm is removed.&lt;br /&gt;
&lt;br /&gt;
=== Solaris ===&lt;br /&gt;
&lt;br /&gt;
Still under construction, but a solution will be available soon. The Solaris solution differs from the Linux solution, because unopkg must not be called directly in the scripts included in the package.&lt;br /&gt;
&lt;br /&gt;
[[Category:Extensions]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Extensions_Integration_into_Installation_Set&amp;diff=49111</id>
		<title>Extensions Integration into Installation Set</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Extensions_Integration_into_Installation_Set&amp;diff=49111"/>
		<updated>2007-10-03T09:33:08Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Global rules for extensions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;How to integrate an extension into OpenOffice.org / StarOffice installation sets.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Global rules for extensions ==&lt;br /&gt;
&lt;br /&gt;
All extensions that need to be registered during installation process have to be installed into the directory “share/extension/install” in the Office installation. &amp;quot;Installed&amp;quot; means in this context only &amp;quot;copied&amp;quot; or &amp;quot;unpacked&amp;quot; from the installation set and does not include the registration process in the Office product. The scripts (Unix) and CustomActions (Windows), that register the extensions using the tool &amp;quot;unopkg&amp;quot;, look only in the directory “share/extension/install” for oxt files.&lt;br /&gt;
&lt;br /&gt;
All extensions have to be included into an own module in scp project. Therefore they are packed into their own RPM (Linux) or Solaris package (Solaris) and can be selected and deselected during the installation process on all platforms. The module defined in scp should not contain any additional content.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QUESTIONS paragraph 1&lt;br /&gt;
&lt;br /&gt;
- &amp;quot;Extensions need to be copied or unpacked&amp;quot;, that means that we can put the zip, oxt... or the unzipped version of the extension?&lt;br /&gt;
- What format are accepted (OXT, ZIP, .uno.pkg)? That means are old extensions supported?&lt;br /&gt;
&lt;br /&gt;
- Can those instructions be used to add customization to the OOo msi package or are those instructions only valid if you add the extension to the build tree and compile OOo with the extension?&lt;br /&gt;
- Talking about the customization of the OOo MSI, under Windows and Unix, do we need to create a custom action or a script, or does the OOo process manages that?&lt;br /&gt;
- If we need to create the custom action, which command line do we need to use (unopkg add --shared &amp;lt;extension name&amp;gt;)?&lt;br /&gt;
- Will the extension be installed on the OOo install (unopkg add --shared &amp;lt;extension name&amp;gt;) or in the profile with the option?&lt;br /&gt;
&lt;br /&gt;
QUESTIONS paragraph 2&lt;br /&gt;
&lt;br /&gt;
- What is that SCP project you are talking about? You are talking about including the extension to the build tree and compile OOo with the extension?&lt;br /&gt;
- Do we need to create SCP files also for Windows? In that second paragraph, you only deal with RPM (Linux) or Solaris package (Solaris).&lt;br /&gt;
- What do you mean by &amp;quot;additional content&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
== Changes in scp projects ==&lt;br /&gt;
&lt;br /&gt;
In scp projects you have to add a file (the extension) and a module. This can be easily explained with the following example of the extension &lt;br /&gt;
&lt;br /&gt;
    File gid_File_Oxt_Myextension&lt;br /&gt;
        TXT_FILE_BODY;&lt;br /&gt;
        Styles = (PACKED);&lt;br /&gt;
        Dir = gid_Dir_Share_Extension_Install;&lt;br /&gt;
        Name = &amp;quot;myExtension.oxt&amp;quot;;&lt;br /&gt;
    End&lt;br /&gt;
&lt;br /&gt;
It is important to use “gid_Dir_Share_Extension_Install”. Only with this directory global id the extensions are installed into the correct directory.&lt;br /&gt;
&lt;br /&gt;
Additionally a module has to be defined in scp projects:&lt;br /&gt;
&lt;br /&gt;
    Module gid_Module_Optional_Myextension&lt;br /&gt;
        Name = &amp;quot;My extension”;&lt;br /&gt;
        Description = &amp;quot;Description of my extension&amp;quot;;&lt;br /&gt;
        ParentID = gid_Module_Optional;&lt;br /&gt;
        Default = YES;&lt;br /&gt;
        Files = (gid_File_Oxt_Myextension);&lt;br /&gt;
    End&lt;br /&gt;
&lt;br /&gt;
Of course “Name” and “Description” have to be localized.&lt;br /&gt;
That is all in the scp projects. This has to be done for all platforms. The additional tasks are platform dependent.&lt;br /&gt;
&lt;br /&gt;
== Platform dependent tasks ==&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
&lt;br /&gt;
Congratulations, you have done it already. There are two CustomActions executed&lt;br /&gt;
at the end of the installation and at the start of the deinstallation. The&lt;br /&gt;
CustomAction at the end of the installation registers all extensions, that are&lt;br /&gt;
located in &amp;quot;share/extension/install&amp;quot;. The CustomAction for the uninstallation process deregisters all extensions located in &amp;quot;share/extension/install&amp;quot;. Therefore your new extension is automatically registered or deregistered without any further action.&lt;br /&gt;
&lt;br /&gt;
=== Unix ===&lt;br /&gt;
&lt;br /&gt;
For the Unix platforms it is required, that a RPM or Solaris package is created from the content of the new module that you defined in scp projects. Therefore you have to define a new package, which currently happens in the project instsetoo_native. The file &amp;quot;instsetoo_native/inc_openoffice/unix/packagelist.txt&amp;quot; is a list of all packages of OpenOffice.org.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The new package has a dependency to the package core02, which contains the&lt;br /&gt;
unopkg executable. Additionally this new package must include as &amp;quot;script&amp;quot; the&lt;br /&gt;
script file &amp;quot;shellscripts_extensions.txt&amp;quot;, that contains three scripts required for&lt;br /&gt;
RPM installation.&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
    Start&lt;br /&gt;
    module = &amp;quot;gid_Module_Optional_Myextension&amp;quot;&lt;br /&gt;
    script = &amp;quot;shellscripts_extensions.txt&amp;quot;&lt;br /&gt;
    solarispackagename = &amp;quot;%WITHOUTDOTUNIXPRODUCTNAME-myextension&amp;quot;&lt;br /&gt;
    solarisrequires = &amp;quot;%WITHOUTDOTUNIXPRODUCTNAME-core02&amp;quot;&lt;br /&gt;
    packagename = &amp;quot;%UNIXPRODUCTNAME-myextension&amp;quot;&lt;br /&gt;
    linuxreplaces = &amp;quot;%WITHOUTDOTUNIXPRODUCTNAME-myextension&amp;quot;&lt;br /&gt;
    freebsdrequires = &amp;quot;%UNIXPRODUCTNAME-core02&amp;quot;&lt;br /&gt;
    requires = &amp;quot;%UNIXPRODUCTNAME-core02&amp;quot;&lt;br /&gt;
    copyright = &amp;quot;1999-2006 by OpenOffice.org&amp;quot;&lt;br /&gt;
    vendor = &amp;quot;OpenOffice.org&amp;quot;&lt;br /&gt;
    description = &amp;quot;MY extension for %PRODUCTNAME %PRODUCTVERSION&amp;quot;&lt;br /&gt;
    destpath = &amp;quot;/opt/%UNIXPRODUCTNAME%PRODUCTVERSION&amp;quot;&lt;br /&gt;
    End&lt;br /&gt;
&lt;br /&gt;
That&amp;#039;s it. Now the installation set contains a new package, that includes your extension. For Linux and Solaris there are different procedures, in which the extension is registered in the Office suite:&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
&lt;br /&gt;
The RPMs including extensions have several scripts included, in which unopkg is called. This is required in &amp;quot;preinstall&amp;quot;, &amp;quot;postinstall&amp;quot; and &amp;quot;preremove&amp;quot;. Therefore the extension is registered after the rpm installation and deregistered if the rpm is removed.&lt;br /&gt;
&lt;br /&gt;
=== Solaris ===&lt;br /&gt;
&lt;br /&gt;
Still under construction, but a solution will be available soon. The Solaris solution differs from the Linux solution, because unopkg must not be called directly in the scripts included in the package.&lt;br /&gt;
&lt;br /&gt;
[[Category:Extensions]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=FR/FeaturesCalc&amp;diff=41098</id>
		<title>FR/FeaturesCalc</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=FR/FeaturesCalc&amp;diff=41098"/>
		<updated>2007-07-30T12:24:53Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* DataPilot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Sort =&lt;br /&gt;
* [http://distribution.openoffice.org/issues/buglist.cgi?issue_type=ENHANCEMENT&amp;amp;issue_type=FEATURE&amp;amp;component=Spreadsheet&amp;amp;issue_status=UNCONFIRMED&amp;amp;issue_status=NEW&amp;amp;issue_status=STARTED&amp;amp;issue_status=REOPENED&amp;amp;issue_status=RESOLVED&amp;amp;email1=&amp;amp;emailtype1=exact&amp;amp;emailassigned_to1=1&amp;amp;email2=&amp;amp;emailtype2=exact&amp;amp;emailreporter2=1&amp;amp;issueidtype=include&amp;amp;issue_id=&amp;amp;changedin=&amp;amp;votes=&amp;amp;chfieldfrom=&amp;amp;chfieldto=Now&amp;amp;chfieldvalue=&amp;amp;short_desc=sort&amp;amp;short_desc_type=allwords&amp;amp;long_desc=&amp;amp;long_desc_type=allwords&amp;amp;issue_file_loc=&amp;amp;issue_file_loc_type=substring&amp;amp;status_whiteboard=&amp;amp;status_whiteboard_type=substring&amp;amp;keywords=&amp;amp;keywords_type=anytokens&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0=&amp;amp;cmdtype=doit&amp;amp;namedcmd=Chart-Unconfirmed&amp;amp;newqueryname=&amp;amp;order=Reuse+same+sort+as+last+time&amp;amp;Submit+query=Submit+query All sort Issues]&lt;br /&gt;
&lt;br /&gt;
* Sorting should default to selected column : [http://distribution.openoffice.org/issues/show_bug.cgi?id=7277 7277]&lt;br /&gt;
* Data sorting by using more than 3 items (columns) : [http://distribution.openoffice.org/issues/show_bug.cgi?id=10933 10933] and [http://distribution.openoffice.org/issues/show_bug.cgi?id=22884 22884]&lt;br /&gt;
* Sort by number groups : [http://distribution.openoffice.org/issues/show_bug.cgi?id=22419 22419]&lt;br /&gt;
* Title lines are sorted as data :  [http://distribution.openoffice.org/issues/show_bug.cgi?id=22758 22758] and  [http://distribution.openoffice.org/issues/show_bug.cgi?id=54748 54748]&lt;br /&gt;
* Cell notes do not move when cells are sorted : [http://distribution.openoffice.org/issues/show_bug.cgi?id=59745 59745]&lt;br /&gt;
* Ability to sort subtotals : [http://distribution.openoffice.org/issues/show_bug.cgi?id=70873 70873]&lt;br /&gt;
&lt;br /&gt;
= DataPilot =&lt;br /&gt;
&lt;br /&gt;
* [http://distribution.openoffice.org/issues/buglist.cgi?issue_type=ENHANCEMENT&amp;amp;issue_type=FEATURE&amp;amp;component=Spreadsheet&amp;amp;issue_status=UNCONFIRMED&amp;amp;issue_status=NEW&amp;amp;issue_status=STARTED&amp;amp;issue_status=REOPENED&amp;amp;issue_status=RESOLVED&amp;amp;email1=&amp;amp;emailtype1=exact&amp;amp;emailassigned_to1=1&amp;amp;email2=&amp;amp;emailtype2=exact&amp;amp;emailreporter2=1&amp;amp;issueidtype=include&amp;amp;issue_id=&amp;amp;changedin=&amp;amp;votes=&amp;amp;chfieldfrom=&amp;amp;chfieldto=Now&amp;amp;chfieldvalue=&amp;amp;short_desc=datapilot&amp;amp;short_desc_type=allwords&amp;amp;long_desc=&amp;amp;long_desc_type=allwords&amp;amp;issue_file_loc=&amp;amp;issue_file_loc_type=substring&amp;amp;status_whiteboard=&amp;amp;status_whiteboard_type=substring&amp;amp;keywords=&amp;amp;keywords_type=anytokens&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0=&amp;amp;cmdtype=doit&amp;amp;namedcmd=Chart-Unconfirmed&amp;amp;newqueryname=&amp;amp;order=Reuse+same+sort+as+last+time&amp;amp;Submit+query=Submit+query All DataPilot issues]&lt;br /&gt;
* Change datapilot source range [http://qa.openoffice.org/issues/show_bug.cgi?id=23658 23658] &lt;br /&gt;
* Allow more than 8 data fields : [http://distribution.openoffice.org/issues/show_bug.cgi?id=5759 5759]&lt;br /&gt;
* Cell Styles not changeable to datapilot generated cells : [http://distribution.openoffice.org/issues/show_bug.cgi?id=11103 11103] and [http://distribution.openoffice.org/issues/show_bug.cgi?id=53234 53234]&lt;br /&gt;
* Allow to change labels : [http://distribution.openoffice.org/issues/show_bug.cgi?id=22029 22029]&lt;br /&gt;
* Copies of Datapilot are non-functional : [http://distribution.openoffice.org/issues/show_bug.cgi?id=27611 27611]&lt;br /&gt;
* Keep formatting associated with items : [http://distribution.openoffice.org/issues/show_bug.cgi?id=32303 32303]&lt;br /&gt;
* Consolidation areas as source :  [http://distribution.openoffice.org/issues/show_bug.cgi?id=32306 32306]&lt;br /&gt;
* Display of empty results and errors :  [http://distribution.openoffice.org/issues/show_bug.cgi?id=32308 32308]&lt;br /&gt;
* Double-click in Datapilot cell should provide calculation data of that cell : [http://distribution.openoffice.org/issues/show_bug.cgi?id=57030 57030]&lt;br /&gt;
* Sorting by dataField : [http://distribution.openoffice.org/issues/show_bug.cgi?id=72304 72304]&lt;br /&gt;
&lt;br /&gt;
= Merge cells =&lt;br /&gt;
* [http://distribution.openoffice.org/issues/buglist.cgi?issue_type=ENHANCEMENT&amp;amp;issue_type=FEATURE&amp;amp;component=Spreadsheet&amp;amp;issue_status=UNCONFIRMED&amp;amp;issue_status=NEW&amp;amp;issue_status=STARTED&amp;amp;issue_status=REOPENED&amp;amp;issue_status=RESOLVED&amp;amp;email1=&amp;amp;emailtype1=exact&amp;amp;emailassigned_to1=1&amp;amp;email2=&amp;amp;emailtype2=exact&amp;amp;emailreporter2=1&amp;amp;issueidtype=include&amp;amp;issue_id=&amp;amp;changedin=&amp;amp;votes=&amp;amp;chfieldfrom=&amp;amp;chfieldto=Now&amp;amp;chfieldvalue=&amp;amp;short_desc=merge&amp;amp;short_desc_type=allwords&amp;amp;long_desc=&amp;amp;long_desc_type=allwords&amp;amp;issue_file_loc=&amp;amp;issue_file_loc_type=substring&amp;amp;status_whiteboard=&amp;amp;status_whiteboard_type=substring&amp;amp;keywords=&amp;amp;keywords_type=anytokens&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0=&amp;amp;cmdtype=doit&amp;amp;namedcmd=Chart-Unconfirmed&amp;amp;newqueryname=&amp;amp;order=Reuse+same+sort+as+last+time&amp;amp;Submit+query=Submit+query All Merge Cells issues]&lt;br /&gt;
&lt;br /&gt;
* Ability to merge cells already merged : [http://distribution.openoffice.org/issues/show_bug.cgi?id=2131 2131]&lt;br /&gt;
* Copying across fromulas from one merged cell to another : [http://distribution.openoffice.org/issues/show_bug.cgi?id=7500 7500]&lt;br /&gt;
* Allow deleting from merged ranges : [http://distribution.openoffice.org/issues/show_bug.cgi?id=8363 8363]&lt;br /&gt;
* Merge Contain Cells : [http://distribution.openoffice.org/issues/show_bug.cgi?id=40686 40686]&lt;br /&gt;
* Validity/Input Help Does NOT Work With Merged Cells : [http://distribution.openoffice.org/issues/show_bug.cgi?id=43818 43818]&lt;br /&gt;
* Calc - &amp;quot;column optimal width&amp;quot; does not work on merged cells : [http://distribution.openoffice.org/issues/show_bug.cgi?id=50193 50193]&lt;br /&gt;
* Merged cells do not drag-fill properly : [http://distribution.openoffice.org/issues/show_bug.cgi?id=66028 66028]&lt;br /&gt;
* Recording changes should not disable merge cell : [http://distribution.openoffice.org/issues/show_bug.cgi?id=68742 68742]&lt;br /&gt;
* Unexpected behavior when extending merged cells : [http://distribution.openoffice.org/issues/show_bug.cgi?id=72178 72178]&lt;br /&gt;
&lt;br /&gt;
= AutoFilter =&lt;br /&gt;
* [http://distribution.openoffice.org/issues/buglist.cgi?Submit+query=Submit+query&amp;amp;issue_type=DEFECT&amp;amp;issue_type=ENHANCEMENT&amp;amp;issue_type=FEATURE&amp;amp;issue_type=TASK&amp;amp;issue_type=PATCH&amp;amp;component=Spreadsheet&amp;amp;issue_status=UNCONFIRMED&amp;amp;issue_status=NEW&amp;amp;issue_status=STARTED&amp;amp;issue_status=REOPENED&amp;amp;issue_status=RESOLVED&amp;amp;email1=&amp;amp;emailtype1=exact&amp;amp;emailassigned_to1=1&amp;amp;email2=&amp;amp;emailtype2=exact&amp;amp;emailreporter2=1&amp;amp;issueidtype=include&amp;amp;issue_id=&amp;amp;changedin=&amp;amp;votes=&amp;amp;chfieldfrom=&amp;amp;chfieldto=Now&amp;amp;chfieldvalue=&amp;amp;short_desc=autofilter&amp;amp;short_desc_type=allwords&amp;amp;long_desc=&amp;amp;long_desc_type=allwords&amp;amp;issue_file_loc=&amp;amp;issue_file_loc_type=substring&amp;amp;status_whiteboard=&amp;amp;status_whiteboard_type=substring&amp;amp;keywords=&amp;amp;keywords_type=anytokens&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0=&amp;amp;cmdtype=doit&amp;amp;order=Reuse+same+sort+as+last+time All AutoFilter issues] &lt;br /&gt;
&lt;br /&gt;
* [http://distribution.openoffice.org/issues/buglist.cgi?issue_type=ENHANCEMENT&amp;amp;issue_type=FEATURE&amp;amp;component=Spreadsheet&amp;amp;issue_status=UNCONFIRMED&amp;amp;issue_status=NEW&amp;amp;issue_status=STARTED&amp;amp;issue_status=REOPENED&amp;amp;issue_status=RESOLVED&amp;amp;email1=&amp;amp;emailtype1=exact&amp;amp;emailassigned_to1=1&amp;amp;email2=&amp;amp;emailtype2=exact&amp;amp;emailreporter2=1&amp;amp;issueidtype=include&amp;amp;issue_id=&amp;amp;changedin=&amp;amp;votes=&amp;amp;chfieldfrom=&amp;amp;chfieldto=Now&amp;amp;chfieldvalue=&amp;amp;short_desc=filter&amp;amp;short_desc_type=allwords&amp;amp;long_desc=&amp;amp;long_desc_type=allwords&amp;amp;issue_file_loc=&amp;amp;issue_file_loc_type=substring&amp;amp;status_whiteboard=&amp;amp;status_whiteboard_type=substring&amp;amp;keywords=&amp;amp;keywords_type=anytokens&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0=&amp;amp;cmdtype=doit&amp;amp;namedcmd=Chart-Unconfirmed&amp;amp;newqueryname=&amp;amp;order=Reuse+same+sort+as+last+time&amp;amp;Submit+query=Submit+query All Filter issues]&lt;br /&gt;
* Autofilter works just on one sheet (only one auto-range per document) : [http://distribution.openoffice.org/issues/show_bug.cgi?id=12666 12666]&lt;br /&gt;
* Add wildcards to the standard autofilter : [http://distribution.openoffice.org/issues/show_bug.cgi?id=17993 17993]&lt;br /&gt;
* Up standard autofilter fields from 3 to 4 : [http://distribution.openoffice.org/issues/show_bug.cgi?id=17995 17995]&lt;br /&gt;
* Basing autofiltering on the result set, not all rows : [http://distribution.openoffice.org/issues/show_bug.cgi?id=27745 27745]&lt;br /&gt;
* Show resulting number of rows in status bar when using autofilter : [http://distribution.openoffice.org/issues/show_bug.cgi?id=28268 28268]&lt;br /&gt;
* Behavior with cut/copy/paste/fill cells and autofilter :  [http://distribution.openoffice.org/issues/show_bug.cgi?id=33851 33851]&lt;br /&gt;
* Empty / Non Empty options for Autofilter meny : [http://distribution.openoffice.org/issues/show_bug.cgi?id=35578 35578]&lt;br /&gt;
* No option to permit autofilter in protected sheets when exporting as XLS :  [http://distribution.openoffice.org/issues/show_bug.cgi?id=57708 57708]&lt;br /&gt;
* Autofilter does not recognize added entries : [http://distribution.openoffice.org/issues/show_bug.cgi?id=59229 59229]&lt;br /&gt;
* AutoFilter: Not intuitive : [http://distribution.openoffice.org/issues/show_bug.cgi?id=76277 76277]&lt;br /&gt;
&lt;br /&gt;
= Multiple sheets =&lt;br /&gt;
* [http://qa.openoffice.org/issues/buglist.cgi?issue_type=ENHANCEMENT&amp;amp;issue_type=FEATURE&amp;amp;component=Spreadsheet&amp;amp;issue_status=UNCONFIRMED&amp;amp;issue_status=NEW&amp;amp;issue_status=STARTED&amp;amp;issue_status=REOPENED&amp;amp;issue_status=RESOLVED&amp;amp;email1=&amp;amp;emailtype1=exact&amp;amp;emailassigned_to1=1&amp;amp;email2=&amp;amp;emailtype2=exact&amp;amp;emailreporter2=1&amp;amp;issueidtype=include&amp;amp;issue_id=&amp;amp;changedin=&amp;amp;votes=&amp;amp;chfieldfrom=&amp;amp;chfieldto=&amp;amp;chfieldvalue=&amp;amp;short_desc=multi+sheet&amp;amp;short_desc_type=allwords&amp;amp;long_desc=&amp;amp;long_desc_type=allwords&amp;amp;issue_file_loc=&amp;amp;issue_file_loc_type=fulltext&amp;amp;status_whiteboard=&amp;amp;status_whiteboard_type=fulltext&amp;amp;keywords=&amp;amp;keywords_type=anytokens&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0=&amp;amp;cmdtype=doit&amp;amp;namedcmd=Calc-2.3&amp;amp;newqueryname=&amp;amp;order=Reuse+same+sort+as+last+time&amp;amp;Submit+query=Submit+query All issues content &amp;quot;Multi + Sheet&amp;quot;]&lt;br /&gt;
* [http://qa.openoffice.org/issues/buglist.cgi?issue_type=ENHANCEMENT&amp;amp;issue_type=FEATURE&amp;amp;component=Spreadsheet&amp;amp;issue_status=UNCONFIRMED&amp;amp;issue_status=NEW&amp;amp;issue_status=STARTED&amp;amp;issue_status=REOPENED&amp;amp;issue_status=RESOLVED&amp;amp;email1=&amp;amp;emailtype1=exact&amp;amp;emailassigned_to1=1&amp;amp;email2=&amp;amp;emailtype2=exact&amp;amp;emailreporter2=1&amp;amp;issueidtype=include&amp;amp;issue_id=&amp;amp;changedin=&amp;amp;votes=&amp;amp;chfieldfrom=&amp;amp;chfieldto=&amp;amp;chfieldvalue=&amp;amp;short_desc=sheet&amp;amp;short_desc_type=allwords&amp;amp;long_desc=&amp;amp;long_desc_type=allwords&amp;amp;issue_file_loc=&amp;amp;issue_file_loc_type=fulltext&amp;amp;status_whiteboard=&amp;amp;status_whiteboard_type=fulltext&amp;amp;keywords=&amp;amp;keywords_type=anytokens&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0=&amp;amp;cmdtype=doit&amp;amp;order=Reuse+same+sort+as+last+time&amp;amp;Submit+query=Submit+query All Sheet issues]&lt;br /&gt;
* Cannot insert lines on multiple sheets : [http://qa.openoffice.org/issues/show_bug.cgi?id=23263 23263]&lt;br /&gt;
* Add/delete rows/columns across selected sheets : [http://qa.openoffice.org/issues/show_bug.cgi?id=7088 7088]&lt;br /&gt;
* Add &amp;quot;Deselect all sheet&amp;quot; to context menu of worksheet tab menu : [http://qa.openoffice.org/issues/show_bug.cgi?id=7921 7921]&lt;br /&gt;
* Multi-sheet paste special with shift down broken : [http://qa.openoffice.org/issues/show_bug.cgi?id=17044 17044] or [http://qa.openoffice.org/issues/show_bug.cgi?id=29849 29849] &lt;br /&gt;
* Range Selection Lost When Switching Between Sheet Tabs : [http://qa.openoffice.org/issues/show_bug.cgi?id=25643 25643]&lt;br /&gt;
* Selection of multiple sheets using short-cut keys: selection works but not deselection : [http://qa.openoffice.org/issues/show_bug.cgi?id=38546 38546]&lt;br /&gt;
* Allow to send a single sheet from multi sheet document as email : [http://qa.openoffice.org/issues/show_bug.cgi?id=71751 71751]&lt;br /&gt;
&lt;br /&gt;
= Print =&lt;br /&gt;
* [http://distribution.openoffice.org/issues/buglist.cgi?resort=1&amp;amp;Submit%20query=Submit%20query;issue_type=ENHANCEMENT;issue_type=FEATURE;component=Spreadsheet;issue_status=UNCONFIRMED;issue_status=NEW;issue_status=STARTED;issue_status=REOPENED;issue_status=RESOLVED;email1=;emailtype1=exact;emailassigned_to1=1;email2=;emailtype2=exact;emailreporter2=1;issueidtype=include;issue_id=;changedin=;votes=;chfieldfrom=;chfieldto=Now;chfieldvalue=;short_desc=print;short_desc_type=allwords;long_desc=;long_desc_type=allwords;issue_file_loc=;issue_file_loc_type=substring;status_whiteboard=;status_whiteboard_type=substring;keywords=;keywords_type=anytokens;field0-0-0=noop;type0-0-0=noop;value0-0-0=;namedcmd=Chart-Unconfirmed;newqueryname=&amp;amp;order=issues.votes%20desc%2C%20issues.issue_status%2C%20issues.priority%2C%20issues.issue_id All issues contain &amp;quot;print&amp;quot; sort by votes]&lt;br /&gt;
&lt;br /&gt;
* In Calc defined print ranges/areas do not get copied if one creates a copy of a sheet : [http://distribution.openoffice.org/issues/show_bug.cgi?id=3560 3560]&lt;br /&gt;
* Print Selection only works for selected cells, not other selected objects : [http://distribution.openoffice.org/issues/show_bug.cgi?id=3992 3992]&lt;br /&gt;
* Printing a sheet on a specified number of pages : [http://distribution.openoffice.org/issues/show_bug.cgi?id=11336 11336]&lt;br /&gt;
* Allows to set the page margins in the &amp;quot;Print Preview&amp;quot; dialog by dragging margin indicator lines : [http://distribution.openoffice.org/issues/show_bug.cgi?id=11395 11395]&lt;br /&gt;
* Ability to print individual objects : [http://distribution.openoffice.org/issues/show_bug.cgi?id=14900 14900]&lt;br /&gt;
* Page-preview under print : [http://distribution.openoffice.org/issues/show_bug.cgi?id=17787 17787]&lt;br /&gt;
* Printing in more than one column : [http://distribution.openoffice.org/issues/show_bug.cgi?id=19124 19124]&lt;br /&gt;
* Page preview for Selection : [http://distribution.openoffice.org/issues/show_bug.cgi?id=22762 22762]&lt;br /&gt;
* Make printing named ranges easier : [http://distribution.openoffice.org/issues/show_bug.cgi?id=24830 24830]&lt;br /&gt;
* Unable to select different collumns to print : [http://distribution.openoffice.org/issues/show_bug.cgi?id=24886 24886]&lt;br /&gt;
* Moving a page break in page break preview makes only _one_ print range : [http://distribution.openoffice.org/issues/show_bug.cgi?id=27245 27245]&lt;br /&gt;
* Current sheet pagenumbers should be shown in print dialog : [http://distribution.openoffice.org/issues/show_bug.cgi?id=27440 27440]&lt;br /&gt;
* Print Preview Scale adjustment stays with page # not affected tab : [http://distribution.openoffice.org/issues/show_bug.cgi?id=27473 27473]&lt;br /&gt;
* Keeping merged ranges together when printing : [http://distribution.openoffice.org/issues/show_bug.cgi?id=28433 28433]&lt;br /&gt;
* Go to page missing in Print Preview : [http://distribution.openoffice.org/issues/show_bug.cgi?id=44032 44032]&lt;br /&gt;
* Print active sheet as default : [http://distribution.openoffice.org/issues/show_bug.cgi?id=45046 45046]&lt;br /&gt;
* Print notes on same page : [http://distribution.openoffice.org/issues/show_bug.cgi?id=45493 45493]&lt;br /&gt;
* Add NOPRINTROW and NOPRINTCOL functions : [http://distribution.openoffice.org/issues/show_bug.cgi?id=54039 54039]&lt;br /&gt;
* Adjusting Columns in Print Preview : [http://distribution.openoffice.org/issues/show_bug.cgi?id=58735 58735]&lt;br /&gt;
* Need selection of &amp;#039;current sheet&amp;#039; for printing : [http://distribution.openoffice.org/issues/show_bug.cgi?id=59697 59697]&lt;br /&gt;
* Monochrome printing from OOo Calc : [http://distribution.openoffice.org/issues/show_bug.cgi?id=66845 66845]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Duplicate issues ==&lt;br /&gt;
* Various printing default settings (to make things a bit slicker) : [http://distribution.openoffice.org/issues/show_bug.cgi?id=10530 10530]&lt;br /&gt;
* Printing does&amp;#039;t take the range of cells selected : [http://distribution.openoffice.org/issues/show_bug.cgi?id=43047 43047]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Backgrounds print irregardless of printer settings :  [http://distribution.openoffice.org/issues/show_bug.cgi?id=39244 39244]&lt;br /&gt;
* Add possibility to switch on/off printing of cell background color : [http://distribution.openoffice.org/issues/show_bug.cgi?id=53426 53426]&lt;br /&gt;
&lt;br /&gt;
= Formating =&lt;br /&gt;
* [http://qa.openoffice.org/issues/buglist.cgi?issue_type=ENHANCEMENT&amp;amp;issue_type=FEATURE&amp;amp;component=Spreadsheet&amp;amp;issue_status=UNCONFIRMED&amp;amp;issue_status=NEW&amp;amp;issue_status=STARTED&amp;amp;issue_status=REOPENED&amp;amp;email1=&amp;amp;emailtype1=exact&amp;amp;emailassigned_to1=1&amp;amp;email2=&amp;amp;emailtype2=exact&amp;amp;emailreporter2=1&amp;amp;issueidtype=include&amp;amp;issue_id=&amp;amp;changedin=&amp;amp;votes=&amp;amp;chfieldfrom=&amp;amp;chfieldto=Now&amp;amp;chfieldvalue=&amp;amp;short_desc=format&amp;amp;short_desc_type=allwords&amp;amp;long_desc=&amp;amp;long_desc_type=allwords&amp;amp;issue_file_loc=&amp;amp;issue_file_loc_type=substring&amp;amp;status_whiteboard=&amp;amp;status_whiteboard_type=substring&amp;amp;keywords=&amp;amp;keywords_type=anytokens&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0=&amp;amp;cmdtype=doit&amp;amp;namedcmd=Chart-Unconfirmed&amp;amp;newqueryname=&amp;amp;order=Reuse+same+sort+as+last+time&amp;amp;Submit+query=Submit+query All issues contain &amp;quot;format&amp;quot;]&lt;br /&gt;
* More border types (dashed, dotted, etc) : [http://qa.openoffice.org/issues/show_bug.cgi?id=8275 8275]&lt;br /&gt;
&lt;br /&gt;
= Formula =&lt;br /&gt;
* [http://distribution.openoffice.org/issues/buglist.cgi?Submit+query=Submit+query&amp;amp;issue_type=ENHANCEMENT&amp;amp;issue_type=FEATURE&amp;amp;component=Spreadsheet&amp;amp;issue_status=UNCONFIRMED&amp;amp;issue_status=NEW&amp;amp;issue_status=STARTED&amp;amp;issue_status=REOPENED&amp;amp;issue_status=RESOLVED&amp;amp;email1=&amp;amp;emailtype1=exact&amp;amp;emailassigned_to1=1&amp;amp;email2=&amp;amp;emailtype2=exact&amp;amp;emailreporter2=1&amp;amp;issueidtype=include&amp;amp;issue_id=&amp;amp;changedin=&amp;amp;votes=&amp;amp;chfieldfrom=&amp;amp;chfieldto=Now&amp;amp;chfieldvalue=&amp;amp;short_desc=formula&amp;amp;short_desc_type=allwords&amp;amp;long_desc=&amp;amp;long_desc_type=allwords&amp;amp;issue_file_loc=&amp;amp;issue_file_loc_type=substring&amp;amp;status_whiteboard=&amp;amp;status_whiteboard_type=substring&amp;amp;keywords=&amp;amp;keywords_type=anytokens&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0=&amp;amp;cmdtype=doit&amp;amp;namedcmd=Chart-Unconfirmed&amp;amp;newqueryname=&amp;amp;order=Reuse+same+sort+as+last+time All issues contain &amp;quot;formula&amp;quot; sort by votes]&lt;br /&gt;
&lt;br /&gt;
= Shortcut or Keystroke = &lt;br /&gt;
* [http://distribution.openoffice.org/issues/buglist.cgi?issue_type=ENHANCEMENT&amp;amp;issue_type=FEATURE&amp;amp;component=Spreadsheet&amp;amp;issue_status=UNCONFIRMED&amp;amp;issue_status=NEW&amp;amp;issue_status=STARTED&amp;amp;issue_status=REOPENED&amp;amp;issue_status=RESOLVED&amp;amp;email1=&amp;amp;emailtype1=exact&amp;amp;emailassigned_to1=1&amp;amp;email2=&amp;amp;emailtype2=exact&amp;amp;emailreporter2=1&amp;amp;issueidtype=include&amp;amp;issue_id=&amp;amp;changedin=&amp;amp;votes=&amp;amp;chfieldfrom=&amp;amp;chfieldto=Now&amp;amp;chfieldvalue=&amp;amp;short_desc=&amp;amp;short_desc_type=allwords&amp;amp;long_desc=keystroke&amp;amp;long_desc_type=allwords&amp;amp;issue_file_loc=&amp;amp;issue_file_loc_type=substring&amp;amp;status_whiteboard=&amp;amp;status_whiteboard_type=substring&amp;amp;keywords=&amp;amp;keywords_type=anytokens&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0=&amp;amp;cmdtype=doit&amp;amp;order=Reuse+same+sort+as+last+time&amp;amp;Submit+query=Submit+query Issues contain Keystroke]&lt;br /&gt;
* [http://distribution.openoffice.org/issues/buglist.cgi?issue_type=ENHANCEMENT&amp;amp;issue_type=FEATURE&amp;amp;component=Spreadsheet&amp;amp;issue_status=UNCONFIRMED&amp;amp;issue_status=NEW&amp;amp;issue_status=STARTED&amp;amp;issue_status=REOPENED&amp;amp;issue_status=RESOLVED&amp;amp;email1=&amp;amp;emailtype1=exact&amp;amp;emailassigned_to1=1&amp;amp;email2=&amp;amp;emailtype2=exact&amp;amp;emailreporter2=1&amp;amp;issueidtype=include&amp;amp;issue_id=&amp;amp;changedin=&amp;amp;votes=&amp;amp;chfieldfrom=&amp;amp;chfieldto=Now&amp;amp;chfieldvalue=&amp;amp;short_desc=&amp;amp;short_desc_type=allwords&amp;amp;long_desc=Shortcut&amp;amp;long_desc_type=allwords&amp;amp;issue_file_loc=&amp;amp;issue_file_loc_type=substring&amp;amp;status_whiteboard=&amp;amp;status_whiteboard_type=substring&amp;amp;keywords=&amp;amp;keywords_type=anytokens&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0=&amp;amp;cmdtype=doit&amp;amp;order=Reuse+same+sort+as+last+time&amp;amp;Submit+query=Submit+query Issues contain Shortcut]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Provide keyboard shortcuts for Edit-&amp;gt;Fill as default : [http://distribution.openoffice.org/issues/show_bug.cgi?id=63727 63727]&lt;br /&gt;
* Wish: predefine shortcuts for CALC-&amp;gt;MENU:edit-&amp;gt;MENU:fill options : [http://distribution.openoffice.org/issues/show_bug.cgi?id=75881 75881]&lt;br /&gt;
* Fill Commands behavior not compatible with Excel : [http://distribution.openoffice.org/issues/show_bug.cgi?id=44649 44649]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Ctrl ; does not add Current Date : [http://distribution.openoffice.org/issues/show_bug.cgi?id=1704 1704]&lt;br /&gt;
* Double click on register should show rename dialog : [http://distribution.openoffice.org/issues/show_bug.cgi?id=4517 4517]&lt;br /&gt;
* Add short cut [END+Arrow Keys], for easier range selection : [http://distribution.openoffice.org/issues/show_bug.cgi?id=6490 6490]&lt;br /&gt;
* Pressing the &amp;quot;delete&amp;quot; button on a selected cell should not necessarily bring up the &amp;quot;Delete Contents&amp;quot; : [http://distribution.openoffice.org/issues/show_bug.cgi?id=9392 9392]&lt;br /&gt;
* Moving/Copying -Single- Cell using click-n-drag : [http://distribution.openoffice.org/issues/show_bug.cgi?id=10865 10865]&lt;br /&gt;
* Enhanced formula input : [http://distribution.openoffice.org/issues/show_bug.cgi?id=20496 20496]&lt;br /&gt;
* Automatic Insert (shift down or shift right) of cells, columns, or rows when cut, or copied, and pasted : [http://distribution.openoffice.org/issues/show_bug.cgi?id=21280 21280]&lt;br /&gt;
* Extending row/column selection in calc, easier with shift - : [http://distribution.openoffice.org/issues/show_bug.cgi?id=21869 21869] &lt;br /&gt;
* Enter key, as a shortcut, to paste something from the clipboard : [http://distribution.openoffice.org/issues/show_bug.cgi?id=28535 28535]&lt;br /&gt;
* Request keyboard shortcut &amp;quot;Alt + =&amp;quot; for AutoSum : [http://distribution.openoffice.org/issues/show_bug.cgi?id=45563 45563]&lt;br /&gt;
* Need [ctrl]-[&amp;quot;] to copy contents of cell above active cell : [http://distribution.openoffice.org/issues/show_bug.cgi?id=56938 56938]&lt;br /&gt;
* Alt-key should display AutoFilter List :  [http://distribution.openoffice.org/issues/show_bug.cgi?id=74145 74145]&lt;br /&gt;
* Keyboard shortcuts for inserting/deleting rows/cols :  [http://distribution.openoffice.org/issues/show_bug.cgi?id=76971 76971]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Keystroke F5 for repeat the last action (Menu Edit / Repeat)&lt;br /&gt;
&lt;br /&gt;
= Links = &lt;br /&gt;
* [[Calc_Usability_Activities]]&lt;br /&gt;
* [http://distribution.openoffice.org/issues/buglist.cgi?issue_type=ENHANCEMENT&amp;amp;issue_type=FEATURE&amp;amp;component=Spreadsheet&amp;amp;issue_status=UNCONFIRMED&amp;amp;issue_status=NEW&amp;amp;issue_status=STARTED&amp;amp;issue_status=REOPENED&amp;amp;issue_status=RESOLVED&amp;amp;email1=&amp;amp;emailtype1=exact&amp;amp;emailassigned_to1=1&amp;amp;email2=&amp;amp;emailtype2=exact&amp;amp;emailreporter2=1&amp;amp;issueidtype=include&amp;amp;issue_id=&amp;amp;changedin=&amp;amp;votes=&amp;amp;chfieldfrom=&amp;amp;chfieldto=Now&amp;amp;chfieldvalue=&amp;amp;short_desc=&amp;amp;short_desc_type=allwords&amp;amp;long_desc=&amp;amp;long_desc_type=allwords&amp;amp;issue_file_loc=&amp;amp;issue_file_loc_type=substring&amp;amp;status_whiteboard=&amp;amp;status_whiteboard_type=substring&amp;amp;keywords=&amp;amp;keywords_type=anytokens&amp;amp;field0-0-0=noop&amp;amp;type0-0-0=noop&amp;amp;value0-0-0=&amp;amp;cmdtype=doit&amp;amp;namedcmd=Chart-Unconfirmed&amp;amp;newqueryname=&amp;amp;order=Reuse+same+sort+as+last+time&amp;amp;Submit+query=Submit+query List ENHANCEMENT and FEATURE issues for Spreadsheet (Calc)] - [http://distribution.openoffice.org/issues/buglist.cgi?resort=1&amp;amp;issue_type=ENHANCEMENT;issue_type=FEATURE;component=Spreadsheet;issue_status=UNCONFIRMED;issue_status=NEW;issue_status=STARTED;issue_status=REOPENED;issue_status=RESOLVED;email1=;emailtype1=exact;emailassigned_to1=1;email2=;emailtype2=exact;emailreporter2=1;issueidtype=include;issue_id=;changedin=;votes=;chfieldfrom=;chfieldto=Now;chfieldvalue=;short_desc=;short_desc_type=allwords;long_desc=;long_desc_type=allwords;issue_file_loc=;issue_file_loc_type=substring;status_whiteboard=;status_whiteboard_type=substring;keywords=;keywords_type=anytokens;field0-0-0=noop;type0-0-0=noop;value0-0-0=;namedcmd=Chart-Unconfirmed;newqueryname=;Submit%20query=Submit%20query&amp;amp;order=issues.votes%20desc%2C%20issues.issue_id Sort by votes]&lt;br /&gt;
* http://fr.openoffice.org/Marketing/matexpo/Documents/Faiblesses_de_Calc.sxw&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=DomainDeveloper&amp;diff=22904</id>
		<title>DomainDeveloper</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=DomainDeveloper&amp;diff=22904"/>
		<updated>2007-01-05T09:18:20Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Developers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A mapping of names to OOo accounts.&lt;br /&gt;
&lt;br /&gt;
Abbrev.:&lt;br /&gt;
&lt;br /&gt;
* PL : Project Lead&lt;br /&gt;
* CL : Project Co-Lead&lt;br /&gt;
* CC : Community Council Member&lt;br /&gt;
* ESC : Engineering Steering Committee Member &lt;br /&gt;
* CVS : has write access to the OOo CVS repository&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Developers ===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellpadding=&amp;quot;4&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Name || CVS || @openoffice.org || [[IRC Communication]] || Notes || Affiliation&lt;br /&gt;
|-&lt;br /&gt;
|      ||     ||                 ||          ||       ||  &lt;br /&gt;
|-&lt;br /&gt;
| Volker Ahrendt|| X || va||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Kai Ahrens|| X || ka || Kai_Ahrens ||PL Graphic Applications||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Gene Anaya||   || ganaya||||||&lt;br /&gt;
|-&lt;br /&gt;
| Joost Andrae|| X || ja||ja||CL qa, release testing en-US builds and releasing builds||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Eric Bachard|| X || ericb||ericb2|| CL porting Mac OSX/Linux PPC port ||French OO.o project&lt;br /&gt;
|-&lt;br /&gt;
| Kai Backman||  || kaib ||KaiB||||&lt;br /&gt;
|-&lt;br /&gt;
| Sascha Ballach|| X || sab||||||&lt;br /&gt;
|-&lt;br /&gt;
| Jayant Balraj Madavi||   || jayant_madavi||aZEN_JM||Connectivity / Database||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Barfurth|| X || jb||JoergB||Configuration Util||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Mathias Bauer|| X || mba||||PL Framework, XML||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thorsten Behrens|| X || thb||thorsten||vcl/impress/toolkit visionary||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thomas Benisch|| X || tbe||||Scripting framework||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Stefan Bergmann|| X || sb||||CL UDK, tools&amp;amp;amp;UCB hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Bille|| X || abi||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Éric Bischoff|| X || ebischoff||ebischoff||KDE A/B driver||Bureau Cornavin&lt;br /&gt;
|-&lt;br /&gt;
| Nick Blievers|| X || nick||||IRIX||&lt;br /&gt;
|-&lt;br /&gt;
| Daniel Boelzle|| X || dbo||||UNO core/bridges/packages||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Bolte|| X || obo||||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Rafaella Braconi||   || coni||||CL l10n, globalization program manager||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Brauer|| X || mib||||PL XML||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Braun|| X || obr||obr||System Integration/Accessibility Hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Bregas|| X || ab||||StarBasic||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Brunsmann||   || jbrunsmann||||UDK||&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Budischewski||   || jbu||PyUNO hacker||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Peter Burow|| X  || pb||UI||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Aidan Butler||   || aidan||||XML filters||&lt;br /&gt;
|-&lt;br /&gt;
| Giuseppe Castagno || X || beppec56 || beppec56_  or beppe_c || PDF output&lt;br /&gt;
|-&lt;br /&gt;
| [[User:ScottCarr|Scott Carr]] || X  || kcarr||kcarr||PL Documentation||Progbits&lt;br /&gt;
|-&lt;br /&gt;
| Colin Charles||   || drbyte||bytee||Malaysian native-lang project||bytebot.net&lt;br /&gt;
|-&lt;br /&gt;
| Behrend Cornelius|| X || bc||||Wizards||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Cziebalski||   || mci||||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:pdefilippis|Pierre de Filippis]]|| X || pdefilippis||aliscafo||Mac OSX native porting||&lt;br /&gt;
|-&lt;br /&gt;
| Andrew Dent|| X ||ace_dent||ace_dent||ui/custom_images||&lt;br /&gt;
|-&lt;br /&gt;
| Naren Devaiah||   || ||ndev||Performance||Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Nitin Dongre||   || ||nitin_BITS||||Novell, Inc.(intern)&lt;br /&gt;
|-&lt;br /&gt;
| Radek Doulik||   || radekdoulik||rodo_||Canvas hacker||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Carsten Driesner|| X || cd||||Framework||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Herbert Duerr|| X || hdu||hdu_hh||GSL||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Düsterhoff|| X || od||Writer||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bernd Eilers|| X || bei||rfc821||EIS||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| René Engelhard|| X || rene||_rene_||config_office, Debian packager||Debian&lt;br /&gt;
|-&lt;br /&gt;
| Andre Fischer|| X || af||||Impress||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Uwe Fischer || || ufi || || || Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ken Foskey||   || waratah||waratah||config_office/dmake man||slug.org.au&lt;br /&gt;
|-&lt;br /&gt;
| Duncan Foster||   || dfoster||||||&lt;br /&gt;
|-&lt;br /&gt;
| David Fraser||   || davidfraser||davidfraser||South African translations, multilingual builds||translate.org.za&lt;br /&gt;
|-&lt;br /&gt;
| Nils Fuhrmann||   || nf||||Localization||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Martin Gallwey|| X || mtg||marty_||XML/Writer/packaging||&lt;br /&gt;
|-&lt;br /&gt;
| Pierre-Andre Galmes || || pagalmes || pagalmes || Chart2 ||StarXpert&lt;br /&gt;
|-&lt;br /&gt;
| Tony Galmiche|| X || tonygalmiche||||CL FR native-lang project||&lt;br /&gt;
|-&lt;br /&gt;
| Sunil Gandhi||   || ||tyro||||NOSIP&lt;br /&gt;
|-&lt;br /&gt;
| Sophie Gautier|| X || sgauti|| sophi ||PL FR native-lang project, CC ||.&lt;br /&gt;
|-&lt;br /&gt;
| Vladimir Glazounov|| X || vg||||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Laurent Godard || X || laurentgodard || lgodard || CC, PL Extensions, Fr Native-lang Project || inDesko/Nuxeo &lt;br /&gt;
|-&lt;br /&gt;
| Jody Goldberg|| X || jodygoldberg||jody||[[Calc]] spreadsheet-ness||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Dirk Grobler|| X || dg||||Database Access||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bettina Haberer||   || bh||||RFEOwner||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ingrid Halama|| X || iha||||Chart||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Chris Halls|| X || haggai||haggai||Debian packager&amp;amp;amp;misc. hacker||Credativ Ltd., Debian&lt;br /&gt;
|-&lt;br /&gt;
| Gregor Hartmann|| X || gh|| Lachs ||Testtool||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bustamam Harun||   || bustamam||||Malaysian stuff||&lt;br /&gt;
|-&lt;br /&gt;
| Kevin Hendricks|| X || khendricks||||PL Lingucomponent, PowerPC||&lt;br /&gt;
|-&lt;br /&gt;
| Con Hennessy||   || cphennessy||cph2 or cph_||hacker &amp;amp;amp; former council person||OpenApp&lt;br /&gt;
|-&lt;br /&gt;
| Ivo Hinkelmann|| X || ihi||ivo||l10n tooling/general/RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Eric Hoch|| X || maveric||mav_eric||Mac Porting||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Lutz_Hoeger|Lutz Hoeger]]||   || lho||lutzh||[[User Experience]]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jan Holešovský|| X || kendy||kendy||KDE integration||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Martin Hollmichel|| X || mh||Ratte/Nesshof||Build Maestro, PL External, Tools, Porting, CC||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Karl Hong|| X || khong||||i18n, CJK expert||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Matthias Huetsch|| X || mhu||||Performance/strategy, PL UCB, CC, ESC||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Hönnig|| X || mi||||PL API||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:icobgr|Hristo Hristov]] ||   || icobgr || icobgr || PL Bulgarian native-lang project ||&lt;br /&gt;
|-&lt;br /&gt;
| Sven Jacobi|| X || sj||||Escherwizard||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Jahnke||   || jj||||Internal tooling||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christian Jansen||   || cj ||||Menu and Toolbar?||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ocke Janssen|| X || oj||Base||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Pavel Janík|| X || pjanik||paveljanik||PL Czech native-lang project, CL l10n, CC, ESC, l10n builds||&lt;br /&gt;
|-&lt;br /&gt;
| Berry Jia|| X || berryjia||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Pascal Junck||   || pjunck||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Peter Junge|| X || pj|| peter13j|| OOo community contact for my Chinese Employer, QA||Beijing Redflag CH2000&lt;br /&gt;
|-&lt;br /&gt;
| Christian Junker||   || Cyb||christianju||API||Trees For Life&lt;br /&gt;
|-&lt;br /&gt;
| Hirano Kazunari||   || khirano||||Japanese||&lt;br /&gt;
|-&lt;br /&gt;
| Dhananjay Keskar|| X || dkeskar ||dkeskar||Performance,Buildbot,cat-herder||Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Robert Kinsella||   || rkinsella||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Volodymyr Khrystynych||   || volody||||XML Filter||&lt;br /&gt;
|-&lt;br /&gt;
| Matthias Klose||   || doko||doko||Ubuntu, gcc, python packager||Canonical, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Laszlo Kovacs||   || lkovacs||||Documentation||&lt;br /&gt;
|-&lt;br /&gt;
| Martin Kretzschmar|| X || mkretzschmar||martink||Gnome / Debian||Student&lt;br /&gt;
|-&lt;br /&gt;
| Will Lachance||   || wlach||wlach_||Word Perfect File Filters||Net Integration Technologies, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Thomas Lange|| X || tl||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Lars Langhans|| X || lla||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Hans-Joachim Lankenau|| X || hjs||ause||dmake makefile expert, RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Németh László|| X || nemeth||||PL lingucomponent||&lt;br /&gt;
|-&lt;br /&gt;
| Jakob Lechner|| X || jakob_lechner||||Writer||Fabalabs&lt;br /&gt;
|-&lt;br /&gt;
| Michael Leibowitz||  X || mikeleib ||mikeleib||performance||Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Wind Li|| X || windly||||Address books||&lt;br /&gt;
|-&lt;br /&gt;
| Ping Liao||   || pliao||||||&lt;br /&gt;
|-&lt;br /&gt;
| Tor Lillqvist|| X || tml||tml_||||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Joachim Lingner|| X || jl||||Java, CLI||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christian Lippka|| X || cl||ChristianL||Graphic Applications||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Mindy Liu||   || mindyliu||||||&lt;br /&gt;
|-&lt;br /&gt;
| Dieter Loeschky|| X || ||||Localization||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Philipp Lohmann|| X || pl||pl_hh||VCL/X11 (GSL) hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jackson Low|| X || xxjack12xx||||Porting||&lt;br /&gt;
|-&lt;br /&gt;
| Patrick Luby||   || pluby||||Mac||&lt;br /&gt;
|-&lt;br /&gt;
| Prasad Madhav || X || pmadhav || pmadhav || Buildbot || Intern@Intel &lt;br /&gt;
|-&lt;br /&gt;
| Babak Mahbod||   || bmahbod||||||&lt;br /&gt;
|-&lt;br /&gt;
| Martin Maher||   || mmaher||||Writer &amp;amp;amp; Filter chap||&lt;br /&gt;
|-&lt;br /&gt;
| Nakata Maho|| X || maho||_maho_||PL QA, FreeBSD guy||Independent&lt;br /&gt;
|-&lt;br /&gt;
| John Marmion|| X || jmarmion||||||&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Martens|| X || ama||||PL Writer||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:smsm1|Shaun McDonald]] || X || smsm1 || shaunmcdonald || Mac Port, buildbot MacPort1 || Student&lt;br /&gt;
|-&lt;br /&gt;
| Caolán McNamara|| X || cmc||caolan||CL Writer &amp;amp;amp; Filter man||RedHat, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Michael Meeks|| X || mmeeks||michael_||ugly hack-er, ESC||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Frank Meies|| X || fme||||Writer||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Federico Mena-Quintero||   || federicomena||federico||perfectionist||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Michael Mi||   || mmi||||||&lt;br /&gt;
|-&lt;br /&gt;
| Björn Milcke|| X || bm||bm_||Chart||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Petr Mladek||   || pmladek||pmladek||SUSE RPMs, ooo-build releases||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Cyrille Moureaux|| X || cyrillem||Cyrille||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Mmp|Matthias Müller-Prove]]|| || mmp|| mprove|| [[User Experience]] Engineer, http://ui.openoffice.org || Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Niklas Nebel|| X || nn||||PL [[Calc]]||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christoph Neumann|| X || cn||||API tests||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| NicelKM|| X || mnicel||nicel||||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Bertram Nolte||   || bnolte||||||&lt;br /&gt;
|-&lt;br /&gt;
| Tomas O&amp;#039;Connor||   || toconnor||||Scripting Framework||&lt;br /&gt;
|-&lt;br /&gt;
| Lars Oppermann|| X || lo||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Rodrigo Parra Novo|| X || rodarvus||rodarvus||Gnumeric/Abiword OpenDocument Format support and port to Maemo||INdT (Instituto Nokia de Tecnologia)&lt;br /&gt;
|-&lt;br /&gt;
| Edward Peterlin|| X || OPENSTEP||||Mac||&lt;br /&gt;
|-&lt;br /&gt;
| Frank Peters|| X || fpe||||Documentation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christof Pintaske|| X || cp||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ron Piterman||   || rpiterman||||||&lt;br /&gt;
|-&lt;br /&gt;
| Noel Power||   || npower||noelp||VBA Interop, Scripting||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Nikolai Pretzell|| X || np || ||Autodoc, code quality||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Volker Quetschke|| X || vq||vq||W32-tcsh/bash build environment and dmake Hacker, ESC||Gravity Waves&lt;br /&gt;
|-&lt;br /&gt;
| Tino Rachui|| X || tra||tinor||GSL/Unix Hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Kr|Kay Ramme]]|| X || kr||||PL UDK||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:ErAck|Eike Rathke]]|| X || er||erAck||CL [[Calc]], engine; CL i18n; stricken with number formatter||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Rauch|| X || mrauch||||NetBSD||&lt;br /&gt;
|-&lt;br /&gt;
| Jens-Heiner Rechtien|| X || hr||blauwal||RE; OOo SCM (CVS, CWS tooling); Porting; Compilers||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Daniel Rentz|| X || dr||||[[Calc]] Excel filter, UI||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Florian Reuter|| X || flr||||Writer filters||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Georg Richter|| X || grichter||georg||Base, native MySQL driver||MySQL AB&lt;br /&gt;
|-&lt;br /&gt;
| G. Roderick Singleton||   || grsingleton||grsingleton||Documentation||pathtech.org&lt;br /&gt;
|-&lt;br /&gt;
| Hennes Rohling|| X || hro||||GSL &amp;amp;amp; Util||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Bibek Sahu||   || Bibek||bibek||Impress pieces||Trees For Life&lt;br /&gt;
|-&lt;br /&gt;
| Andreas Schlüns|| X || as||||Framework||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Ingo Schmidt|| X || is||||(Native) Installation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Jsc|J&amp;amp;uuml;rgen Schmidt]]|| X || jsc||jsc||PL API, CL Extensions, UNO, SDK||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Stephan Schäfer|| X || ssa||ssa||VCL||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Frank Schönheit|| X || fs||FrankS||Database Access, Forms||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Julian Seward || || sewardj || || valgrind ||&lt;br /&gt;
|-&lt;br /&gt;
| Darragh Sherwin||   || dsherwin||darragh||E-Legislation / E-GovSystems||Propylon&lt;br /&gt;
|-&lt;br /&gt;
| Raul Siddhartha||   || rsiddhartha||raul||GTK File Selector||Novell, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Sarah Smith||   || ssmith||||||&lt;br /&gt;
|-&lt;br /&gt;
| [[User:mox|Mox Soini]] || X || mox || Moxed || Mac Porting || &lt;br /&gt;
|-&lt;br /&gt;
| Rajesh Sola||   || rajeshsola||sola||misc.||NOSIP&lt;br /&gt;
|-&lt;br /&gt;
| Kai Sommerfeld|| X || kso||||manager &amp;amp;amp; hacker||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Specht|| X || os||||PL UI||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jörg Spindler||   || jspindler||||||&lt;br /&gt;
|-&lt;br /&gt;
| Fridrich Štrba|| X || fridrich_strba||Fridrich||Word Perfect Hacker||&lt;br /&gt;
|-&lt;br /&gt;
| Ulf Stroehler||   || us||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Muthu Subramanian||   || muthusuba||muthusuba||misc.||&lt;br /&gt;
|-&lt;br /&gt;
| Louis Suárez-Potts||   || louis||louis||Community Manager||Collab.net&lt;br /&gt;
|-&lt;br /&gt;
| Claus Sørensen||   || cs||c26n,cHBs,chbs||Danish Localization and Project Management Tool(oopm)||ProFOSS&lt;br /&gt;
|-&lt;br /&gt;
| Stefan Taxhet|| X || st||stx12||CC, interpersonal problem fixer||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Armin Theissen||   || armin||||||&lt;br /&gt;
|-&lt;br /&gt;
| Caio Tiago Oliveira|| X || asrail||asrail||CL QA, release testing pt-BR builds||Independent&lt;br /&gt;
|-&lt;br /&gt;
| Jan Tietjens||   || tietjens||||||&lt;br /&gt;
|-&lt;br /&gt;
| Rüdiger Timm|| X || rt|| rtimm ||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Malte Timmermann|| X || mt||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Gerhard Tonn||   || tonn||||s390||&lt;br /&gt;
|-&lt;br /&gt;
| Willem van Dorp||   || willem.vandorp||||||&lt;br /&gt;
|-&lt;br /&gt;
| Tom Verbeek|| X || tv||||Wizards, Art team||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Sander Vesik||   || svesik||||||&lt;br /&gt;
|-&lt;br /&gt;
| Daniel Vogelheim|| X || dvo||||XML||&lt;br /&gt;
|-&lt;br /&gt;
| Mikhail Voitenko|| X || mav||Framework||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Robert Vojta|| X || rvojta||rvojta||VBA Interop||&lt;br /&gt;
|-&lt;br /&gt;
| Dirk Völzke|| X || dv||||Installation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Sparcmoz|Jim Watson]]|| X || sparcmoz|| sparcmoz||GNU Linux sparc porter||clug.org.au&lt;br /&gt;
|-&lt;br /&gt;
| Armin Weiss|| X || aw||||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Dan Williams|| X || fa||dcbw||Mac et. al. hacker||RedHat, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| Stephan Wunderlich|| X || sw||||||&lt;br /&gt;
|-&lt;br /&gt;
| Kohei Yoshida|| X || kohei||kohei_||[[Calc]] hacker, Calc optimization solver developer||SlickEdit, Inc.&lt;br /&gt;
|-&lt;br /&gt;
| George Zahopoulos|| X || georgez||||||&lt;br /&gt;
|-&lt;br /&gt;
| Kurt Zenker|| X || kz||smoketester||RE||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Claudio F Filho||   || filhocf||filhocf||Brazilian portuguese Localization||BrOffice.org&lt;br /&gt;
|-&lt;br /&gt;
| Xiaoyang Yu||   || || ||Disk block reordering||Intel Corporation &lt;br /&gt;
|- &lt;br /&gt;
| Antonio Xu|| X || antoxu || antoxu || Async dialogs, PRC improvements || Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| Rail Aliev || X  || rail || rail ||  Ru and Tr NL Co-lead || Infra-Resource &lt;br /&gt;
|-&lt;br /&gt;
| Jeremy Zheng|| X || zhiming || Jeremy || Async dialogs, PRC improvements || Intel Corporation&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Schmidtm|Matthias Schmidt]] ||   || schmidtm || schmidtm || Mac OSX Aqua Port || Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Yuri Dario ||   || ydario || Paperino || OS/2 Port || Serenity Systems intl&lt;br /&gt;
|-&lt;br /&gt;
| Wei Zhao ||   || weiz ||   || Chinese Localization  || Beijing Redflag CH2000&lt;br /&gt;
|-&lt;br /&gt;
| Liu Tao ||   || liutao ||   || PyUNO, Async dialogs|| Beijing Redflag CH2000&lt;br /&gt;
|-&lt;br /&gt;
| JiangChuang ||   || jiangc ||   || || Beijing Redflag CH2000&lt;br /&gt;
|-&lt;br /&gt;
| Lv Xugang ||   || lvxg ||   || || Beijing Redflag CH2000&lt;br /&gt;
|-&lt;br /&gt;
| Chen Jinhong ||   || chainchen ||   || || Beijing Redflag CH2000&lt;br /&gt;
|-&lt;br /&gt;
| Li Yuan ||   || liyuan ||   || PyUNO, Async dialogs || Beijing Redflag CH2000&lt;br /&gt;
|-&lt;br /&gt;
| Wu Yan ||   || youngwoo ||   || || Beijing Redflag CH2000&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== QA Engineers ===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;2&amp;quot; cellpadding=&amp;quot;4&amp;quot; cellspacing=&amp;quot;0&amp;quot; style=&amp;quot;margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Name ||CVS||@openoffice.org || [[IRC Communication]] || Interested modules || Notes || Affiliation&lt;br /&gt;
|-&lt;br /&gt;
| Stefan Baltzer||||sba||||writer||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thorsten Bosbach||X||tbo||||framework, qa/qatesttool||QA Framework / Automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Oliver Craemer||X||oc||||[[Calc]]||QA Calc / Automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Helge Delfs||X||hde||||writer, qa/qatesttool||QA Writer / Automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Fredrik Haegg||X||fha||||draw, impress, qa/qatesttool||QA Graphics / Automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Hasan Ilter||||hi||||writer, printing, pdf export||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Michael Rüß||||mru||||writer, word im/export||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Éric Savary||||es||||writer, accessibility||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:jsi|Joerg Sievers]]||X||jsi||jogi||qa/qatesttool, [[Calc]]||Automation / QA Calc||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Joerg Skottke||X||jsk||skotti||framework, qa/qatesttool||QA Framework / Automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Marc Neumann||X||msc||||database, qa/qatesttool||QA Base / Automation||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Chris Lukasiak||||clu||||database||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Frank Stecher||||fst||||[[Calc]]||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Jack Warchold|||| jw||||writer, import/export filters||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Uwe Luebbers||||ul||||framework||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thorsten Martens||||tm||||framework||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Olaf Felka|||| of||||framework, installation||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Thomas Klarhoefer||||kla||||chart||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Wolfram Garten|||| wg||||draw, impress||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| Christian Guenther||||cgu||||draw, impress||||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
| [[User:Thorsten_Ziehm|Thorsten Ziehm]]||||| thorstenziehm||||||QA lead||Sun Microsystems&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We are tracking pending JCAs in the document [[Pending JCAs]].&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[User Experience Community]]&lt;br /&gt;
* A map of OOo developers around the world is available at http://www.frappr.com/ooodev, please add yourself to the map if you&amp;#039;re involved in OOo development. It&amp;#039;s just fun to see who&amp;#039;s where :-)&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=BetterDatabaseDrivers&amp;diff=19390</id>
		<title>BetterDatabaseDrivers</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=BetterDatabaseDrivers&amp;diff=19390"/>
		<updated>2006-10-25T13:21:49Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Idea 4: have a &amp;quot;drivers inheritance tree&amp;quot; */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Better and simpler infrastructure for database drivers&lt;br /&gt;
&lt;br /&gt;
This is for the moment just a brainstorming page. This is too unformal at the time being to be converted to a real &amp;quot;issue&amp;quot; in issuezilla or a specification.&lt;br /&gt;
&lt;br /&gt;
== Idea 1: have a &amp;quot;drivers loader&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Summary: currently, most database drivers are divided in two libraries:&lt;br /&gt;
 - a small part that verifies that the conditions are met to load a given driver&lt;br /&gt;
 - a big part that will in turn dl&amp;#039;open the needed libraries and do the real job&lt;br /&gt;
The idea would be to merge all the small &amp;quot;loader&amp;quot; parts&lt;br /&gt;
&lt;br /&gt;
Pros: efficiency, reduce number of libraries&lt;br /&gt;
&lt;br /&gt;
Cons: against modularity&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Idea 2: have &amp;quot;evaluation trees&amp;quot; in addition to current SQL syntactic tree ==&lt;br /&gt;
&lt;br /&gt;
Summary: currently, the drivers that have to analyse the SQL syntax use the SQL parser, which does all the dirty work of checking grammar and tokenizing, but they are on their own when it comes to running the request. Perharps the runtime in-memory trees for selections and sorting of the kab driver could be reused.&lt;br /&gt;
&lt;br /&gt;
Pros: simplify code for drivers like the evolution driver&lt;br /&gt;
&lt;br /&gt;
Cons: uncertain feasability, because the way that you run a request might depend to some extent upon the underlying database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Idea 3: have a &amp;quot;generic driver&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Summary: currently, there&amp;#039;s a lot of drivers which duplicate a lot of code. It could be done in several steps, starting with a basic infrastructure for the simplest drivers which mainly differ in the code to access the concrete table data, and ending with drivers that are different in many aspects.&lt;br /&gt;
&lt;br /&gt;
Imagine, for instancem a driver which is completely implemented except the table data access. Now some component could instantiate this driver, and pass it an XTableProvider and an XTableDataProvider (or so) interface, which allow to enumerate existing tables, and retrieving their data. This would, in a first step, allow get rid of today&amp;#039;s drivers for Calc, flat text files, and the KDE address book. Additionally, it would tremendously ease the writing of new drivers which just need readonly access to flat tables.&lt;br /&gt;
&lt;br /&gt;
In a next step, this driver could be extended with update capabilities. So, it would allow to be parametrized with some kind of XTableDataUpdate interface. This step would allow to get rid of the dBase driver, too.&lt;br /&gt;
&lt;br /&gt;
Step 3 is to implement support for some XSort/XFilter (or so), which passes the responsibility for filtering/sorting the table data to the concrete backend, instead of doing this client-side in the generic driver. Step 3 would allow us to get rid of the Evolution Address Book and the Mozilla/Thunderbird/LDAP drivers.&lt;br /&gt;
&lt;br /&gt;
Further steps would be more difficult, since from there on, drivers differ in much more aspects. We would need to abstract from those aspects, and hide the differences behind some generic interfaces. It might well turn out that this is not worth it anymore, since the abstraction API might become as complex as the SDBC(X) API already is, so there would be no point in creating it.&lt;br /&gt;
&lt;br /&gt;
Pros : remove code redundancy&lt;br /&gt;
Cons : major rewrite&lt;br /&gt;
&lt;br /&gt;
== Idea 4: have a &amp;quot;drivers inheritance tree&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Summary: basically the same as idea 2, but with drivers inheriting one from the other, rathing than inventing new shared UNO interfaces. The inheritance tree could look as follows:&lt;br /&gt;
&lt;br /&gt;
database driver&lt;br /&gt;
   !&lt;br /&gt;
   +--- SQL driver ---+--- MySQL&lt;br /&gt;
   !                  +--- PostGreSQL&lt;br /&gt;
   !                  +--- HSQLDB&lt;br /&gt;
   !                  +--- Adabas&lt;br /&gt;
   !                  +--- ODBC&lt;br /&gt;
   !                  +--- JDBC&lt;br /&gt;
   !                  +--- ado&lt;br /&gt;
   !&lt;br /&gt;
   +--- API driver ---+--- File driver ---+--- Flat&lt;br /&gt;
                      !                   +--- Calc&lt;br /&gt;
                      !                   +--- dBase&lt;br /&gt;
                      !                   +--- XML FIles&lt;br /&gt;
                      !&lt;br /&gt;
                      +--- Mozilla&lt;br /&gt;
                      +--- Thunderbird&lt;br /&gt;
                      +--- Evolution&lt;br /&gt;
                      +--- KDE&lt;br /&gt;
&lt;br /&gt;
Pros: ease of writing new drivers&lt;br /&gt;
Cons: Major rewrite too&lt;br /&gt;
&lt;br /&gt;
Actually, this is kind of complementary to the previous idea. That is, implementing the one would probably remove the need for other.&lt;br /&gt;
&lt;br /&gt;
Also, there are people saying you should favour composition over inheritance, and I lately tend to agree to them :). That is, instead of building a complex inheritance hierarchy, it might be more elegant and future-proof to create a number of components which can be plugged together.&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Building_OpenOffice.org&amp;diff=15168</id>
		<title>Building OpenOffice.org</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Building_OpenOffice.org&amp;diff=15168"/>
		<updated>2006-08-11T12:51:37Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Building a CWS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Development]]&lt;br /&gt;
These are the instructions on how to build &amp;quot;vanilla&amp;quot; OpenOffice.org. Vanilla means: without tools like ooobuild that wrap the build-process. If you&amp;#039;re using ooobuild, have a look at [[Building_with_ooobuild]] instead.&lt;br /&gt;
&lt;br /&gt;
= Compiling OpenOffice.org : the practice =&lt;br /&gt;
== Getting the sources ==&lt;br /&gt;
To not make these instructions longer than necessary, there is a dedicated page on [[Getting_It | how to get the source]].&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
Of course you need to have some development libraries installed to build OpenOffice.org.&lt;br /&gt;
The configure script will complain if something is missing.&lt;br /&gt;
Until this guide lists the prerequisites, please have a look at http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
While not dependencies, it is strongly recommended to install (and configure) [http://ccache.samba.org/ ccache] - this will greatly reduce build time on subsequent builds.&lt;br /&gt;
&lt;br /&gt;
= Building a Milestone =&lt;br /&gt;
== Running configure ==&lt;br /&gt;
The first step after getting the sources (and hopefully all prerequisites) is to run configure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd &amp;lt;SRC_ROOT&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will most likely have to tell configure where it finds some packages such as ant or tell it what java to use. Use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --help&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to get a list of valid options that you can use.&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking.&lt;br /&gt;
&lt;br /&gt;
Special hint related to ant: Make sure to use an absolute path.&lt;br /&gt;
&lt;br /&gt;
== Bootstrapping ==&lt;br /&gt;
When configure ran fine (i.e. it did finish without any error or warnings), you can continue the build. &lt;br /&gt;
Configure creates an environment file that you need to read into your shell.&lt;br /&gt;
If you run bash, use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd &amp;lt;SRC_ROOT&amp;gt;&lt;br /&gt;
source LinuxIntelEnv.Set.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you run a tcsh or similar, use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd &amp;lt;SRC_ROOT&amp;gt;&lt;br /&gt;
source LinuxIntelEnv.Set&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The last step before the real build is to build the buildtools that OOo uses. To do so, simply run&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
in &amp;lt;SRC_ROOT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Starting the real build ==&lt;br /&gt;
Now it is time for the real build&lt;br /&gt;
Just type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
in &amp;lt;SRC_ROOT&amp;gt; and then relax.&lt;br /&gt;
Building OOo takes some time (approx 10-12 hours on standard desktop PC) so you can do other things in the meantime.&lt;br /&gt;
&lt;br /&gt;
= Building a [[CWS]] =&lt;br /&gt;
In order to build a cws, you need to first checkout the milestone that the cws is based upon (see Getting the source above). After that, you have to update the modules included in the cws with the cvs tag of the CWS.&lt;br /&gt;
&lt;br /&gt;
You can either use [[EIS]] to get information about what milestone is the base for the CWS (see the field &amp;quot;Milestone (current)&amp;quot;) and what modules it includes (see the table &amp;quot;Modules &amp;amp; Files&amp;quot;) - or you can use [http://go-oo.org/tinderbox/tags/tag-list Tinderbox&amp;#039;s tag-list] to get this information.&lt;br /&gt;
&lt;br /&gt;
Once you have collected the necessary information, you can run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd &amp;lt;SRC_ROOT&amp;gt;&lt;br /&gt;
setenv CVSROOT &amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
cvs [optional cvs flags such as -z #] update -dP -r &amp;lt;cwstag&amp;gt; &amp;lt;module1&amp;gt; &amp;lt;module2&amp;gt; &amp;lt;moduleN&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &lt;br /&gt;
* SRC_ROOT is the top-level directory of your milestone-checkout&lt;br /&gt;
* cwstag is the cvs tag of the CWS. The tag is in the form cws_&amp;lt;main codeline&amp;gt;_&amp;lt;name of cws&amp;gt;, for example cws_src680_chart2mst3&lt;br /&gt;
&lt;br /&gt;
Note: If you&amp;#039;re using cvs using the ssh-tunnel, use ssh&amp;#039;s compression rather than cvs compression - that gives better results&lt;br /&gt;
&lt;br /&gt;
For example, you can issue :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd src680-m172&lt;br /&gt;
setenv CVSROOT &amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3 chart2/ offuh/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Tips and Tricks =&lt;br /&gt;
&lt;br /&gt;
Here are some tips that make your life easier or can accelerate the build&lt;br /&gt;
== set nodep=TRUE ==&lt;br /&gt;
If you set the environment variable nodep to TRUE, then dependendy information files are not created - the build finishes faster.&lt;br /&gt;
&lt;br /&gt;
But only enable that on a clean build. Once you have built OOo and then made modifications, unset the variable again to be on the safe side.&lt;br /&gt;
&lt;br /&gt;
== set NO_HIDS=TRUE ==&lt;br /&gt;
Similar to the nodep variabnle, this one prevents the generation of HIDs (Help IDs) that are mainly used for automated testing - if you only want to build OOo, you don&amp;#039;t need those.&lt;br /&gt;
&lt;br /&gt;
== use parallel builds ==&lt;br /&gt;
If you have a multiprocessor machine or similar, you can run a parallel build. There are two levels  of parallelism  - one operating on makefile level, the other one on module level&lt;br /&gt;
&lt;br /&gt;
=== set maxprocess=&amp;lt;numer or processes&amp;gt; ===&lt;br /&gt;
This is the makefile-parallelism. This tells dmake how many targets it is allowed to build in parallel&lt;br /&gt;
&lt;br /&gt;
=== running parallel build.pl ===&lt;br /&gt;
For parallelism on the module level, you have to run build from &amp;lt;SRC_ROOT&amp;gt;/instsetoo_native with the -P&amp;lt;number&amp;gt; switch, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
build -P2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== create prebuilt mozilla and use that instead of recompiling everytime ==&lt;br /&gt;
For the mozilla-components you have the choice to either build from mozilla sources, to use precompiled packages ([http://tools.openoffice.org/moz_prebuild/680/ the &amp;quot;official&amp;quot; ones can be obtained from tools.openoffice.org]) or to use system-mozilla (the one installed on your buildsystem, not everything might work, depending on the version you got installed)&lt;br /&gt;
You can easily create your own version of the prepacked binaries if you wish to do so (either because you cannot use the official ones because of mismatch of compiler version used to build them/other technical reasons or because you want to use stuff you didn&amp;#039;t build yourself).&lt;br /&gt;
To do so:&lt;br /&gt;
&lt;br /&gt;
* build the &amp;lt;code&amp;gt;moz&amp;lt;/code&amp;gt; module from the mozilla sources&amp;lt;br/&amp;gt;(use &amp;lt;code&amp;gt;--enable-build-mozilla&amp;lt;/code&amp;gt; when running configure and put the mozilla-source tarball to &amp;lt;code&amp;gt;moz/download&amp;lt;/code&amp;gt;)&lt;br /&gt;
* in &amp;lt;code&amp;gt;moz&amp;lt;/code&amp;gt; run &amp;lt;code&amp;gt;dmake zip&amp;lt;/code&amp;gt; to create the zip files&lt;br /&gt;
* you&amp;#039;ll find the zips in &amp;lt;code&amp;gt;unxlngi#.pro/zipped&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy them to a location of your liking.&lt;br /&gt;
Now instead of using &amp;lt;code&amp;gt;--enable-build-mozilla&amp;lt;/code&amp;gt;, just copy the zips you created to &amp;lt;code&amp;gt;moz/zipped&amp;lt;/code&amp;gt; and these will be used when compiling.&lt;br /&gt;
This will greatly reduce build-time (you save the time that would otherwise be spent on compiling mozilla)&lt;br /&gt;
&lt;br /&gt;
== saving diskscpace by linking to the solver only ==&lt;br /&gt;
Use  &amp;quot;--dlv_switch -link&amp;quot; when running build to tell deliver to only link the files instead of copying them:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
build --dlv_switch -link&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Building_OpenOffice.org&amp;diff=15167</id>
		<title>Building OpenOffice.org</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Building_OpenOffice.org&amp;diff=15167"/>
		<updated>2006-08-11T12:50:53Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Building a CWS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Development]]&lt;br /&gt;
These are the instructions on how to build &amp;quot;vanilla&amp;quot; OpenOffice.org. Vanilla means: without tools like ooobuild that wrap the build-process. If you&amp;#039;re using ooobuild, have a look at [[Building_with_ooobuild]] instead.&lt;br /&gt;
&lt;br /&gt;
= Compiling OpenOffice.org : the practice =&lt;br /&gt;
== Getting the sources ==&lt;br /&gt;
To not make these instructions longer than necessary, there is a dedicated page on [[Getting_It | how to get the source]].&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
Of course you need to have some development libraries installed to build OpenOffice.org.&lt;br /&gt;
The configure script will complain if something is missing.&lt;br /&gt;
Until this guide lists the prerequisites, please have a look at http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
While not dependencies, it is strongly recommended to install (and configure) [http://ccache.samba.org/ ccache] - this will greatly reduce build time on subsequent builds.&lt;br /&gt;
&lt;br /&gt;
= Building a Milestone =&lt;br /&gt;
== Running configure ==&lt;br /&gt;
The first step after getting the sources (and hopefully all prerequisites) is to run configure:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd &amp;lt;SRC_ROOT&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will most likely have to tell configure where it finds some packages such as ant or tell it what java to use. Use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --help&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to get a list of valid options that you can use.&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking.&lt;br /&gt;
&lt;br /&gt;
Special hint related to ant: Make sure to use an absolute path.&lt;br /&gt;
&lt;br /&gt;
== Bootstrapping ==&lt;br /&gt;
When configure ran fine (i.e. it did finish without any error or warnings), you can continue the build. &lt;br /&gt;
Configure creates an environment file that you need to read into your shell.&lt;br /&gt;
If you run bash, use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd &amp;lt;SRC_ROOT&amp;gt;&lt;br /&gt;
source LinuxIntelEnv.Set.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you run a tcsh or similar, use&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd &amp;lt;SRC_ROOT&amp;gt;&lt;br /&gt;
source LinuxIntelEnv.Set&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The last step before the real build is to build the buildtools that OOo uses. To do so, simply run&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
in &amp;lt;SRC_ROOT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Starting the real build ==&lt;br /&gt;
Now it is time for the real build&lt;br /&gt;
Just type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
in &amp;lt;SRC_ROOT&amp;gt; and then relax.&lt;br /&gt;
Building OOo takes some time (approx 10-12 hours on standard desktop PC) so you can do other things in the meantime.&lt;br /&gt;
&lt;br /&gt;
= Building a [[CWS]] =&lt;br /&gt;
In order to build a cws, you need to first checkout the milestone that the cws is based upon (see Getting the source above). After that, you have to update the modules included in the cws with the cvs tag of the CWS.&lt;br /&gt;
&lt;br /&gt;
You can either use [[EIS]] to get information about what milestone is the base for the CWS (see the field &amp;quot;Milestone (current)&amp;quot;) and what modules it includes (see the table &amp;quot;Modules &amp;amp; Files&amp;quot;) - or you can use [http://go-oo.org/tinderbox/tags/tag-list Tinderbox&amp;#039;s tag-list] to get this information.&lt;br /&gt;
&lt;br /&gt;
Once you have collected the necessary information, you can run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd &amp;lt;SRC_ROOT&amp;gt;&lt;br /&gt;
setenv CVSROOT &amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
cvs [optional cvs flags such as -z #] update -dP -r &amp;lt;cwstag&amp;gt; &amp;lt;module1&amp;gt; &amp;lt;module2&amp;gt; &amp;lt;moduleN&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &lt;br /&gt;
* SRC_ROOT is the top-level directory of your milestone-checkout&lt;br /&gt;
* cwstag is the cvs tag of the CWS. The tag is in the form cws_&amp;lt;main codeline&amp;gt;_&amp;lt;name of cws&amp;gt;, for example cws_src680_chart2mst3&lt;br /&gt;
&lt;br /&gt;
For example, you can issue :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd src680-m172&lt;br /&gt;
setenv CVSROOT &amp;quot;:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs&amp;quot;&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3 chart2/ offuh/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: If you&amp;#039;re using cvs using the ssh-tunnel, use ssh&amp;#039;s compression rather than cvs compression - that gives better results&lt;br /&gt;
&lt;br /&gt;
= Tips and Tricks =&lt;br /&gt;
&lt;br /&gt;
Here are some tips that make your life easier or can accelerate the build&lt;br /&gt;
== set nodep=TRUE ==&lt;br /&gt;
If you set the environment variable nodep to TRUE, then dependendy information files are not created - the build finishes faster.&lt;br /&gt;
&lt;br /&gt;
But only enable that on a clean build. Once you have built OOo and then made modifications, unset the variable again to be on the safe side.&lt;br /&gt;
&lt;br /&gt;
== set NO_HIDS=TRUE ==&lt;br /&gt;
Similar to the nodep variabnle, this one prevents the generation of HIDs (Help IDs) that are mainly used for automated testing - if you only want to build OOo, you don&amp;#039;t need those.&lt;br /&gt;
&lt;br /&gt;
== use parallel builds ==&lt;br /&gt;
If you have a multiprocessor machine or similar, you can run a parallel build. There are two levels  of parallelism  - one operating on makefile level, the other one on module level&lt;br /&gt;
&lt;br /&gt;
=== set maxprocess=&amp;lt;numer or processes&amp;gt; ===&lt;br /&gt;
This is the makefile-parallelism. This tells dmake how many targets it is allowed to build in parallel&lt;br /&gt;
&lt;br /&gt;
=== running parallel build.pl ===&lt;br /&gt;
For parallelism on the module level, you have to run build from &amp;lt;SRC_ROOT&amp;gt;/instsetoo_native with the -P&amp;lt;number&amp;gt; switch, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
build -P2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== create prebuilt mozilla and use that instead of recompiling everytime ==&lt;br /&gt;
For the mozilla-components you have the choice to either build from mozilla sources, to use precompiled packages ([http://tools.openoffice.org/moz_prebuild/680/ the &amp;quot;official&amp;quot; ones can be obtained from tools.openoffice.org]) or to use system-mozilla (the one installed on your buildsystem, not everything might work, depending on the version you got installed)&lt;br /&gt;
You can easily create your own version of the prepacked binaries if you wish to do so (either because you cannot use the official ones because of mismatch of compiler version used to build them/other technical reasons or because you want to use stuff you didn&amp;#039;t build yourself).&lt;br /&gt;
To do so:&lt;br /&gt;
&lt;br /&gt;
* build the &amp;lt;code&amp;gt;moz&amp;lt;/code&amp;gt; module from the mozilla sources&amp;lt;br/&amp;gt;(use &amp;lt;code&amp;gt;--enable-build-mozilla&amp;lt;/code&amp;gt; when running configure and put the mozilla-source tarball to &amp;lt;code&amp;gt;moz/download&amp;lt;/code&amp;gt;)&lt;br /&gt;
* in &amp;lt;code&amp;gt;moz&amp;lt;/code&amp;gt; run &amp;lt;code&amp;gt;dmake zip&amp;lt;/code&amp;gt; to create the zip files&lt;br /&gt;
* you&amp;#039;ll find the zips in &amp;lt;code&amp;gt;unxlngi#.pro/zipped&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy them to a location of your liking.&lt;br /&gt;
Now instead of using &amp;lt;code&amp;gt;--enable-build-mozilla&amp;lt;/code&amp;gt;, just copy the zips you created to &amp;lt;code&amp;gt;moz/zipped&amp;lt;/code&amp;gt; and these will be used when compiling.&lt;br /&gt;
This will greatly reduce build-time (you save the time that would otherwise be spent on compiling mozilla)&lt;br /&gt;
&lt;br /&gt;
== saving diskscpace by linking to the solver only ==&lt;br /&gt;
Use  &amp;quot;--dlv_switch -link&amp;quot; when running build to tell deliver to only link the files instead of copying them:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
build --dlv_switch -link&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=14817</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=14817"/>
		<updated>2006-08-04T11:19:43Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* print, assert and debug helpers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m172 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m172 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m172 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cws called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking. You can check the one needed on the &lt;br /&gt;
[http://tools.openoffice.org/ tool page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m172/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.Set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
===== Smoke tests =====&lt;br /&gt;
&lt;br /&gt;
Once everything compiled, you should launch the &amp;quot;smoke tests&amp;quot;. Those are&lt;br /&gt;
tests to verify that the basic functions of OpenOffice.org work. To&lt;br /&gt;
launch the smoke tests, issue the following command lines :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd smoketestoo_native/&lt;br /&gt;
setenv TEMP &amp;quot;/home/pagalmes/workspace/chart2_m172_exec&amp;quot;&lt;br /&gt;
dmake noremove&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : sometimes those tests will fail but you can just ignore them.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m166. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : unoxml, xmerge, xmlhelp, chart2 =====&lt;br /&gt;
&lt;br /&gt;
While compiling, the following error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LINK: ../uiconfig/sglobal/statusbar/statusbar.xml -&amp;gt; /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/xml/uiconfig/&lt;br /&gt;
modules/sglobal/statusbar/statusbar.xml&lt;br /&gt;
Use of uninitialized value in string eq at /home/pagalmes/workspace/chart2_m166/src680-m166/solenv/bin/deliver.pl line 791.&lt;br /&gt;
LOG: writing /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/inc/sw/deliver.log&lt;br /&gt;
Statistics:&lt;br /&gt;
Files copied: 137&lt;br /&gt;
Files unchanged/not matching: 6&lt;br /&gt;
&lt;br /&gt;
4 module(s):&lt;br /&gt;
        unoxml&lt;br /&gt;
        xmerge&lt;br /&gt;
        xmlhelp&lt;br /&gt;
        chart2&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
&lt;br /&gt;
Reason(s):&lt;br /&gt;
&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmlhelp/source/com/sun/star/help&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmerge/source/xmerge&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/chart2/source/tools&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/unoxml/source/service&lt;br /&gt;
&lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from unoxml xmerge xmlhelp chart2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
====== the unoxml problem ======&lt;br /&gt;
&lt;br /&gt;
As explained in issue [http://www.openoffice.org/issues/show_bug.cgi?id=65110 65110],&lt;br /&gt;
in the file unoxml/prj/build.lst the first line has to be changed to add &amp;#039;tools&amp;#039; in it :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ux  unoxml  : &amp;#039;&amp;#039;&amp;#039;tools&amp;#039;&amp;#039;&amp;#039; offuh cppuhelper LIBXML2:libxml2 NULL&lt;br /&gt;
ux  unoxml\source\dom     nmake - all ux_dom      NULL&lt;br /&gt;
ux  unoxml\source\xpath     nmake - all ux_xpath    ux_dom NULL&lt;br /&gt;
ux  unoxml\source\events    nmake - all ux_events   ux_dom NULL&lt;br /&gt;
ux  unoxml\source\service   nmake - all ux_service  ux_dom ux_xpath ux_events NULL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, to rebuild, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd unoxml; build; cd ../instsetoo_native; build --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== the xmerge problem ======&lt;br /&gt;
&lt;br /&gt;
This is only a problem if you try to compile OOo with Java 1.5&lt;br /&gt;
The issue  [http://www.openoffice.org/issues/show_bug.cgi?id=59368 59368]&lt;br /&gt;
explains it in a more detailed way.&lt;br /&gt;
&lt;br /&gt;
To solve this, you only need to apply the patch attached to the issue :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd src680-m166&lt;br /&gt;
patch -p0 &amp;lt; [filename]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue [http://www.openoffice.org/issues/show_bug.cgi?id=63012 63012] :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file chart2/source/tools/InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Coding ===&lt;br /&gt;
&lt;br /&gt;
the essentials &lt;br /&gt;
&lt;br /&gt;
==== print, assert and debug helpers ====&lt;br /&gt;
&lt;br /&gt;
When you start developping, you will certainly need to trace your program.&lt;br /&gt;
For this, debuggers are really useful, but what is often used is to inserted&lt;br /&gt;
functions like printf() that will send messages. How do those things work in&lt;br /&gt;
OpenOffice.org ? Well there are quite a few ways to echo strings.&lt;br /&gt;
&lt;br /&gt;
===== the standard functions =====&lt;br /&gt;
&lt;br /&gt;
The first one is to use the classical &amp;quot;printf&amp;quot; and &amp;quot;fprintf&amp;quot; functions :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp,N]&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int foo()&lt;br /&gt;
{   &lt;br /&gt;
  printf( &amp;quot;Foo\n&amp;quot; );&lt;br /&gt;
  fprintf( stderr, &amp;quot;foo\n&amp;quot; );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the ones loving C++, the second way is to use the iostreams :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp,N]&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int foo()&lt;br /&gt;
{&lt;br /&gt;
  std::cerr &amp;lt;&amp;lt; &amp;quot;coucou&amp;quot; &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
  std::cout &amp;lt;&amp;lt; &amp;quot;coucou&amp;quot; &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As two ways of doing things is not enought, you will find a few macros.&lt;br /&gt;
There are two kinds of such macros, the OSL macros and the DGB macros.&lt;br /&gt;
&lt;br /&gt;
===== The OSL functions =====&lt;br /&gt;
&lt;br /&gt;
The OSL_ things are intended to be used permanently, not for debugging&lt;br /&gt;
only. I.e., when you would cassert() you should OSL_ASSERT() (or ENSURE).&lt;br /&gt;
&lt;br /&gt;
* OSL_TRACE( &amp;quot;text&amp;quot; )&lt;br /&gt;
* OSL_ENSURE( condition, &amp;quot;text&amp;quot; )&lt;br /&gt;
* OSL_ASSERT( condition )&lt;br /&gt;
&lt;br /&gt;
&amp;quot;For printf debugging you can also use OSL_TRACE( &amp;quot;Bla&amp;quot; ); On Linux, this&lt;br /&gt;
prints to stdout (or stderr), so you should see it on the console, as&lt;br /&gt;
long as the file was compiled with debug=t.&lt;br /&gt;
&lt;br /&gt;
OSL_ASSERT( condition ) and OSL_ENSURE( condition, &amp;quot;text&amp;quot; ) also print to&lt;br /&gt;
stderr on Linux, but they pop up a window on Windows )&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some examples and how to use those three functions :&lt;br /&gt;
&lt;br /&gt;
====== OSL_TRACE example ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp,N]&lt;br /&gt;
#ifndef _OSL_DIAGNOSE_H_&lt;br /&gt;
  #include &amp;lt;osl/diagnose.h&amp;gt;&lt;br /&gt;
#endif&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
int foo()&lt;br /&gt;
{&lt;br /&gt;
    OSL_TRACE( &amp;quot;My first trace&amp;quot; );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the result should look like :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  $ ./myfoo&lt;br /&gt;
  Thread:      1 :My first trace&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== OSL_ENSURE example ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp,N]&lt;br /&gt;
&lt;br /&gt;
#ifndef _OSL_DIAGNOSE_H_&lt;br /&gt;
  #include &amp;lt;osl/diagnose.h&amp;gt;&lt;br /&gt;
#endif&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
int foo()&lt;br /&gt;
{&lt;br /&gt;
  // Will not be displayed.&lt;br /&gt;
  OSL_ENSURE( true, &amp;quot;here I truly gooooo!!&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
  // Will be displayed.&lt;br /&gt;
  OSL_ENSURE( false, &amp;quot;here I gooooo!!&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
  // &lt;br /&gt;
  #if OSL_DEBUG_LEVEL &amp;gt; 2&lt;br /&gt;
    OSL_ENSURE( true, &amp;quot;here I gooooo if level is set to 3!&amp;quot; );&lt;br /&gt;
  #endif&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the result should look like :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  $ ./myfoo&lt;br /&gt;
  Error: File /home/pagalmes/workspace/chart2_m172/src680-m172/chart2/source/controller/main/ChartController.cxx, Line 1201: here I gooooo!!&lt;br /&gt;
  Backtrace: [0] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x4ac0e&lt;br /&gt;
  Backtrace: [1] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x4b73b&lt;br /&gt;
  Backtrace: [2] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x573b5&lt;br /&gt;
  Backtrace: [3] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x43964&lt;br /&gt;
  [...]&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== OSL_ASSERT example ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp,N]&lt;br /&gt;
#ifndef _OSL_DIAGNOSE_H_&lt;br /&gt;
  #include &amp;lt;osl/diagnose.h&amp;gt;&lt;br /&gt;
#endif&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
int foo()&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
  bool test;&lt;br /&gt;
  test = true;&lt;br /&gt;
&lt;br /&gt;
  OSL_TRACE( &amp;quot;test is true.&amp;quot; );&lt;br /&gt;
  OSL_ASSERT( test );&lt;br /&gt;
&lt;br /&gt;
  test = false;&lt;br /&gt;
&lt;br /&gt;
  OSL_TRACE( &amp;quot;test is false.&amp;quot; );&lt;br /&gt;
  OSL_ASSERT( test );&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the result should look like :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  Thread:      1 :test is true.&lt;br /&gt;
  Thread:      1 :test is false.&lt;br /&gt;
  Error: File /home/pagalmes/workspace/chart2_m172/src680-m172/chart2/source/controller/main/ChartController.cxx, Line 1202&lt;br /&gt;
  Backtrace: [0] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x452db&lt;br /&gt;
  Backtrace: [1] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x47361&lt;br /&gt;
  Backtrace: [2] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x56899&lt;br /&gt;
  [...]&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== the DBG functions =====&lt;br /&gt;
&lt;br /&gt;
* DBG_ASSERT()&lt;br /&gt;
* DBG_ERROR()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DBG_ASSERT() and DBG_ERROR() need the tools library (the tools project not&lt;br /&gt;
the lib in chart2). Therefore I try to avoid it if a library is not linked&lt;br /&gt;
against tools anyway.&lt;br /&gt;
&lt;br /&gt;
I think (not sure) that the model lib is not linked against tools.&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;br /&gt;
[[Category:Source_directories]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=14816</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=14816"/>
		<updated>2006-08-04T11:14:32Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* printf, assert and debug helpers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m172 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m172 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m172 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cws called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking. You can check the one needed on the &lt;br /&gt;
[http://tools.openoffice.org/ tool page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m172/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.Set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
===== Smoke tests =====&lt;br /&gt;
&lt;br /&gt;
Once everything compiled, you should launch the &amp;quot;smoke tests&amp;quot;. Those are&lt;br /&gt;
tests to verify that the basic functions of OpenOffice.org work. To&lt;br /&gt;
launch the smoke tests, issue the following command lines :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd smoketestoo_native/&lt;br /&gt;
setenv TEMP &amp;quot;/home/pagalmes/workspace/chart2_m172_exec&amp;quot;&lt;br /&gt;
dmake noremove&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : sometimes those tests will fail but you can just ignore them.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m166. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : unoxml, xmerge, xmlhelp, chart2 =====&lt;br /&gt;
&lt;br /&gt;
While compiling, the following error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LINK: ../uiconfig/sglobal/statusbar/statusbar.xml -&amp;gt; /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/xml/uiconfig/&lt;br /&gt;
modules/sglobal/statusbar/statusbar.xml&lt;br /&gt;
Use of uninitialized value in string eq at /home/pagalmes/workspace/chart2_m166/src680-m166/solenv/bin/deliver.pl line 791.&lt;br /&gt;
LOG: writing /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/inc/sw/deliver.log&lt;br /&gt;
Statistics:&lt;br /&gt;
Files copied: 137&lt;br /&gt;
Files unchanged/not matching: 6&lt;br /&gt;
&lt;br /&gt;
4 module(s):&lt;br /&gt;
        unoxml&lt;br /&gt;
        xmerge&lt;br /&gt;
        xmlhelp&lt;br /&gt;
        chart2&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
&lt;br /&gt;
Reason(s):&lt;br /&gt;
&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmlhelp/source/com/sun/star/help&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmerge/source/xmerge&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/chart2/source/tools&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/unoxml/source/service&lt;br /&gt;
&lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from unoxml xmerge xmlhelp chart2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
====== the unoxml problem ======&lt;br /&gt;
&lt;br /&gt;
As explained in issue [http://www.openoffice.org/issues/show_bug.cgi?id=65110 65110],&lt;br /&gt;
in the file unoxml/prj/build.lst the first line has to be changed to add &amp;#039;tools&amp;#039; in it :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ux  unoxml  : &amp;#039;&amp;#039;&amp;#039;tools&amp;#039;&amp;#039;&amp;#039; offuh cppuhelper LIBXML2:libxml2 NULL&lt;br /&gt;
ux  unoxml\source\dom     nmake - all ux_dom      NULL&lt;br /&gt;
ux  unoxml\source\xpath     nmake - all ux_xpath    ux_dom NULL&lt;br /&gt;
ux  unoxml\source\events    nmake - all ux_events   ux_dom NULL&lt;br /&gt;
ux  unoxml\source\service   nmake - all ux_service  ux_dom ux_xpath ux_events NULL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, to rebuild, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd unoxml; build; cd ../instsetoo_native; build --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== the xmerge problem ======&lt;br /&gt;
&lt;br /&gt;
This is only a problem if you try to compile OOo with Java 1.5&lt;br /&gt;
The issue  [http://www.openoffice.org/issues/show_bug.cgi?id=59368 59368]&lt;br /&gt;
explains it in a more detailed way.&lt;br /&gt;
&lt;br /&gt;
To solve this, you only need to apply the patch attached to the issue :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd src680-m166&lt;br /&gt;
patch -p0 &amp;lt; [filename]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue [http://www.openoffice.org/issues/show_bug.cgi?id=63012 63012] :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file chart2/source/tools/InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Coding ===&lt;br /&gt;
&lt;br /&gt;
the essentials &lt;br /&gt;
&lt;br /&gt;
==== print, assert and debug helpers ====&lt;br /&gt;
&lt;br /&gt;
When you start developping, you will certainly need to trace your program.&lt;br /&gt;
For this, debuggers are really useful, but what is often used is to inserted&lt;br /&gt;
functions like printf() that will send messages. How do those things work in&lt;br /&gt;
OpenOffice.org ? Well there are quite a few ways to echo strings.&lt;br /&gt;
&lt;br /&gt;
===== the standard functions =====&lt;br /&gt;
&lt;br /&gt;
The first one is to use the classical &amp;quot;printf&amp;quot; and &amp;quot;fprintf&amp;quot; functions :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp,N]&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int foo()&lt;br /&gt;
{   &lt;br /&gt;
  printf( &amp;quot;Foo\n&amp;quot; );&lt;br /&gt;
  fprintf( stderr, &amp;quot;foo\n&amp;quot; );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the ones loving C++, the second way is to use the iostreams :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp,N]&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int foo()&lt;br /&gt;
{&lt;br /&gt;
  std::cerr &amp;lt;&amp;lt; &amp;quot;coucou&amp;quot; &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
  std::cout &amp;lt;&amp;lt; &amp;quot;coucou&amp;quot; &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As two ways of doing things is not enought, you will find a few macros.&lt;br /&gt;
There are two kinds of such macros, the OSL macros and the DGB macros.&lt;br /&gt;
&lt;br /&gt;
===== The OSL functions =====&lt;br /&gt;
&lt;br /&gt;
The OSL_ things are intended to be used permanently, not for debugging&lt;br /&gt;
only. I.e., when you would cassert() you should OSL_ASSERT() (or ENSURE).&lt;br /&gt;
&lt;br /&gt;
* OSL_TRACE( &amp;quot;text&amp;quot; )&lt;br /&gt;
* OSL_ENSURE( condition, &amp;quot;text&amp;quot; )&lt;br /&gt;
* OSL_ASSERT( condition )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here are some examples and how to use those three functions :&lt;br /&gt;
&lt;br /&gt;
====== OSL_TRACE example ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp,N]&lt;br /&gt;
#ifndef _OSL_DIAGNOSE_H_&lt;br /&gt;
  #include &amp;lt;osl/diagnose.h&amp;gt;&lt;br /&gt;
#endif&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
int foo()&lt;br /&gt;
{&lt;br /&gt;
    OSL_TRACE( &amp;quot;My first trace&amp;quot; );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the result should look like :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  $ ./myfoo&lt;br /&gt;
  Thread:      1 :My first trace&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== OSL_ENSURE example ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp,N]&lt;br /&gt;
&lt;br /&gt;
#ifndef _OSL_DIAGNOSE_H_&lt;br /&gt;
  #include &amp;lt;osl/diagnose.h&amp;gt;&lt;br /&gt;
#endif&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
int foo()&lt;br /&gt;
{&lt;br /&gt;
  // Will not be displayed.&lt;br /&gt;
  OSL_ENSURE( true, &amp;quot;here I truly gooooo!!&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
  // Will be displayed.&lt;br /&gt;
  OSL_ENSURE( false, &amp;quot;here I gooooo!!&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
  // &lt;br /&gt;
  #if OSL_DEBUG_LEVEL &amp;gt; 2&lt;br /&gt;
    OSL_ENSURE( true, &amp;quot;here I gooooo if level is set to 3!&amp;quot; );&lt;br /&gt;
  #endif&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the result should look like :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  $ ./myfoo&lt;br /&gt;
  Error: File /home/pagalmes/workspace/chart2_m172/src680-m172/chart2/source/controller/main/ChartController.cxx, Line 1201: here I gooooo!!&lt;br /&gt;
  Backtrace: [0] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x4ac0e&lt;br /&gt;
  Backtrace: [1] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x4b73b&lt;br /&gt;
  Backtrace: [2] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x573b5&lt;br /&gt;
  Backtrace: [3] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x43964&lt;br /&gt;
  [...]&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== OSL_ASSERT example ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp,N]&lt;br /&gt;
#ifndef _OSL_DIAGNOSE_H_&lt;br /&gt;
  #include &amp;lt;osl/diagnose.h&amp;gt;&lt;br /&gt;
#endif&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
int foo()&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
  bool test;&lt;br /&gt;
  test = true;&lt;br /&gt;
&lt;br /&gt;
  OSL_TRACE( &amp;quot;test is true.&amp;quot; );&lt;br /&gt;
  OSL_ASSERT( test );&lt;br /&gt;
&lt;br /&gt;
  test = false;&lt;br /&gt;
&lt;br /&gt;
  OSL_TRACE( &amp;quot;test is false.&amp;quot; );&lt;br /&gt;
  OSL_ASSERT( test );&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the result should look like :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  Thread:      1 :test is true.&lt;br /&gt;
  Thread:      1 :test is false.&lt;br /&gt;
  Error: File /home/pagalmes/workspace/chart2_m172/src680-m172/chart2/source/controller/main/ChartController.cxx, Line 1202&lt;br /&gt;
  Backtrace: [0] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x452db&lt;br /&gt;
  Backtrace: [1] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x47361&lt;br /&gt;
  Backtrace: [2] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x56899&lt;br /&gt;
  [...]&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For printf debugging you can also use OSL_TRACE( &amp;quot;Bla&amp;quot; ); On Linux, this prints to stdout (or stderr), so you should see it on the console, as long as the file was compiled with debug=t&lt;br /&gt;
&lt;br /&gt;
OSL_ASSERT( condition ) and OSL_ENSURE( condition, &amp;quot;text&amp;quot; ) also print to stderr on Linux, but they pop up a window on Windows )&lt;br /&gt;
&lt;br /&gt;
BTW, DBG_ASSERT() and DBG_ERROR() need the tools library (the tools project not the lib in chart2). Therefore I try to avoid it if a library is not linked against tools anyway. I think (not sure) that the model lib is not linked against tools.&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;br /&gt;
[[Category:Source_directories]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=14814</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=14814"/>
		<updated>2006-08-04T10:38:08Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* printf, assert and debug helpers */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m172 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m172 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m172 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cws called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking. You can check the one needed on the &lt;br /&gt;
[http://tools.openoffice.org/ tool page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m172/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.Set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
===== Smoke tests =====&lt;br /&gt;
&lt;br /&gt;
Once everything compiled, you should launch the &amp;quot;smoke tests&amp;quot;. Those are&lt;br /&gt;
tests to verify that the basic functions of OpenOffice.org work. To&lt;br /&gt;
launch the smoke tests, issue the following command lines :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd smoketestoo_native/&lt;br /&gt;
setenv TEMP &amp;quot;/home/pagalmes/workspace/chart2_m172_exec&amp;quot;&lt;br /&gt;
dmake noremove&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : sometimes those tests will fail but you can just ignore them.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m166. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : unoxml, xmerge, xmlhelp, chart2 =====&lt;br /&gt;
&lt;br /&gt;
While compiling, the following error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LINK: ../uiconfig/sglobal/statusbar/statusbar.xml -&amp;gt; /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/xml/uiconfig/&lt;br /&gt;
modules/sglobal/statusbar/statusbar.xml&lt;br /&gt;
Use of uninitialized value in string eq at /home/pagalmes/workspace/chart2_m166/src680-m166/solenv/bin/deliver.pl line 791.&lt;br /&gt;
LOG: writing /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/inc/sw/deliver.log&lt;br /&gt;
Statistics:&lt;br /&gt;
Files copied: 137&lt;br /&gt;
Files unchanged/not matching: 6&lt;br /&gt;
&lt;br /&gt;
4 module(s):&lt;br /&gt;
        unoxml&lt;br /&gt;
        xmerge&lt;br /&gt;
        xmlhelp&lt;br /&gt;
        chart2&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
&lt;br /&gt;
Reason(s):&lt;br /&gt;
&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmlhelp/source/com/sun/star/help&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmerge/source/xmerge&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/chart2/source/tools&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/unoxml/source/service&lt;br /&gt;
&lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from unoxml xmerge xmlhelp chart2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
====== the unoxml problem ======&lt;br /&gt;
&lt;br /&gt;
As explained in issue [http://www.openoffice.org/issues/show_bug.cgi?id=65110 65110],&lt;br /&gt;
in the file unoxml/prj/build.lst the first line has to be changed to add &amp;#039;tools&amp;#039; in it :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ux  unoxml  : &amp;#039;&amp;#039;&amp;#039;tools&amp;#039;&amp;#039;&amp;#039; offuh cppuhelper LIBXML2:libxml2 NULL&lt;br /&gt;
ux  unoxml\source\dom     nmake - all ux_dom      NULL&lt;br /&gt;
ux  unoxml\source\xpath     nmake - all ux_xpath    ux_dom NULL&lt;br /&gt;
ux  unoxml\source\events    nmake - all ux_events   ux_dom NULL&lt;br /&gt;
ux  unoxml\source\service   nmake - all ux_service  ux_dom ux_xpath ux_events NULL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, to rebuild, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd unoxml; build; cd ../instsetoo_native; build --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== the xmerge problem ======&lt;br /&gt;
&lt;br /&gt;
This is only a problem if you try to compile OOo with Java 1.5&lt;br /&gt;
The issue  [http://www.openoffice.org/issues/show_bug.cgi?id=59368 59368]&lt;br /&gt;
explains it in a more detailed way.&lt;br /&gt;
&lt;br /&gt;
To solve this, you only need to apply the patch attached to the issue :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd src680-m166&lt;br /&gt;
patch -p0 &amp;lt; [filename]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue [http://www.openoffice.org/issues/show_bug.cgi?id=63012 63012] :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file chart2/source/tools/InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Coding ===&lt;br /&gt;
&lt;br /&gt;
the essentials &lt;br /&gt;
&lt;br /&gt;
==== printf, assert and debug helpers ====&lt;br /&gt;
&lt;br /&gt;
When you start developping, you will certainly need to trace your program.&lt;br /&gt;
For this, debuggers are really useful, but what is often used is to inserted&lt;br /&gt;
functions like printf() that will send messages. How do those things work in&lt;br /&gt;
OpenOffice.org ? Well there are quite a few ways to echo strings.&lt;br /&gt;
&lt;br /&gt;
The first one is to use the classical &amp;quot;printf&amp;quot; and &amp;quot;fprintf&amp;quot; functions :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp,N]&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int foo()&lt;br /&gt;
{   &lt;br /&gt;
  printf( &amp;quot;Foo\n&amp;quot; );&lt;br /&gt;
  fprintf( stderr, &amp;quot;foo\n&amp;quot; );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the ones loving C++, the second way is to use the iostreams :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp,N]&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int foo()&lt;br /&gt;
{&lt;br /&gt;
  std::cerr &amp;lt;&amp;lt; &amp;quot;coucou&amp;quot; &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
  std::cout &amp;lt;&amp;lt; &amp;quot;coucou&amp;quot; &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As two ways of doing things is not enought, you will find a few macros.&lt;br /&gt;
There are two kinds of such macros, the OSL macros and the DGB macros.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The OSL_ things are intended to be used permanently, not for debugging&lt;br /&gt;
only. I.e., when you would cassert() you should OSL_ASSERT() (or ENSURE).&lt;br /&gt;
&lt;br /&gt;
* OSL_TRACE( &amp;quot;text&amp;quot; )&lt;br /&gt;
* OSL_ENSURE( condition, &amp;quot;text&amp;quot; )&lt;br /&gt;
* OSL_ASSERT( condition )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp,N]&lt;br /&gt;
&lt;br /&gt;
#ifndef _OSL_DIAGNOSE_H_&lt;br /&gt;
  #include &amp;lt;osl/diagnose.h&amp;gt;&lt;br /&gt;
#endif&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
int foo()&lt;br /&gt;
{&lt;br /&gt;
  // Will not be displayed.&lt;br /&gt;
  OSL_ENSURE( true, &amp;quot;here I truly gooooo!!&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
  // Will be displayed.&lt;br /&gt;
  OSL_ENSURE( false, &amp;quot;here I gooooo!!&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
  // &lt;br /&gt;
  #if OSL_DEBUG_LEVEL &amp;gt; 2&lt;br /&gt;
    OSL_ENSURE( true, &amp;quot;here I gooooo if level is set to 3!&amp;quot; );&lt;br /&gt;
  #endif&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the result should look like :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  Error: File /home/pagalmes/workspace/chart2_m172/src680-m172/chart2/source/controller/main/ChartController.cxx, Line 1201: here I gooooo!!&lt;br /&gt;
  Backtrace: [0] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x4ac0e&lt;br /&gt;
  Backtrace: [1] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x4b73b&lt;br /&gt;
  Backtrace: [2] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x573b5&lt;br /&gt;
  Backtrace: [3] /home/pagalmes/workspace/chart2_m172_exec/OpenOffice/opt/openoffice.org2.0/program/libchartcontroller680li.so: ???+0x43964&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For printf debugging you can also use OSL_TRACE( &amp;quot;Bla&amp;quot; ); On Linux, this prints to stdout (or stderr), so you should see it on the console, as long as the file was compiled with debug=t&lt;br /&gt;
&lt;br /&gt;
OSL_ASSERT( condition ) and OSL_ENSURE( condition, &amp;quot;text&amp;quot; ) also print to stderr on Linux, but they pop up a window on Windows )&lt;br /&gt;
&lt;br /&gt;
BTW, DBG_ASSERT() and DBG_ERROR() need the tools library (the tools project not the lib in chart2). Therefore I try to avoid it if a library is not linked against tools anyway. I think (not sure) that the model lib is not linked against tools.&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;br /&gt;
[[Category:Source_directories]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=14813</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=14813"/>
		<updated>2006-08-04T10:10:09Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Developping for the new chart module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m172 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m172 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m172 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cws called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking. You can check the one needed on the &lt;br /&gt;
[http://tools.openoffice.org/ tool page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m172/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.Set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
===== Smoke tests =====&lt;br /&gt;
&lt;br /&gt;
Once everything compiled, you should launch the &amp;quot;smoke tests&amp;quot;. Those are&lt;br /&gt;
tests to verify that the basic functions of OpenOffice.org work. To&lt;br /&gt;
launch the smoke tests, issue the following command lines :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd smoketestoo_native/&lt;br /&gt;
setenv TEMP &amp;quot;/home/pagalmes/workspace/chart2_m172_exec&amp;quot;&lt;br /&gt;
dmake noremove&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : sometimes those tests will fail but you can just ignore them.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m166. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : unoxml, xmerge, xmlhelp, chart2 =====&lt;br /&gt;
&lt;br /&gt;
While compiling, the following error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LINK: ../uiconfig/sglobal/statusbar/statusbar.xml -&amp;gt; /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/xml/uiconfig/&lt;br /&gt;
modules/sglobal/statusbar/statusbar.xml&lt;br /&gt;
Use of uninitialized value in string eq at /home/pagalmes/workspace/chart2_m166/src680-m166/solenv/bin/deliver.pl line 791.&lt;br /&gt;
LOG: writing /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/inc/sw/deliver.log&lt;br /&gt;
Statistics:&lt;br /&gt;
Files copied: 137&lt;br /&gt;
Files unchanged/not matching: 6&lt;br /&gt;
&lt;br /&gt;
4 module(s):&lt;br /&gt;
        unoxml&lt;br /&gt;
        xmerge&lt;br /&gt;
        xmlhelp&lt;br /&gt;
        chart2&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
&lt;br /&gt;
Reason(s):&lt;br /&gt;
&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmlhelp/source/com/sun/star/help&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmerge/source/xmerge&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/chart2/source/tools&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/unoxml/source/service&lt;br /&gt;
&lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from unoxml xmerge xmlhelp chart2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
====== the unoxml problem ======&lt;br /&gt;
&lt;br /&gt;
As explained in issue [http://www.openoffice.org/issues/show_bug.cgi?id=65110 65110],&lt;br /&gt;
in the file unoxml/prj/build.lst the first line has to be changed to add &amp;#039;tools&amp;#039; in it :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ux  unoxml  : &amp;#039;&amp;#039;&amp;#039;tools&amp;#039;&amp;#039;&amp;#039; offuh cppuhelper LIBXML2:libxml2 NULL&lt;br /&gt;
ux  unoxml\source\dom     nmake - all ux_dom      NULL&lt;br /&gt;
ux  unoxml\source\xpath     nmake - all ux_xpath    ux_dom NULL&lt;br /&gt;
ux  unoxml\source\events    nmake - all ux_events   ux_dom NULL&lt;br /&gt;
ux  unoxml\source\service   nmake - all ux_service  ux_dom ux_xpath ux_events NULL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, to rebuild, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd unoxml; build; cd ../instsetoo_native; build --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== the xmerge problem ======&lt;br /&gt;
&lt;br /&gt;
This is only a problem if you try to compile OOo with Java 1.5&lt;br /&gt;
The issue  [http://www.openoffice.org/issues/show_bug.cgi?id=59368 59368]&lt;br /&gt;
explains it in a more detailed way.&lt;br /&gt;
&lt;br /&gt;
To solve this, you only need to apply the patch attached to the issue :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd src680-m166&lt;br /&gt;
patch -p0 &amp;lt; [filename]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue [http://www.openoffice.org/issues/show_bug.cgi?id=63012 63012] :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file chart2/source/tools/InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Coding ===&lt;br /&gt;
&lt;br /&gt;
the essentials &lt;br /&gt;
&lt;br /&gt;
==== printf, assert and debug helpers ====&lt;br /&gt;
&lt;br /&gt;
When you start developping, you will certainly need to trace your program.&lt;br /&gt;
For this, debuggers are really useful, but what is often used is to inserted&lt;br /&gt;
functions like printf() that will send messages. How do those things work in&lt;br /&gt;
OpenOffice.org ? Well there are quite a few ways to echo strings.&lt;br /&gt;
&lt;br /&gt;
The first one is to use the classical &amp;quot;printf&amp;quot; and &amp;quot;fprintf&amp;quot; functions :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp,N]&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int foo()&lt;br /&gt;
{   &lt;br /&gt;
  printf( &amp;quot;Foo\n&amp;quot; );&lt;br /&gt;
  fprintf( stderr, &amp;quot;foo\n&amp;quot; );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the ones loving C++, the second way is to use the iostreams :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[cpp,N]&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
&lt;br /&gt;
int foo()&lt;br /&gt;
{&lt;br /&gt;
  std::cerr &amp;lt;&amp;lt; &amp;quot;coucou&amp;quot; &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
  std::cout &amp;lt;&amp;lt; &amp;quot;coucou&amp;quot; &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As two ways of doing things is not enought, you will find a few macros.&lt;br /&gt;
There are two kinds of such macros, the OSL macros and the DGB macros.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The OSL_ things are intended to be used permanently, not for debugging&lt;br /&gt;
only. I.e., when you would cassert() you should OSL_ASSERT() (or ENSURE).&lt;br /&gt;
&lt;br /&gt;
* OSL_TRACE( &amp;quot;text&amp;quot; )&lt;br /&gt;
* OSL_ENSURE( condition, &amp;quot;text&amp;quot; )&lt;br /&gt;
* OSL_ASSERT( condition )&lt;br /&gt;
&lt;br /&gt;
For printf debugging you can also use OSL_TRACE( &amp;quot;Bla&amp;quot; ); On Linux, this prints to stdout (or stderr), so you should see it on the console, as long as the file was compiled with debug=t&lt;br /&gt;
&lt;br /&gt;
OSL_ASSERT( condition ) and OSL_ENSURE( condition, &amp;quot;text&amp;quot; ) also print to stderr on Linux, but they pop up a window on Windows )&lt;br /&gt;
&lt;br /&gt;
BTW, DBG_ASSERT() and DBG_ERROR() need the tools library (the tools project not the lib in chart2). Therefore I try to avoid it if a library is not linked against tools anyway. I think (not sure) that the model lib is not linked against tools.&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;br /&gt;
[[Category:Source_directories]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=14723</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=14723"/>
		<updated>2006-08-02T13:43:57Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Compiling the new chart module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m172 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m172 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m172 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cws called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking. You can check the one needed on the &lt;br /&gt;
[http://tools.openoffice.org/ tool page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m172/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.Set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
===== Smoke tests =====&lt;br /&gt;
&lt;br /&gt;
Once everything compiled, you should launch the &amp;quot;smoke tests&amp;quot;. Those are&lt;br /&gt;
tests to verify that the basic functions of OpenOffice.org work. To&lt;br /&gt;
launch the smoke tests, issue the following command lines :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd smoketestoo_native/&lt;br /&gt;
setenv TEMP &amp;quot;/home/pagalmes/workspace/chart2_m172_exec&amp;quot;&lt;br /&gt;
dmake noremove&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : sometimes those tests will fail but you can just ignore them.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m166. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : unoxml, xmerge, xmlhelp, chart2 =====&lt;br /&gt;
&lt;br /&gt;
While compiling, the following error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LINK: ../uiconfig/sglobal/statusbar/statusbar.xml -&amp;gt; /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/xml/uiconfig/&lt;br /&gt;
modules/sglobal/statusbar/statusbar.xml&lt;br /&gt;
Use of uninitialized value in string eq at /home/pagalmes/workspace/chart2_m166/src680-m166/solenv/bin/deliver.pl line 791.&lt;br /&gt;
LOG: writing /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/inc/sw/deliver.log&lt;br /&gt;
Statistics:&lt;br /&gt;
Files copied: 137&lt;br /&gt;
Files unchanged/not matching: 6&lt;br /&gt;
&lt;br /&gt;
4 module(s):&lt;br /&gt;
        unoxml&lt;br /&gt;
        xmerge&lt;br /&gt;
        xmlhelp&lt;br /&gt;
        chart2&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
&lt;br /&gt;
Reason(s):&lt;br /&gt;
&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmlhelp/source/com/sun/star/help&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmerge/source/xmerge&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/chart2/source/tools&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/unoxml/source/service&lt;br /&gt;
&lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from unoxml xmerge xmlhelp chart2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
====== the unoxml problem ======&lt;br /&gt;
&lt;br /&gt;
As explained in issue [http://www.openoffice.org/issues/show_bug.cgi?id=65110 65110],&lt;br /&gt;
in the file unoxml/prj/build.lst the first line has to be changed to add &amp;#039;tools&amp;#039; in it :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ux  unoxml  : &amp;#039;&amp;#039;&amp;#039;tools&amp;#039;&amp;#039;&amp;#039; offuh cppuhelper LIBXML2:libxml2 NULL&lt;br /&gt;
ux  unoxml\source\dom     nmake - all ux_dom      NULL&lt;br /&gt;
ux  unoxml\source\xpath     nmake - all ux_xpath    ux_dom NULL&lt;br /&gt;
ux  unoxml\source\events    nmake - all ux_events   ux_dom NULL&lt;br /&gt;
ux  unoxml\source\service   nmake - all ux_service  ux_dom ux_xpath ux_events NULL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, to rebuild, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd unoxml; build; cd ../instsetoo_native; build --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== the xmerge problem ======&lt;br /&gt;
&lt;br /&gt;
This is only a problem if you try to compile OOo with Java 1.5&lt;br /&gt;
The issue  [http://www.openoffice.org/issues/show_bug.cgi?id=59368 59368]&lt;br /&gt;
explains it in a more detailed way.&lt;br /&gt;
&lt;br /&gt;
To solve this, you only need to apply the patch attached to the issue :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd src680-m166&lt;br /&gt;
patch -p0 &amp;lt; [filename]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue [http://www.openoffice.org/issues/show_bug.cgi?id=63012 63012] :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file chart2/source/tools/InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;br /&gt;
[[Category:Source_directories]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=SUSE9.3_Build_Instructions&amp;diff=12682</id>
		<title>SUSE9.3 Build Instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=SUSE9.3_Build_Instructions&amp;diff=12682"/>
		<updated>2006-06-20T12:25:05Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== About SUSE 9.3 ===&lt;br /&gt;
&lt;br /&gt;
SUSE 9.3 project is the ancestor of OpenSuse, a worldwide community program sponsored by Novell that promotes the use of Linux everywhere. The program provides anyone with free and easy access to SUSE Linux.&lt;br /&gt;
&lt;br /&gt;
=== Build Instructions ===&lt;br /&gt;
&lt;br /&gt;
The [[Building|build procedure]] is the same as for other Linux systems.&lt;br /&gt;
&lt;br /&gt;
=== Issues during the build (this is true with m172) ===&lt;br /&gt;
&lt;br /&gt;
==== uudecode ====&lt;br /&gt;
&lt;br /&gt;
This is related to &lt;br /&gt;
&lt;br /&gt;
*Installed the Java package from Suse 9.3&lt;br /&gt;
*Installed the JDK in another location&lt;br /&gt;
*You try to build using the JDK just downloaded&lt;br /&gt;
&lt;br /&gt;
==== connectivity ====&lt;br /&gt;
&lt;br /&gt;
When trying to build the connectivity project, the following error my be displayed :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
TODO : Here add the error !! (~ &amp;quot;needs libstdc++.so.6)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This happens if you try to build OOo using the pre-build mozilla packages &lt;br /&gt;
(LINUXGCCIinc.zip, LINUXGCCIlib.zip and LINUXGCCIruntime.zip) and to compile OOo using gcc &amp;lt; 3.4. &lt;br /&gt;
&lt;br /&gt;
Here is the situation :&lt;br /&gt;
&lt;br /&gt;
* By default, Suse 9.3 uses gcc 3.3.5 and libstdc++.so.5&lt;br /&gt;
* The prebuild mozilla packages were build using gcc 3.4 and libstdc++.so.6&lt;br /&gt;
&lt;br /&gt;
So, you can not use those pre-build packages and need to compile your own mozilla packages as it is &lt;br /&gt;
described on the [http://tools.openoffice.org/dev_docs/build_linux.html tools project page].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Distribution-Specific Build Instructions]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Building_with_ooobuild&amp;diff=12681</id>
		<title>Building with ooobuild</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Building_with_ooobuild&amp;diff=12681"/>
		<updated>2006-06-20T11:51:43Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Vanilla Up-stream builds ==&lt;br /&gt;
&lt;br /&gt;
See the [http://tools.openoffice.org#Build tools] project for build guides for various platforms.&lt;br /&gt;
&lt;br /&gt;
Also for OS/X see [[MacOSXBuildInstructions]]&lt;br /&gt;
&lt;br /&gt;
For GNU/Linux Sparc, with gcc4.1 &amp;amp; gcj, see [[GNULinuxSparcPorting]]&lt;br /&gt;
&lt;br /&gt;
== ooo-build builds ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;If you are looking for additional building tips for Windows check [[Windows |this]] page first.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== configure ===&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;p&amp;gt;&lt;br /&gt;
      The build process is pretty complicated; you have a choice&lt;br /&gt;
      of commands now; although running both won&amp;#039;t actually hurt:&lt;br /&gt;
    &amp;lt;/p&amp;gt;&lt;br /&gt;
      ./autogen.sh # only for the CVS version&lt;br /&gt;
      ./configure  # the packaged version&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;p&amp;gt;&lt;br /&gt;
      This will guess which branch snapshot you want to build; if&lt;br /&gt;
      you have other ideas use the --with-tag option; eg.&lt;br /&gt;
      &amp;lt;code&amp;gt;--with-tag=src680-m65&amp;lt;/code&amp;gt; for a legacy branch.&lt;br /&gt;
    &amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;&lt;br /&gt;
      If for some reason you have a 31337 multi-threaded computer,&lt;br /&gt;
      with great slabs of RAM; you&amp;#039;ll want to use --with-num-cpus=8&lt;br /&gt;
      etc. NB. it&amp;#039;s not clever to force the build to swap like a&lt;br /&gt;
      demented pawnbroker by using an artificially high number; C++&lt;br /&gt;
      compilation is seriously memory hungry.&lt;br /&gt;
    &amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;&lt;br /&gt;
      In particular, building SRC680 requires a recent jdk &amp;amp;amp; a&lt;br /&gt;
      version of apache-ant. If you use a Novell system, just do:&lt;br /&gt;
      &amp;lt;code&amp;gt;sudo rug in apache-ant&amp;lt;/code&amp;gt;, alternatively download&lt;br /&gt;
      a package from [http://www.rpmfind.net/linux/rpm2html/search.php?query=apache-ant&amp;amp;submit=Search+...&amp;quot; rpmfind.net] or failing that see [http://ant.apache.org/bindownload.cgi Ant download]&lt;br /&gt;
&amp;amp;amp; set the ANT environment variable&lt;br /&gt;
      appropriately before configuring.&lt;br /&gt;
    &amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;h4&amp;gt;Known ./configure parameters&amp;lt;/h4&amp;gt;&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;&amp;lt;h5&amp;gt;&amp;lt;code&amp;gt;--with-system-&amp;lt;package name&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/h5&amp;gt;&lt;br /&gt;
        &amp;lt;p&amp;gt;where &amp;amp;lt;package name&amp;gt; is replaced by the package to use. I don&amp;#039;t&lt;br /&gt;
        have a particularly good understanding of its full effects beyond&lt;br /&gt;
        the fact that it (probably) doesn&amp;#039;t then build its own copy of the&lt;br /&gt;
        package.&amp;lt;/p&amp;gt;&lt;br /&gt;
        &amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Examples:&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
           &amp;lt;code&amp;gt;--with-system-python&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
           &amp;lt;code&amp;gt;--with-system-mozilla&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
           &amp;lt;code&amp;gt;--with-system-gcc&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
           &amp;lt;code&amp;gt;--with-system-neon&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
           &amp;lt;code&amp;gt;--with-system-curl&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
        &amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
     &amp;lt;li&amp;gt;&amp;lt;h5&amp;gt;&amp;lt;code&amp;gt;--without-system-&amp;lt;package name&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/h5&amp;gt;&lt;br /&gt;
         &amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Examples:&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;--without-system-mozilla&amp;lt;/code&amp;gt;&lt;br /&gt;
         &amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
     &amp;lt;li&amp;gt;&amp;lt;h5&amp;gt;&amp;lt;code&amp;gt;--with-&amp;lt;package or tag&amp;gt;[=value]&amp;lt;/code&amp;gt;&amp;lt;/h5&amp;gt;&lt;br /&gt;
         &amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Examples:&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;--with-lang=en-US&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;--with-build-version=&amp;quot;Build 2.0.1.3&amp;quot;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;--with-distro=Gentoo&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
         &amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
     &amp;lt;li&amp;gt;&amp;lt;h5&amp;gt;&amp;lt;code&amp;gt;--without-&amp;lt;package or tag&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/h5&amp;gt;&lt;br /&gt;
         &amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Examples:&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;--without-myspell-dicts&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;--without-java&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;--without-nas&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
         &amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
     &amp;lt;li&amp;gt;&amp;lt;h5&amp;gt;&amp;lt;code&amp;gt;--enable-&amp;lt;package name&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/h5&amp;gt;&lt;br /&gt;
         &amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Examples:&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;--enable-openldap&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
         &amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
     &amp;lt;li&amp;gt;&amp;lt;h5&amp;gt;&amp;lt;code&amp;gt;--disable-&amp;lt;package name&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/h5&amp;gt;&lt;br /&gt;
         &amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Examples:&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;--disable-openldap&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;--disable-qadevoo&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;--disable-mozilla&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;--disable-access&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
            &amp;lt;code&amp;gt;--disable-evolution2&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
         &amp;lt;/p&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
     &amp;lt;li&amp;gt;&amp;lt;h5&amp;gt;&amp;lt;code&amp;gt;--mandir=&amp;lt;dir&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/h5&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
     &amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
*A recent version of automake, such as the 1.9 series.&lt;br /&gt;
*If you don&amp;#039;t have a working Java VM (i.e. any runtime), you should pass &amp;lt;code&amp;gt;--with-java=no&amp;lt;/code&amp;gt; to either &amp;lt;code&amp;gt;autogen.sh&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;configure&amp;lt;/code&amp;gt;.&lt;br /&gt;
*You need the Archive/Zip module for Perl (perl-Archive-Zip on RPM-based distributions, libarchive-zip-perl on dpkg-based distributions). Alternatively, see instructions[http://ooo.ximian.com/cpan.html] for obtaining Perl modules through CPAN.&lt;br /&gt;
*You need the development package for Python (this would be python-devel on RPM-based distributions).&lt;br /&gt;
*You need curl and curl-devel.&lt;br /&gt;
*You need odbc_config to be present.  On SUSE systems, this is in the unixODBC-devel package.&lt;br /&gt;
*You need libsndfile and libsndfile-devel.&lt;br /&gt;
*If you don&amp;#039;t have a recent enough openldap, pass &amp;lt;code&amp;gt;--disable-openldap&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;autogen.sh&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;configure&amp;lt;/code&amp;gt;.&lt;br /&gt;
*You need neon and neon-devel.&lt;br /&gt;
*You need qt3 and qt3-devel, or if you don&amp;#039;t have the KDE development packages, pass &amp;lt;code&amp;gt;--disable-kde&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;autogen.sh&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;configure&amp;lt;/code&amp;gt;.&lt;br /&gt;
*You need mozilla-nss-devel.&lt;br /&gt;
*In SuSE, you need gecko-sdk.&lt;br /&gt;
&lt;br /&gt;
=== download ===&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;p&amp;gt;&lt;br /&gt;
      By the time you&amp;#039;ve upgraded your system to the point that it&lt;br /&gt;
      has all the packages you need to start building OO.o (mozilla etc. etc.) you&amp;#039;re almost at the point that you&lt;br /&gt;
      can download the bulk of the source. To do this, after a&lt;br /&gt;
      successful configure simply type: &amp;lt;code&amp;gt;./download&amp;lt;/code&amp;gt; and wait.&lt;br /&gt;
    &amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;&lt;br /&gt;
      If for whatever reason this fails, you can verify your download&lt;br /&gt;
      by fetching the equivalent .md5 file &amp;amp;amp; comparing it to&lt;br /&gt;
      the result of &amp;lt;code&amp;gt;md5sum &amp;lt;archive&amp;gt;&amp;lt;/code&amp;gt;. The source&lt;br /&gt;
      archives are http://go-ooo.org/packages/SRC680&lt;br /&gt;
       - put the source in ooo-build/src.&lt;br /&gt;
    &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== make ===&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;p&amp;gt;&lt;br /&gt;
      This is the taxing bit - type &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; and don&amp;#039;t forget&lt;br /&gt;
      to press enter. Quite possibly you want to log the output, so&lt;br /&gt;
      why not &amp;lt;code&amp;gt;make 2&amp;gt;&amp;amp;1 | tee /tmp/log&amp;lt;/code&amp;gt;.&lt;br /&gt;
    &amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;&lt;br /&gt;
      Since ooo-build wraps the actual OO.o configuration &amp;amp;amp;&lt;br /&gt;
      build process, there are a number of internal config checks that&lt;br /&gt;
      also need to pass. For a first time build it&amp;#039;s well worth staying&lt;br /&gt;
      near the console while everything unpacks, and the internal&lt;br /&gt;
      configure runs; if that completes without incident - you&amp;#039;re&lt;br /&gt;
      usually into the heavy-duty thumb twiddling.&lt;br /&gt;
    &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
*[[Installing]]&lt;br /&gt;
*[[Tinderbox Setup]]&lt;br /&gt;
*[[BuildSpeedup]]&lt;br /&gt;
*[[OpenSUSE Build Instructions]]&lt;br /&gt;
*[[SUSE9.3 Build Instructions]]&lt;br /&gt;
*[[Ubuntu Build Instructions]]&lt;br /&gt;
*OpenOffice.org &amp;quot;Tools&amp;quot; page [http://tools.openoffice.org/dev_docs/build_linux.html]&lt;br /&gt;
*[[Build Tool Requirements]]&lt;br /&gt;
&lt;br /&gt;
[[Category: Development]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=SUSE9.3_Build_Instructions&amp;diff=12651</id>
		<title>SUSE9.3 Build Instructions</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=SUSE9.3_Build_Instructions&amp;diff=12651"/>
		<updated>2006-06-19T17:31:10Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== About SUSE 9.3 ===&lt;br /&gt;
&lt;br /&gt;
SUSE 9.3 project is the ancestor of OpenSuse, a worldwide community program sponsored by Novell that promotes the use of Linux everywhere. The program provides anyone with free and easy access to SUSE Linux.&lt;br /&gt;
&lt;br /&gt;
=== Build Instructions ===&lt;br /&gt;
&lt;br /&gt;
The [[Building|build procedure]] is the same as for other Linux systems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Distribution-Specific Build Instructions]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Speedprof&amp;diff=11845</id>
		<title>Speedprof</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Speedprof&amp;diff=11845"/>
		<updated>2006-06-05T09:56:21Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* patch it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== what is it ===&lt;br /&gt;
&lt;br /&gt;
Speedprof is an LD_PRELOAD based itimer (or hard real-time, or builtin CPU timer) based snapshot profiler. It samples at regular intervals (tweakable by reading the code ;-) and then presents a rather sexy data mining view so you can wind back full stack information - what function called what and when, self &amp;amp; cumulative times down trace paths etc.&lt;br /&gt;
&lt;br /&gt;
=== how to get it ===&lt;br /&gt;
&lt;br /&gt;
Checkout &amp;#039;memprof&amp;#039; from GNOME [http://developer.gnome.org/tools/cvs.html CVS]:&lt;br /&gt;
&lt;br /&gt;
    export CVSROOT=&amp;#039;:pserver:anonymous@anoncvs.gnome.org:/cvs/gnome&amp;#039;&lt;br /&gt;
    cvs login&lt;br /&gt;
    cvs -z3 co memprof&lt;br /&gt;
&lt;br /&gt;
=== patch it ===&lt;br /&gt;
&lt;br /&gt;
Then if you&amp;#039;re on a reasonably recent system you need to patch it to use new TLS / NPTL threading support instead of the older linux pthreads assumptions; [http://go-oo.org/ooo-build/patches/test/memprof-nptl.diff patch].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
patch -p0 &amp;lt; memprof-nptl.diff&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== install it ===&lt;br /&gt;
&lt;br /&gt;
    configure&lt;br /&gt;
    make&lt;br /&gt;
    make install&lt;br /&gt;
&lt;br /&gt;
=== how to use it ===&lt;br /&gt;
&lt;br /&gt;
    speedprof ./soffice.bin -writer&lt;br /&gt;
&lt;br /&gt;
Of course, the most useful mode is to use the &amp;#039;reset&amp;#039; button - ie. get OO.o going to the state you&amp;#039;re interested in. Hit reset - do something slow - hit &amp;#039;Profile&amp;#039; and wander the trace.&lt;br /&gt;
&lt;br /&gt;
=== downsides ===&lt;br /&gt;
&lt;br /&gt;
* sometimes crashes the app - but hey, sometimes the app crashes under it&amp;#039;s own steam too - hard to know whom to blame.&lt;br /&gt;
* doesn&amp;#039;t work well with old systems (know to work well on SL10.0 with the patch eg.)&lt;br /&gt;
* doesn&amp;#039;t like very long C++ symbols much - makes the columns somewhat unpleasant to use, needs some app tweakage.&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10920</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10920"/>
		<updated>2006-05-24T14:27:43Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cws called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking. You can check the one needed on the &lt;br /&gt;
[http://tools.openoffice.org/ tool page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.Set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m166. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : unoxml, xmerge, xmlhelp, chart2 =====&lt;br /&gt;
&lt;br /&gt;
While compiling, the following error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LINK: ../uiconfig/sglobal/statusbar/statusbar.xml -&amp;gt; /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/xml/uiconfig/&lt;br /&gt;
modules/sglobal/statusbar/statusbar.xml&lt;br /&gt;
Use of uninitialized value in string eq at /home/pagalmes/workspace/chart2_m166/src680-m166/solenv/bin/deliver.pl line 791.&lt;br /&gt;
LOG: writing /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/inc/sw/deliver.log&lt;br /&gt;
Statistics:&lt;br /&gt;
Files copied: 137&lt;br /&gt;
Files unchanged/not matching: 6&lt;br /&gt;
&lt;br /&gt;
4 module(s):&lt;br /&gt;
        unoxml&lt;br /&gt;
        xmerge&lt;br /&gt;
        xmlhelp&lt;br /&gt;
        chart2&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
&lt;br /&gt;
Reason(s):&lt;br /&gt;
&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmlhelp/source/com/sun/star/help&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmerge/source/xmerge&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/chart2/source/tools&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/unoxml/source/service&lt;br /&gt;
&lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from unoxml xmerge xmlhelp chart2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
====== the unoxml problem ======&lt;br /&gt;
&lt;br /&gt;
As explained in issue [http://www.openoffice.org/issues/show_bug.cgi?id=65110 65110],&lt;br /&gt;
in the file unoxml/prj/build.lst the first line has to be changed to add &amp;#039;tools&amp;#039; in it :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ux  unoxml  : &amp;#039;&amp;#039;&amp;#039;tools&amp;#039;&amp;#039;&amp;#039; offuh cppuhelper LIBXML2:libxml2 NULL&lt;br /&gt;
ux  unoxml\source\dom     nmake - all ux_dom      NULL&lt;br /&gt;
ux  unoxml\source\xpath     nmake - all ux_xpath    ux_dom NULL&lt;br /&gt;
ux  unoxml\source\events    nmake - all ux_events   ux_dom NULL&lt;br /&gt;
ux  unoxml\source\service   nmake - all ux_service  ux_dom ux_xpath ux_events NULL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, to rebuild, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd unoxml; build; cd ../instsetoo_native; build --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== the xmerge problem ======&lt;br /&gt;
&lt;br /&gt;
This is only a problem if you try to compile OOo with Java 1.5&lt;br /&gt;
The issue  [http://www.openoffice.org/issues/show_bug.cgi?id=59368 59368]&lt;br /&gt;
explains it in a more detailed way.&lt;br /&gt;
&lt;br /&gt;
To solve this, you only need to apply the patch attached to the issue :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd src680-m166&lt;br /&gt;
patch -p0 &amp;lt; [filename]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue [http://www.openoffice.org/issues/show_bug.cgi?id=63012 63012] :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file chart2/source/tools/InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10916</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10916"/>
		<updated>2006-05-24T10:14:08Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* The errors reported and the solutions for m166. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking. You can check the one needed on the &lt;br /&gt;
[http://tools.openoffice.org/ tool page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.Set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m166. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : unoxml, xmerge, xmlhelp, chart2 =====&lt;br /&gt;
&lt;br /&gt;
While compiling, the following error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LINK: ../uiconfig/sglobal/statusbar/statusbar.xml -&amp;gt; /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/xml/uiconfig/&lt;br /&gt;
modules/sglobal/statusbar/statusbar.xml&lt;br /&gt;
Use of uninitialized value in string eq at /home/pagalmes/workspace/chart2_m166/src680-m166/solenv/bin/deliver.pl line 791.&lt;br /&gt;
LOG: writing /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/inc/sw/deliver.log&lt;br /&gt;
Statistics:&lt;br /&gt;
Files copied: 137&lt;br /&gt;
Files unchanged/not matching: 6&lt;br /&gt;
&lt;br /&gt;
4 module(s):&lt;br /&gt;
        unoxml&lt;br /&gt;
        xmerge&lt;br /&gt;
        xmlhelp&lt;br /&gt;
        chart2&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
&lt;br /&gt;
Reason(s):&lt;br /&gt;
&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmlhelp/source/com/sun/star/help&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmerge/source/xmerge&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/chart2/source/tools&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/unoxml/source/service&lt;br /&gt;
&lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from unoxml xmerge xmlhelp chart2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
====== the unoxml problem ======&lt;br /&gt;
&lt;br /&gt;
As explained in issue [http://www.openoffice.org/issues/show_bug.cgi?id=65110 65110],&lt;br /&gt;
in the file unoxml/prj/build.lst the first line has to be changed to add &amp;#039;tools&amp;#039; in it :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ux  unoxml  : &amp;#039;&amp;#039;&amp;#039;tools&amp;#039;&amp;#039;&amp;#039; offuh cppuhelper LIBXML2:libxml2 NULL&lt;br /&gt;
ux  unoxml\source\dom     nmake - all ux_dom      NULL&lt;br /&gt;
ux  unoxml\source\xpath     nmake - all ux_xpath    ux_dom NULL&lt;br /&gt;
ux  unoxml\source\events    nmake - all ux_events   ux_dom NULL&lt;br /&gt;
ux  unoxml\source\service   nmake - all ux_service  ux_dom ux_xpath ux_events NULL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, to rebuild, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd unoxml; build; cd ../instsetoo_native; build --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== the xmerge problem ======&lt;br /&gt;
&lt;br /&gt;
This is only a problem if you try to compile OOo with Java 1.5&lt;br /&gt;
The issue  [http://www.openoffice.org/issues/show_bug.cgi?id=59368 59368]&lt;br /&gt;
explains it in a more detailed way.&lt;br /&gt;
&lt;br /&gt;
To solve this, you only need to apply the patch attached to the issue :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd src680-m166&lt;br /&gt;
patch -p0 &amp;lt; [filename]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue [http://www.openoffice.org/issues/show_bug.cgi?id=63012 63012] :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file chart2/source/tools/InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m155. ====&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10915</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10915"/>
		<updated>2006-05-24T10:12:41Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* ERROR 2 : The InternalDataProvider.cxx include error */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking. You can check the one needed on the &lt;br /&gt;
[http://tools.openoffice.org/ tool page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.Set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m166. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : unoxml, xmerge, xmlhelp, chart2 =====&lt;br /&gt;
&lt;br /&gt;
While compiling, the following error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LINK: ../uiconfig/sglobal/statusbar/statusbar.xml -&amp;gt; /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/xml/uiconfig/&lt;br /&gt;
modules/sglobal/statusbar/statusbar.xml&lt;br /&gt;
Use of uninitialized value in string eq at /home/pagalmes/workspace/chart2_m166/src680-m166/solenv/bin/deliver.pl line 791.&lt;br /&gt;
LOG: writing /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/inc/sw/deliver.log&lt;br /&gt;
Statistics:&lt;br /&gt;
Files copied: 137&lt;br /&gt;
Files unchanged/not matching: 6&lt;br /&gt;
&lt;br /&gt;
4 module(s):&lt;br /&gt;
        unoxml&lt;br /&gt;
        xmerge&lt;br /&gt;
        xmlhelp&lt;br /&gt;
        chart2&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
&lt;br /&gt;
Reason(s):&lt;br /&gt;
&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmlhelp/source/com/sun/star/help&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmerge/source/xmerge&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/chart2/source/tools&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/unoxml/source/service&lt;br /&gt;
&lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from unoxml xmerge xmlhelp chart2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
====== the unoxml problem ======&lt;br /&gt;
&lt;br /&gt;
As explained in issue [http://www.openoffice.org/issues/show_bug.cgi?id=65110 65110],&lt;br /&gt;
in the file unoxml/prj/build.lst the first line has to be changed to add &amp;#039;tools&amp;#039; in it :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ux  unoxml  : &amp;#039;&amp;#039;&amp;#039;tools&amp;#039;&amp;#039;&amp;#039; offuh cppuhelper LIBXML2:libxml2 NULL&lt;br /&gt;
ux  unoxml\source\dom     nmake - all ux_dom      NULL&lt;br /&gt;
ux  unoxml\source\xpath     nmake - all ux_xpath    ux_dom NULL&lt;br /&gt;
ux  unoxml\source\events    nmake - all ux_events   ux_dom NULL&lt;br /&gt;
ux  unoxml\source\service   nmake - all ux_service  ux_dom ux_xpath ux_events NULL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, to rebuild, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd unoxml; build; cd ../instsetoo_native; build --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== the xmerge problem ======&lt;br /&gt;
&lt;br /&gt;
This is only a problem if you try to compile OOo with Java 1.5&lt;br /&gt;
The issue  [http://www.openoffice.org/issues/show_bug.cgi?id=59368 59368]&lt;br /&gt;
explains it in a more detailed way.&lt;br /&gt;
&lt;br /&gt;
To solve this, you only need to apply the patch attached to the issue :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd src680-m166&lt;br /&gt;
patch -p0 &amp;lt; [filename]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue [http://www.openoffice.org/issues/show_bug.cgi?id=63012 63012] :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m155. ====&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10914</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10914"/>
		<updated>2006-05-24T10:11:15Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* The errors reported and the solutions for m166. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking. You can check the one needed on the &lt;br /&gt;
[http://tools.openoffice.org/ tool page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.Set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m166. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : unoxml, xmerge, xmlhelp, chart2 =====&lt;br /&gt;
&lt;br /&gt;
While compiling, the following error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LINK: ../uiconfig/sglobal/statusbar/statusbar.xml -&amp;gt; /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/xml/uiconfig/&lt;br /&gt;
modules/sglobal/statusbar/statusbar.xml&lt;br /&gt;
Use of uninitialized value in string eq at /home/pagalmes/workspace/chart2_m166/src680-m166/solenv/bin/deliver.pl line 791.&lt;br /&gt;
LOG: writing /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/inc/sw/deliver.log&lt;br /&gt;
Statistics:&lt;br /&gt;
Files copied: 137&lt;br /&gt;
Files unchanged/not matching: 6&lt;br /&gt;
&lt;br /&gt;
4 module(s):&lt;br /&gt;
        unoxml&lt;br /&gt;
        xmerge&lt;br /&gt;
        xmlhelp&lt;br /&gt;
        chart2&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
&lt;br /&gt;
Reason(s):&lt;br /&gt;
&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmlhelp/source/com/sun/star/help&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmerge/source/xmerge&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/chart2/source/tools&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/unoxml/source/service&lt;br /&gt;
&lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from unoxml xmerge xmlhelp chart2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
====== the unoxml problem ======&lt;br /&gt;
&lt;br /&gt;
As explained in issue [http://www.openoffice.org/issues/show_bug.cgi?id=65110 65110],&lt;br /&gt;
in the file unoxml/prj/build.lst the first line has to be changed to add &amp;#039;tools&amp;#039; in it :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ux  unoxml  : &amp;#039;&amp;#039;&amp;#039;tools&amp;#039;&amp;#039;&amp;#039; offuh cppuhelper LIBXML2:libxml2 NULL&lt;br /&gt;
ux  unoxml\source\dom     nmake - all ux_dom      NULL&lt;br /&gt;
ux  unoxml\source\xpath     nmake - all ux_xpath    ux_dom NULL&lt;br /&gt;
ux  unoxml\source\events    nmake - all ux_events   ux_dom NULL&lt;br /&gt;
ux  unoxml\source\service   nmake - all ux_service  ux_dom ux_xpath ux_events NULL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, to rebuild, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd unoxml; build; cd ../instsetoo_native; build --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== the xmerge problem ======&lt;br /&gt;
&lt;br /&gt;
This is only a problem if you try to compile OOo with Java 1.5&lt;br /&gt;
The issue  [http://www.openoffice.org/issues/show_bug.cgi?id=59368 59368]&lt;br /&gt;
explains it in a more detailed way.&lt;br /&gt;
&lt;br /&gt;
To solve this, you only need to apply the patch attached to the issue :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd src680-m166&lt;br /&gt;
patch -p0 &amp;lt; [filename]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m155. ====&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10912</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10912"/>
		<updated>2006-05-24T09:43:24Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* the xmerge problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking. You can check the one needed on the &lt;br /&gt;
[http://tools.openoffice.org/ tool page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.Set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m166. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : unoxml, xmerge, xmlhelp, chart2 =====&lt;br /&gt;
&lt;br /&gt;
While compiling, the following error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LINK: ../uiconfig/sglobal/statusbar/statusbar.xml -&amp;gt; /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/xml/uiconfig/&lt;br /&gt;
modules/sglobal/statusbar/statusbar.xml&lt;br /&gt;
Use of uninitialized value in string eq at /home/pagalmes/workspace/chart2_m166/src680-m166/solenv/bin/deliver.pl line 791.&lt;br /&gt;
LOG: writing /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/inc/sw/deliver.log&lt;br /&gt;
Statistics:&lt;br /&gt;
Files copied: 137&lt;br /&gt;
Files unchanged/not matching: 6&lt;br /&gt;
&lt;br /&gt;
4 module(s):&lt;br /&gt;
        unoxml&lt;br /&gt;
        xmerge&lt;br /&gt;
        xmlhelp&lt;br /&gt;
        chart2&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
&lt;br /&gt;
Reason(s):&lt;br /&gt;
&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmlhelp/source/com/sun/star/help&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmerge/source/xmerge&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/chart2/source/tools&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/unoxml/source/service&lt;br /&gt;
&lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from unoxml xmerge xmlhelp chart2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
====== the unoxml problem ======&lt;br /&gt;
&lt;br /&gt;
As explained in issue [http://www.openoffice.org/issues/show_bug.cgi?id=65110 65110],&lt;br /&gt;
in the file unoxml/prj/build.lst the first line has to be changed to add &amp;#039;tools&amp;#039; in it :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ux  unoxml  : &amp;#039;&amp;#039;&amp;#039;tools&amp;#039;&amp;#039;&amp;#039; offuh cppuhelper LIBXML2:libxml2 NULL&lt;br /&gt;
ux  unoxml\source\dom     nmake - all ux_dom      NULL&lt;br /&gt;
ux  unoxml\source\xpath     nmake - all ux_xpath    ux_dom NULL&lt;br /&gt;
ux  unoxml\source\events    nmake - all ux_events   ux_dom NULL&lt;br /&gt;
ux  unoxml\source\service   nmake - all ux_service  ux_dom ux_xpath ux_events NULL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, to rebuild, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd unoxml; build; cd ../instsetoo_native; build --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== the xmerge problem ======&lt;br /&gt;
&lt;br /&gt;
This is only a problem if you try to compile OOo with Java 1.5&lt;br /&gt;
The issue  [http://www.openoffice.org/issues/show_bug.cgi?id=59368 59368]&lt;br /&gt;
explains it in a more detailed way.&lt;br /&gt;
&lt;br /&gt;
To solve this, you only need to apply the patch attached to the issue :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd src680-m166&lt;br /&gt;
patch -p0 &amp;lt; [filename]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m155. ====&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10909</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10909"/>
		<updated>2006-05-24T09:40:50Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* the unoxml problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking. You can check the one needed on the &lt;br /&gt;
[http://tools.openoffice.org/ tool page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.Set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m166. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : unoxml, xmerge, xmlhelp, chart2 =====&lt;br /&gt;
&lt;br /&gt;
While compiling, the following error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LINK: ../uiconfig/sglobal/statusbar/statusbar.xml -&amp;gt; /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/xml/uiconfig/&lt;br /&gt;
modules/sglobal/statusbar/statusbar.xml&lt;br /&gt;
Use of uninitialized value in string eq at /home/pagalmes/workspace/chart2_m166/src680-m166/solenv/bin/deliver.pl line 791.&lt;br /&gt;
LOG: writing /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/inc/sw/deliver.log&lt;br /&gt;
Statistics:&lt;br /&gt;
Files copied: 137&lt;br /&gt;
Files unchanged/not matching: 6&lt;br /&gt;
&lt;br /&gt;
4 module(s):&lt;br /&gt;
        unoxml&lt;br /&gt;
        xmerge&lt;br /&gt;
        xmlhelp&lt;br /&gt;
        chart2&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
&lt;br /&gt;
Reason(s):&lt;br /&gt;
&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmlhelp/source/com/sun/star/help&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmerge/source/xmerge&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/chart2/source/tools&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/unoxml/source/service&lt;br /&gt;
&lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from unoxml xmerge xmlhelp chart2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
====== the unoxml problem ======&lt;br /&gt;
&lt;br /&gt;
As explained in issue [http://www.openoffice.org/issues/show_bug.cgi?id=65110 65110],&lt;br /&gt;
in the file unoxml/prj/build.lst the first line has to be changed to add &amp;#039;tools&amp;#039; in it :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ux  unoxml  : &amp;#039;&amp;#039;&amp;#039;tools&amp;#039;&amp;#039;&amp;#039; offuh cppuhelper LIBXML2:libxml2 NULL&lt;br /&gt;
ux  unoxml\source\dom     nmake - all ux_dom      NULL&lt;br /&gt;
ux  unoxml\source\xpath     nmake - all ux_xpath    ux_dom NULL&lt;br /&gt;
ux  unoxml\source\events    nmake - all ux_events   ux_dom NULL&lt;br /&gt;
ux  unoxml\source\service   nmake - all ux_service  ux_dom ux_xpath ux_events NULL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, to rebuild, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd unoxml; build; cd ../instsetoo_native; build --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== the xmerge problem ======&lt;br /&gt;
&lt;br /&gt;
This is only a problem if you try to compile OOo with Java 1.5&lt;br /&gt;
&lt;br /&gt;
The issue : http://www.openoffice.org/issues/show_bug.cgi?id=59368&lt;br /&gt;
&lt;br /&gt;
In it, there is only a need to apply the patch posted there :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd src680-m166&lt;br /&gt;
patch -p0 &amp;lt; [filename]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m155. ====&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10908</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10908"/>
		<updated>2006-05-24T09:37:22Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* ERROR 1 : unoxml, xmerge, xmlhelp, chart2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking. You can check the one needed on the &lt;br /&gt;
[http://tools.openoffice.org/ tool page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.Set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m166. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : unoxml, xmerge, xmlhelp, chart2 =====&lt;br /&gt;
&lt;br /&gt;
While compiling, the following error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LINK: ../uiconfig/sglobal/statusbar/statusbar.xml -&amp;gt; /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/xml/uiconfig/&lt;br /&gt;
modules/sglobal/statusbar/statusbar.xml&lt;br /&gt;
Use of uninitialized value in string eq at /home/pagalmes/workspace/chart2_m166/src680-m166/solenv/bin/deliver.pl line 791.&lt;br /&gt;
LOG: writing /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/inc/sw/deliver.log&lt;br /&gt;
Statistics:&lt;br /&gt;
Files copied: 137&lt;br /&gt;
Files unchanged/not matching: 6&lt;br /&gt;
&lt;br /&gt;
4 module(s):&lt;br /&gt;
        unoxml&lt;br /&gt;
        xmerge&lt;br /&gt;
        xmlhelp&lt;br /&gt;
        chart2&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
&lt;br /&gt;
Reason(s):&lt;br /&gt;
&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmlhelp/source/com/sun/star/help&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmerge/source/xmerge&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/chart2/source/tools&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/unoxml/source/service&lt;br /&gt;
&lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from unoxml xmerge xmlhelp chart2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
====== the unoxml problem ======&lt;br /&gt;
&lt;br /&gt;
As explained in issue http://www.openoffice.org/issues/show_bug.cgi?id=65110&lt;br /&gt;
In the file unoxml/prj/build.lst the first line has to be changed to add &amp;#039;tools&amp;#039; in it :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ux  unoxml  : tools offuh cppuhelper LIBXML2:libxml2 NULL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd unoxml; build; cd ../instsetoo_native; build --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== the xmerge problem ======&lt;br /&gt;
&lt;br /&gt;
This is only a problem if you try to compile OOo with Java 1.5&lt;br /&gt;
&lt;br /&gt;
The issue : http://www.openoffice.org/issues/show_bug.cgi?id=59368&lt;br /&gt;
&lt;br /&gt;
In it, there is only a need to apply the patch posted there :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd src680-m166&lt;br /&gt;
patch -p0 &amp;lt; [filename]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m155. ====&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10907</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10907"/>
		<updated>2006-05-24T09:33:03Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* The bugs reported and the solutions. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking. You can check the one needed on the &lt;br /&gt;
[http://tools.openoffice.org/ tool page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.Set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m166. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : unoxml, xmerge, xmlhelp, chart2 =====&lt;br /&gt;
&lt;br /&gt;
While compiling, the following error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LINK: ../uiconfig/sglobal/statusbar/statusbar.xml -&amp;gt; /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/xml/uiconfig/modules/sglobal/statusbar/statusbar.xml&lt;br /&gt;
Use of uninitialized value in string eq at /home/pagalmes/workspace/chart2_m166/src680-m166/solenv/bin/deliver.pl line 791.&lt;br /&gt;
LOG: writing /home/pagalmes/workspace/chart2_m166/src680-m166/solver/680/unxlngi6.pro/inc/sw/deliver.log&lt;br /&gt;
Statistics:&lt;br /&gt;
Files copied: 137&lt;br /&gt;
Files unchanged/not matching: 6&lt;br /&gt;
&lt;br /&gt;
4 module(s):&lt;br /&gt;
        unoxml&lt;br /&gt;
        xmerge&lt;br /&gt;
        xmlhelp&lt;br /&gt;
        chart2&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
&lt;br /&gt;
Reason(s):&lt;br /&gt;
&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmlhelp/source/com/sun/star/help&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/xmerge/source/xmerge&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/chart2/source/tools&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/chart2_m166/src680-m166/unoxml/source/service&lt;br /&gt;
&lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from unoxml xmerge xmlhelp chart2&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
====== the unoxml problem ======&lt;br /&gt;
&lt;br /&gt;
As explained in issue http://www.openoffice.org/issues/show_bug.cgi?id=65110&lt;br /&gt;
In the file unoxml/prj/build.lst the first line has to be changed to add &amp;#039;tools&amp;#039; in it :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ux  unoxml  : tools offuh cppuhelper LIBXML2:libxml2 NULL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd unoxml; build; cd ../instsetoo_native; build --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== the xmerge problem ======&lt;br /&gt;
&lt;br /&gt;
This is only a problem if you try to compile OOo with Java 1.5&lt;br /&gt;
&lt;br /&gt;
The issue : http://www.openoffice.org/issues/show_bug.cgi?id=59368&lt;br /&gt;
&lt;br /&gt;
In it, there is only a need to apply the patch posted there :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd src680-m166&lt;br /&gt;
patch -p0 &amp;lt; [filename]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The errors reported and the solutions for m155. ====&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10829</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10829"/>
		<updated>2006-05-23T12:38:08Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Setting the environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking. You can check the one needed on the &lt;br /&gt;
[http://tools.openoffice.org/ tool page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.Set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10824</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10824"/>
		<updated>2006-05-23T12:31:46Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Configuring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd config_office&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking. You can check the one needed on the &lt;br /&gt;
[http://tools.openoffice.org/ tool page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10822</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10822"/>
		<updated>2006-05-23T12:29:25Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Configuring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you forgot to install some dependencies, the configure will remind you&lt;br /&gt;
which one are lacking. You can check the one needed on the &lt;br /&gt;
[http://tools.openoffice.org/ tool page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10819</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10819"/>
		<updated>2006-05-23T12:12:32Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Configuring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything. Here is an example :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin/batch&lt;br /&gt;
./configure  --with-jdk-home=&amp;quot;/home/pagalmes/bin/jdk1.5.0_06/bin&amp;quot;  --with-ant-home=&amp;quot;/usr/bin/ant&amp;quot; --with-lang=&amp;quot;en fr&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10815</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10815"/>
		<updated>2006-05-23T10:16:30Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Vanilla */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /usr/bin&lt;br /&gt;
./configure -- &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10814</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10814"/>
		<updated>2006-05-23T10:09:19Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Vanilla */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
A nice trick for configuring OOo is to create a script in which you write&lt;br /&gt;
all the options activated for your build. This helps if you want to see&lt;br /&gt;
which options where enabled during the build some days after you compiled&lt;br /&gt;
everything.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10813</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10813"/>
		<updated>2006-05-23T09:23:51Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
- Créer un fichier dans lequel on met toutes les options de compilation.&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code without&lt;br /&gt;
facing a small number of issues. Here are the issues we already found and ways to&lt;br /&gt;
correct them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10812</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10812"/>
		<updated>2006-05-23T09:22:22Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Compiling OpenOffice.org : the practice */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
- Créer un fichier dans lequel on met toutes les options de compilation.&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10811</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10811"/>
		<updated>2006-05-23T09:12:57Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Configuring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
Once you downloaded all the sources, you can start configuring the build.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
- Créer un fichier dans lequel on met toutes les options de compilation.&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
- Lancer le configure&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing - you won&amp;#039;t need it)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10810</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10810"/>
		<updated>2006-05-23T08:51:51Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Update the CWS modifications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them because the chart module modifications are in a separated cxw called chart2mst3.&lt;br /&gt;
You need to update only the modified modules. To know which modules have been modified,&lt;br /&gt;
check the &lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module (subdir) you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
- Créer un fichier dans lequel on met toutes les options de compilation.&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
- Lancer le configure&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing - you won&amp;#039;t need it)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10809</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10809"/>
		<updated>2006-05-23T08:47:06Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Update the CWS modifications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you downloaded the &amp;quot;standard&amp;quot; sources (also called HEAD), you need to update&lt;br /&gt;
them with the modifications done by the chart team. For this, you need to update&lt;br /&gt;
only the modules modified. To know which modules have been modified, check the&lt;br /&gt;
[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 EIS page related to the chart module.]&lt;br /&gt;
&lt;br /&gt;
On this page, you will find a section called &amp;quot;Modules &amp;amp; Files&amp;quot; which describes the&lt;br /&gt;
modified modules.&lt;br /&gt;
&lt;br /&gt;
For each module you will need to do :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd name_of_the_module&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in all modules (subdirs) as listed in the EIS page gets you the&lt;br /&gt;
correct branch. See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
- Créer un fichier dans lequel on met toutes les options de compilation.&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
- Lancer le configure&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing - you won&amp;#039;t need it)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10808</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10808"/>
		<updated>2006-05-23T08:27:25Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Vanilla */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m166 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m166 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m166 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
TODO :this is still to be done !!!!&lt;br /&gt;
&lt;br /&gt;
mettre update les fichiers pour correspondre au cws chart2mst3&lt;br /&gt;
&lt;br /&gt;
Go to the EIS page related to the chart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in all modules (subdirs) as listed in the EIS page gets you the&lt;br /&gt;
correct branch. See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
- Créer un fichier dans lequel on met toutes les options de compilation.&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
- Lancer le configure&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m166/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing - you won&amp;#039;t need it)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10807</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=10807"/>
		<updated>2006-05-23T08:24:59Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Download the milestone */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;Chart2&amp;#039;&amp;#039; is a sub-project of the [http://graphics.openoffice.org/chart/chart.html OpenOffice.org Chart Project]. Our goal is to develop a new Chart component for (presumably) OOo 2.6.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m152 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m152 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m152 OpenOffice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
TODO :this is still to be done !!!!&lt;br /&gt;
&lt;br /&gt;
mettre update les fichiers pour correspondre au cws chart2mst3&lt;br /&gt;
&lt;br /&gt;
Go to the EIS page related to the chart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in all modules (subdirs) as listed in the EIS page gets you the&lt;br /&gt;
correct branch. See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
- Créer un fichier dans lequel on met toutes les options de compilation.&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
- Lancer le configure&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m152/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing - you won&amp;#039;t need it)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Main Chart Project Page: http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* Chart Specifications: http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name: [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel: #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;br /&gt;
[[Category:Chart2]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=8230</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=8230"/>
		<updated>2006-04-18T16:35:57Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Charts are used for visualizing data sets from e.g. spreadsheets by two and three dimensional diagrams. There are a lot of different two- and three-dimensional chart types you can choose from. This page gathers information about the new chart implementation of OpenOffice.org. It is especially written to help new comers to the process of developping in the new OOo chart module.&lt;br /&gt;
&lt;br /&gt;
If you would like to participate, if you have comments or questions related to the chart you are welcome on the graphics mailinglists:  (users,dev,features,bugs,cvs)@graphics.openoffice.org. See also the section at the bottom of this page called [Some useful information].&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m152 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m152 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m152 OpenOffice&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
TODO :this is still to be done !!!!&lt;br /&gt;
&lt;br /&gt;
mettre update les fichiers pour correspondre au cws chart2mst3&lt;br /&gt;
&lt;br /&gt;
Go to the EIS page related to the chart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in all modules (subdirs) as listed in the EIS page gets you the&lt;br /&gt;
correct branch. See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
- Créer un fichier dans lequel on met toutes les options de compilation.&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
- Lancer le configure&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m152/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing - you won&amp;#039;t need it)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Web page : http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* specs : http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name : [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
* IRC channel : #chart2.openoffice.org (on freenode)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=8227</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=8227"/>
		<updated>2006-04-18T16:18:30Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* The bugs reported and the solutions. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page gathers information about the new chart implementation of OpenOffice.org.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HERE - ADD some more information to make it look less empty...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m152 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m152 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m152 OpenOffice&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
TODO :this is still to be done !!!!&lt;br /&gt;
&lt;br /&gt;
mettre update les fichiers pour correspondre au cws chart2mst3&lt;br /&gt;
&lt;br /&gt;
Go to the EIS page related to the chart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in all modules (subdirs) as listed in the EIS page gets you the&lt;br /&gt;
correct branch. See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
- Créer un fichier dans lequel on met toutes les options de compilation.&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
- Lancer le configure&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m152/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing - you won&amp;#039;t need it)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : The InternalDataProvider.cxx include error =====&lt;br /&gt;
&lt;br /&gt;
This error has been reported as issue 63012 : http://www.openoffice.org/issues/show_bug.cgi?id=63012&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
------------------------------&lt;br /&gt;
Making: ../../unxlngi6/slo/InternalDataProvider.obj&lt;br /&gt;
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../source/inc -I../../inc -I../../unx/inc -I../../unxlngi6/inc -I. &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/external &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc -I/home/pagalmes/workspace/OpenOffice/solenv/unxlngi6/inc &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solenv/inc -I/home/pagalmes/workspace/OpenOffice/res &lt;br /&gt;
-I/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl -I/home/pagalmes/workspace/OpenOffice/solenv/inc/Xp31 &lt;br /&gt;
-I/opt/j2sdk1.4.2_09/include -I/opt/j2sdk1.4.2_09/include/linux -I/opt/j2sdk1.4.2_09/include/native_threads/include -I/usr/X11R6/include &lt;br /&gt;
-I. -I../../res -I. -g  -O0   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs &lt;br /&gt;
-fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -D_STLP_DEBUG -DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR &lt;br /&gt;
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3&lt;br /&gt;
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2 -DSUPD=680 -DDEBUG -DDBG_UTIL -DOSL_DEBUG_LEVEL=2 &lt;br /&gt;
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxlngi6/slo/InternalDataProvider.o &lt;br /&gt;
&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools/InternalDataProvider.cxx&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:100:&lt;br /&gt;
erreur: use of ‘__false_type’ is ambiguous&lt;br /&gt;
/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2/bits/cpp_type_traits.h:94:&lt;br /&gt;
erreur:   first declared as ‘struct __false_type’ here&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/inc/stl/stl/type_traits.h:65:&lt;br /&gt;
erreur:   also declared as ‘struct _STLD::__false_type’ here&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
dmake:  Error code 1, while making &amp;#039;../../unxlngi6/slo/InternalDataProvider.obj&amp;#039;&lt;br /&gt;
&amp;#039;---* tg_merge.mk *---&amp;#039;&lt;br /&gt;
&lt;br /&gt;
ERROR: Error 65280 occurred while making&lt;br /&gt;
/home/pagalmes/workspace/OpenOffice/chart2/source/tools&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== The solution =====&lt;br /&gt;
&lt;br /&gt;
The following line at the beginning of the file InternalDataProvider.cxx :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;valarray&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Has to be put as the first include in the file. No solution has been found for now.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 3 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Web page : http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* specs : http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name : [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7732</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7732"/>
		<updated>2006-04-11T16:16:54Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Developping for the new chart module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page gathers information about the new chart implementation of OpenOffice.org.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HERE - ADD some more information to make it look less empty...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m152 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m152 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m152 OpenOffice&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
TODO :this is still to be done !!!!&lt;br /&gt;
&lt;br /&gt;
mettre update les fichiers pour correspondre au cws chart2mst3&lt;br /&gt;
&lt;br /&gt;
Go to the EIS page related to the chart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in all modules (subdirs) as listed in the EIS page gets you the&lt;br /&gt;
correct branch. See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
- Créer un fichier dans lequel on met toutes les options de compilation.&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
- Lancer le configure&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m152/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing - you won&amp;#039;t need it)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
* How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Web page : http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* specs : http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name : [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7731</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7731"/>
		<updated>2006-04-11T16:16:17Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Compiling the new chart module */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page gathers information about the new chart implementation of OpenOffice.org.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HERE - ADD some more information to make it look less empty...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m152 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m152 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m152 OpenOffice&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
TODO :this is still to be done !!!!&lt;br /&gt;
&lt;br /&gt;
mettre update les fichiers pour correspondre au cws chart2mst3&lt;br /&gt;
&lt;br /&gt;
Go to the EIS page related to the chart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in all modules (subdirs) as listed in the EIS page gets you the&lt;br /&gt;
correct branch. See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
- Créer un fichier dans lequel on met toutes les options de compilation.&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
- Lancer le configure&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m152/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing - you won&amp;#039;t need it)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Web page : http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* specs : http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name : [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7730</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7730"/>
		<updated>2006-04-11T16:15:10Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Update the CWS modifications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page gathers information about the new chart implementation of OpenOffice.org.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HERE - ADD some more information to make it look less empty...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m152 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m152 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m152 OpenOffice&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
TODO :this is still to be done !!!!&lt;br /&gt;
&lt;br /&gt;
mettre update les fichiers pour correspondre au cws chart2mst3&lt;br /&gt;
&lt;br /&gt;
Go to the EIS page related to the chart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 update -dP -r cws_src680_chart2mst3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in all modules (subdirs) as listed in the EIS page gets you the&lt;br /&gt;
correct branch. See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
- Créer un fichier dans lequel on met toutes les options de compilation.&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
- Lancer le configure&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m152/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing - you won&amp;#039;t need it)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Development life cycle ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Web page : http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* specs : http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name : [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7729</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7729"/>
		<updated>2006-04-11T16:14:46Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Getting the sources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page gathers information about the new chart implementation of OpenOffice.org.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HERE - ADD some more information to make it look less empty...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m152 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m152 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you still want to download it from the cvs, you can use the following :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cvs -z3 co -r SRC680_m152 OpenOffice&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
TODO :this is still to be done !!!!&lt;br /&gt;
&lt;br /&gt;
mettre update les fichiers pour correspondre au cws chart2mst3&lt;br /&gt;
&lt;br /&gt;
Go to the EIS page related to the chart&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;cvs -z3 update -dP -r cws_src680_chart2mst3&amp;#039;&lt;br /&gt;
&lt;br /&gt;
in all modules (subdirs) as listed in the EIS page gets you the&lt;br /&gt;
correct branch. See also cws-extract from oobuild, if you want/need to&lt;br /&gt;
work with diffs (which will get HUGE, though)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note : cwsclone ??? What&amp;#039;s its use ??&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
- Créer un fichier dans lequel on met toutes les options de compilation.&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
- Lancer le configure&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m152/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing - you won&amp;#039;t need it)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Development life cycle ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Web page : http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* specs : http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name : [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7728</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7728"/>
		<updated>2006-04-11T16:09:43Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Compiling OpenOffice.org : the practice */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page gathers information about the new chart implementation of OpenOffice.org.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HERE - ADD some more information to make it look less empty...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Getting the sources =====&lt;br /&gt;
&lt;br /&gt;
====== Introduction ======&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo. When working on a specific cws (for us, the &amp;quot;chart2mst3&amp;quot; cws) you will need&lt;br /&gt;
to follow two steps :&lt;br /&gt;
&lt;br /&gt;
* downloading the OOo sources at a specific milestone&lt;br /&gt;
* downloading the specific modifications for the cws from the repository&lt;br /&gt;
&lt;br /&gt;
====== Download the milestone ======&lt;br /&gt;
&lt;br /&gt;
For the chart module, you will need to download the m152 milestone. The milestone&lt;br /&gt;
needed will change from time to time, so stay tuned ;-)&lt;br /&gt;
&lt;br /&gt;
To download the milestone, you have several choices.&lt;br /&gt;
&lt;br /&gt;
* Download from the cvs servers&lt;br /&gt;
* Download a pre-packaged version&lt;br /&gt;
* Download from the main OOo servers&lt;br /&gt;
&lt;br /&gt;
Have a look at the following page for more explanations :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Getting_It&lt;br /&gt;
&lt;br /&gt;
Some advices :&lt;br /&gt;
&lt;br /&gt;
I would recommend that you download a pre-packaged version of m152 from the &lt;br /&gt;
following link :&lt;br /&gt;
http://go-ooo.org/packages/SRC680/&lt;br /&gt;
&lt;br /&gt;
This will save you time compared to downloading the cvs version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Update the CWS modifications ======&lt;br /&gt;
&lt;br /&gt;
mettre update les fichiers pour correspondre au cws chart2mst3&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
- Créer un fichier dans lequel on met toutes les options de compilation.&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
- Lancer le configure&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m152/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing - you won&amp;#039;t need it)&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
For this section, you should read the part called &amp;quot;Getting started with OOo development&amp;quot; on the wiki :&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/Main_Page&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Development life cycle ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Web page : http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* specs : http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name : [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7709</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7709"/>
		<updated>2006-04-11T15:05:50Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Compiling OpenOffice.org : the practice */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page gathers information about the new chart implementation of OpenOffice.org.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HERE - ADD some more information to make it look less empty...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
===== dependencies =====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
Once you have all the dependencies installed, you will need to download the sources&lt;br /&gt;
of OOo&lt;br /&gt;
&lt;br /&gt;
At the moment, you need to download the milestone m152.&lt;br /&gt;
&lt;br /&gt;
Télécharger la version m152&lt;br /&gt;
mettre update les fichiers pour correspondre au cws chart2mst3&lt;br /&gt;
&lt;br /&gt;
===== Configuring =====&lt;br /&gt;
&lt;br /&gt;
- Créer un fichier dans lequel on met toutes les options de compilation.&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
- Lancer le configure&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
===== Building the tools (dmake...) =====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, the compiling process needs some tools to achieve&lt;br /&gt;
the build. Before compiling, you need to build those tools. For example,&lt;br /&gt;
&lt;br /&gt;
* dmake&lt;br /&gt;
* ...&lt;br /&gt;
&lt;br /&gt;
To compile the tools, just type :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd openOffice.org_m152/&lt;br /&gt;
./bootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Setting the environment =====&lt;br /&gt;
&lt;br /&gt;
Before starting to compile OOo, you need to set all the environment variables&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing - you won&amp;#039;t need it)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Compiling (finally...;-) =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
===== Downloading OOoBuild =====&lt;br /&gt;
&lt;br /&gt;
===== Downloading the sources =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TODO : Describing the OOoBuild build process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Development life cycle ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to build only a particular project :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to rebuild everything from scratch :&lt;br /&gt;
(erase the &amp;quot;.dlp&amp;quot; files or smthg like that ??)&lt;br /&gt;
&lt;br /&gt;
How to test the modifications done to the chart module :&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Web page : http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* specs : http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name : [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7689</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7689"/>
		<updated>2006-04-10T18:23:50Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* OOoBuild */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page gathers information about the new chart implementation of OpenOffice.org.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HERE - ADD some more information to make it look less empty...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
TODO : Describing the vanilla build process.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
TODO : Describing the OOoBuild build process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I - Preparations&lt;br /&gt;
&lt;br /&gt;
Télécharger la version m152&lt;br /&gt;
mettre update les fichiers pour correspondre au cws chart2mst3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
II - Configuration&lt;br /&gt;
&lt;br /&gt;
A partir de la version Vanilla :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Créer un fichier dans lequel on met toutes les options de compilation.&lt;br /&gt;
- Détailler les options utiles.&lt;br /&gt;
- Lancer le configure&lt;br /&gt;
- Vérifier que toutes les dépendances sont remplies.&lt;br /&gt;
&lt;br /&gt;
III - Créer les outils (dmake)&lt;br /&gt;
&lt;br /&gt;
lancer le bootstrap&lt;br /&gt;
&lt;br /&gt;
IV - Ouvrir son environnement &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tcsh&lt;br /&gt;
source LinuxIntelEnv.set&lt;br /&gt;
setenv nodep &amp;quot;TRUE&amp;quot; ; setenv NO_HIDS &amp;quot;TRUE&amp;quot; ; setenv MAXPROCESS 2&lt;br /&gt;
rehash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;nodep&amp;#039;&amp;#039;&amp;#039;  : inhibits generation of dependency files&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;maxprocess&amp;#039;&amp;#039;&amp;#039; : sets the number of parallel dmakes per dir&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NO_HIDS&amp;#039;&amp;#039;&amp;#039; prevents generation of HIDs (that&amp;#039;s used for automated testing - you won&amp;#039;t need it)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
V - Lancer la compilation&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native&lt;br /&gt;
build -P2 --dlv_switch -link --all&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039; -P2&amp;#039;&amp;#039;&amp;#039; : fires up more than one dmake in _different_ dirs - thus, you end up with a maximum for 4 parallel compilations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;--dlv_switch -link&amp;#039;&amp;#039;&amp;#039; : tells deliver not to copy files to solver, but link instead -&amp;gt; saves space&lt;br /&gt;
&lt;br /&gt;
==== Some compiling material ====&lt;br /&gt;
&lt;br /&gt;
Still needs to add some more work&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Web page : http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* specs : http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name : [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7688</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7688"/>
		<updated>2006-04-10T18:17:52Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* The bugs reported and the solutions. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page gathers information about the new chart implementation of OpenOffice.org.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HERE - ADD some more information to make it look less empty...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
TODO : Describing the vanilla build process.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
TODO : Describing the OOoBuild build process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Some compiling material ====&lt;br /&gt;
&lt;br /&gt;
Still needs to add some more work&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 1 : the odk / sdk error =====&lt;br /&gt;
&lt;br /&gt;
While compiling the Chart module, in the ODK project an error will rise :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 build -- version: 1.145&lt;br /&gt;
 =============&lt;br /&gt;
 Building project sdk_oo&lt;br /&gt;
 =============&lt;br /&gt;
 /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
 dmake:  Error -- `/home/pagalmes/workspace/OpenOffice/solver/680/unxlngi6/bin/odk_oo.zip&amp;#039; not found, and can&amp;#039;t be made&lt;br /&gt;
 &amp;#039;---* RULES.MK *---&amp;#039;&lt;br /&gt;
 ERROR: Error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sdk_oo/pack/unzip_odk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Just ignore the two osdk and sdk_oo project not needed for compiling OOo :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd instsetoo_native/util &amp;amp;&amp;amp; build--since sdk_oo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Web page : http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* specs : http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name : [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7687</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=7687"/>
		<updated>2006-04-10T18:09:32Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* The bugs reported and the solutions. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page gathers information about the new chart implementation of OpenOffice.org.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HERE - ADD some more information to make it look less empty...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. To compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give Chart-specific details&lt;br /&gt;
about this in the following sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;[[ccache]]&amp;quot; and &amp;quot;[[icecream]]&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
TODO : Describing the vanilla build process.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
TODO : Describing the OOoBuild build process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Some compiling material ====&lt;br /&gt;
&lt;br /&gt;
Still needs to add some more work&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== ERROR 2 : the mandriva desktop error =====&lt;br /&gt;
&lt;br /&gt;
While compiling, you may get the following error message :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 module(s):&lt;br /&gt;
        sysui&lt;br /&gt;
need(s) to be rebuilt&lt;br /&gt;
 &lt;br /&gt;
Reason(s):&lt;br /&gt;
 &lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/mandriva&lt;br /&gt;
ERROR: error 65280 occurred while making /home/pagalmes/workspace/OpenOffice/sysui/desktop/redhat&lt;br /&gt;
 &lt;br /&gt;
Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command &amp;quot;build --from sysui&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== the solution =====&lt;br /&gt;
&lt;br /&gt;
Try building the sysui project :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd sysui&lt;br /&gt;
build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An error message should rise from this module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Eror message :&lt;br /&gt;
&lt;br /&gt;
[...] /home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm :&lt;br /&gt;
no such file or directory&lt;br /&gt;
&lt;br /&gt;
Error code 1, while making&lt;br /&gt;
&amp;#039;/home/pagalmes/workspace/OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration/openoffice.org-mandriva-menus-2.0.2-152.noarch.rpm&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This problem is solved by creating the following directory :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenOffice/sysui/unxlngi6.pro/bin/desktop-integration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note : This error has been corrected with m155&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Web page : http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* specs : http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name : [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=6950</id>
		<title>Chart2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Chart2&amp;diff=6950"/>
		<updated>2006-03-28T22:37:27Z</updated>

		<summary type="html">&lt;p&gt;Pagalmes: /* Commmon steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page gathers information about the new chart implementation of OpenOffice.org.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HERE - ADD some more information to make it look less empty...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Compiling the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The first step anyone need to achieve before starting to develop on the chart module&lt;br /&gt;
is compiling OpenOffice.org with the needed modifications for the new chart module.&lt;br /&gt;
OpenOffice.org provides two main ways to compile it : the &amp;quot;Vanilla&amp;quot; way and the &lt;br /&gt;
&amp;quot;OOoBuild&amp;quot; way. Let&amp;#039;s explain what they are and the differences between those two &lt;br /&gt;
ways.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the theory ===&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
Vanilla is the &amp;quot;standard&amp;quot; way to compile OOo. So to compile OOo the &amp;quot;Vanilla&amp;quot; way,&lt;br /&gt;
you only need to download the sources, unzip them, and follow the instructions given&lt;br /&gt;
on the page [Add a link to the build steps from]. We will give chart specific details&lt;br /&gt;
about this the followin sections.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
To make it simple, OOoBuild is a &amp;quot;wrapper&amp;quot; around the OpenOffice.org build process&lt;br /&gt;
to make compiling OOo more straight-forward. Some of the enhancements added are :&lt;br /&gt;
&lt;br /&gt;
* patches for known compiling problems&lt;br /&gt;
* integration with &amp;quot;ccache&amp;quot; and &amp;quot;icecream&amp;quot; to speed-up the process&lt;br /&gt;
* linux distribution specific compiling steps (specific splash screen for Fedora...)&lt;br /&gt;
&lt;br /&gt;
So, to compile OOo with OOoBuild, just just need to download OOoBuild and put the&lt;br /&gt;
OOo standard sources in a specific directory.&lt;br /&gt;
&lt;br /&gt;
=== Compiling OpenOffice.org : the practice ===&lt;br /&gt;
&lt;br /&gt;
==== Commmon steps ====&lt;br /&gt;
&lt;br /&gt;
First of all before starting to compile anything, you will need to install all the&lt;br /&gt;
dependencies and tools needed for the compiling steps. On the Tools project page, &lt;br /&gt;
you should find all the information on the &amp;quot;Building the source&amp;quot; section :&lt;br /&gt;
&lt;br /&gt;
http://tools.openoffice.org/&lt;br /&gt;
&lt;br /&gt;
There, you should read the different sub-sections, they will give you a nice &lt;br /&gt;
introduction on how everything works. You should also notice that the steps are&lt;br /&gt;
different on each OS.&lt;br /&gt;
&lt;br /&gt;
==== Vanilla ====&lt;br /&gt;
&lt;br /&gt;
TODO : Describing the vanilla build process.&lt;br /&gt;
&lt;br /&gt;
==== OOoBuild ====&lt;br /&gt;
&lt;br /&gt;
TODO : Describing the OOoBuild build process.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The bugs reported and the solutions. ====&lt;br /&gt;
&lt;br /&gt;
During the compiling step, you will not be able to compile the whole code&lt;br /&gt;
&lt;br /&gt;
== Developping for the new chart module ==&lt;br /&gt;
&lt;br /&gt;
The common steps.&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
== Some useful information ==&lt;br /&gt;
&lt;br /&gt;
* Web page : http://graphics.openoffice.org/chart/chart.html&lt;br /&gt;
* specs : http://specs.openoffice.org/chart/index.html&lt;br /&gt;
* Current CWS Name : [[http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=1074&amp;amp;Path=SRC680%2Fchart2mst3 chart2mst3]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Calc issues]]&lt;/div&gt;</summary>
		<author><name>Pagalmes</name></author>
	</entry>
</feed>