blob: 53fe6d109300ab49cea512434deb5e3e900a86e8 [file] [log] [blame]
<html><head>
<meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
</head>
<body>
<h2><a name="2.StarOfficeBuildProcess|outline"></a>Downloading the Source
Code from CVS</h2>
<p>&nbsp;</p>
<p>This page is obsolete. Please see </p>
<ul>
<li><a href="http://tools.openoffice.org/dev_docs/build_linux.html#GetTheSourceCode">http://tools.openoffice.org/dev_docs/build_linux.html#GetTheSourceCode</a></li>
<li> <a href="http://wiki.services.openoffice.org/wiki/Getting_It">http://wiki.services.openoffice.org/wiki/Getting_It</a></li>
</ul>
<!--
<p>&nbsp;</p>
<p>In this section the following sections describe the requirements and
actions that you need to download:</p>
<ul>
<li>
<a href="#2.2.DownloadRequirements|outline">Download Requirements</a></li>
<li>
<a href="#2.4.DownloadingtheSource|outline">Downloading the Source</a>
<ul>
<li>
<a href="#2.4.1.DownloadingtheFullStarOfficeSource|outline">Downloading
the Full Source</a>
<ul>
<li>
<a href="#2.4.1.1.CheckingOuttheSourceCodeforLinux|outline">Checking Out
the Source Code for Linux</a></li>
<li>
<a href="#2.4.1.2.CheckingOuttheSourceCodeforSolaris|outline">Checking
Out the Source Code for Solaris</a></li>
<li>
<a href="#2.4.1.3.CheckingOuttheSourceCodeforWin32|outline">Checking Out
the Source Code for Win32</a></li>
<li>
<a href="#2.4.1.4.CheckingOuttheSourceCodeforMacOSX|outline">Checking Out
the Source Code for Mac OS X</a></li>
</ul>
</li>
<li>
<a href="#2.4.2.DownloadingthePrebuildStarOffice|outline">Downloading the
Output Tree (Solver)</a></li>
</ul>
</li>
</ul>
<h3><a name="2.2.DownloadRequirements|outline"></a>Download Requirements</h3>
<p>The system that you are downloading to must have the following:</p>
<ul>
<li>
An Internet connection, with a minimum speed of 56 Kbit/sec.</li>
<li>
400 MB free disk space for the source code alone</li>
<li>
One of the following:</li>
<ul>
<li>
FTP</li>
<li>
CVS 1.10 or higher</li>
</ul>
</ul>
<h3><a name="2.4.DownloadingtheSource|outline"></a>Downloading the Source</h3>
<p>You must download the source code before you can begin the build. To
download the sources, see
the <a href="/download/index.html#source">Downloading Source</a> section at download central.</p>
<p>You can download either the full source code, or the output tree (solver).
The output tree (solver) enables you to build individual CVS modules,
rather than all of the office suite. For more information, see
<a href="http://tools.openoffice.org/index.html#Build">Overview
of the Build Process</a>.</p>
<h4><a name="2.4.1.DownloadingtheFullStarOfficeSource|outline"></a>Downloading
the Full Source</h4>
<p>We estimate that it may take approximately eight hours to download the
full source to a computer using a 56 Kbit/sec Internet connection.</p>
<p>You can download a tarball of the full source code from the
<a href="/download/index.html#source">Downloading Source</a> section at Download Central.
The download page includes instructions on how to do this.</p>
<p>Alternatively, you can use CVS to check out the latest version of the
source code. To check out the source using CVS, you must have CVS 1.10
or higher installed.</p>
<p>The following sections describe how to check out the source code on
each of the following operating systems:</p>
<ul type=disc>
<li>Linux</li>
<li>Solaris</li>
<li>Win32</li>
<li>Mac OS X</li>
</ul>
<h4><a name="2.4.1.1.CheckingOuttheSourceCodeforLinux|outline"></a>Checking
Out the Source Code for Linux</h4>
<p>To check out the latest version of the source code to a Linux system,
follow these steps:</p>
<ol>
<li>Set your <code>$CVSROOT</code> environment variable, as follows:
<table border="1" cellspacing=0 cellpadding=5 width="746">
<tr>
<td valign=top width="723">
<pre>
% <kbd>setenv CVSROOT :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs</kbd>
</pre>
</td>
</tr>
</table>
</li>
<li>Log in to CVS, and enter <code>anoncvs</code> as your password.</li>
<li>To check out the code, enter a command similar to the following:
<table border="1" cellspacing=0 cellpadding=5 width="746">
<tr>
<td valign=top width="722">
<pre>
% <code>cvs co -r</code> <var>milestone-build</var> <code>OpenOffice</code>
</pre>
</td>
</tr>
</table>
<p>
Replace <var>milestone-build</var> with the number
of the build that you want to download. The following example shows the
commands to download build 609:</p>
<table border="1" cellspacing=0 cellpadding=5 width="746">
<tr>
<td valign=top width="721">
<pre>
% <kbd>setenv CVSROOT :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs</kbd>
% <kbd>cvs login</kbd>
(Logging in to anoncvs@anoncvs.services.openoffice.org)
CVS password: <kbd>anoncvs</kbd>
% <kbd>cvs co -r OpenOffice609 OpenOffice</kbd>
</pre>
</td>
</tr>
</table>
</li>
</ol>
<p>
<b>Note:</b> You can checkout out the latest source by omitting the tag, that is, by
running the following command:
</p>
<p>
<code>%</code> <kbd>cvs co OpenOffice</kbd>
</p>
<h4><a name="2.4.1.2.CheckingOuttheSourceCodeforSolaris|outline"></a>Checking
Out the Source Code for Solaris</h4>
<p>To check out the latest version of the source code to a Solaris system,
follow these steps:</p>
<ol>
<li>
Set your <code>$CVSROOT</code> environment variable, as follows:
<table border="1" cellspacing=0 cellpadding=5 width="746">
<tr>
<td>
<pre>
% <kbd>setenv CVSROOT :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs</kbd>
</pre>
</td>
</tr>
</table>
</li>
<li>
Log in to CVS, and enter <code>anoncvs</code> as your password.</li>
<li>
To check out the code, enter a command similar to the following:</li>
<table border="1" cellspacing=0 cellpadding=5 width="746">
<tr>
<td valign=top>
<pre>
% <kbd>cvs co -r</kbd> <var>milestone-build</var> <kbd>OpenOffice</kbd>
</pre>
</td>
</tr>
</table>
<p>Replace <var>milestone-build</var> with the number
of the build that you want to download. The following example shows the
commands to download build 609:</p>
<table border="1" cellspacing=0 cellpadding=5 width="746">
<tr>
<td valign=top>
<pre>
% <kbd>setenv CVSROOT :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs</kbd>
% <kbd>cvs login</kbd>
(Logging in to anoncvs@anoncvs.services.openoffice.org)
CVS password: <kbd>anoncvs</kbd>
% <kbd>cvs co -r OpenOffice609 OpenOffice</kbd>
</pre>
</td>
</tr>
</table>
</ol>
<p>
<b>Note:</b> You can checkout out the latest source by omitting the tag, that is, by
running the following command:
</p>
<p>
<code>%</code> <kbd>cvs co OpenOffice</kbd>
</p>
<h4><a name="2.4.1.3.CheckingOuttheSourceCodeforWin32|outline"></a>Checking
Out the Source Code for Win32</h4>
<p>To check out the latest version of the source code to a Win32 system,
follow these steps:</p>
<ol>
<li>
Set your <code>CVSROOT</code> environment variable, as follows:
<table border="1" cellspacing=0 cellpadding=5 width="746">
<tr>
<td valign=top>
<pre>
C:\> <kbd>set CVSROOT=:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs</kbd>
</pre>
</td>
</tr>
</table>
</li>
<li>
Log in to CVS, and enter <code>anoncvs</code> as your password.</li>
<li>
Set the <code>HOME</code> environment variable to an appropriate directory.
This variable is set by default in Linux and Solaris, but you must set
it manually on Win32 operating systems. If you do not do this, it may cause
a problem with CVS.</li>
<li>
To check out the code, enter a command similar to the following:
<table border="1" cellspacing=0 cellpadding=5 width="746">
<tr>
<td valign=top width="722">
<pre>
C:\> <kbd>cvs co -r</kbd> <var>milestone-build</var> <kbd>OpenOffice</kbd>
</pre>
</td>
</tr>
</table>
<p>Replace <var>milestone-build</var> with the number
of the build that you want to download. For example, to download build
609, enter the following command:</p>
<table border="1" cellspacing=0 cellpadding=5 width="746">
<tr>
<td valign=top>
<pre>
C:\> <kbd>set CVSROOT=:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs</kbd>
C:\> <kbd>cvs login</kbd>
(Logging in to anoncvs@anoncvs.services.openoffice.org)
CVS password: <code>anoncvs
C:\> <kbd>set HOME=C:\temp</kbd>
C:\> <kbd>cvs co -r OpenOffice609 OpenOffice</kbd>
</code></pre>
</td>
</tr>
</table>
</li>
</ol>
<p>
<b>Note:</b> You can checkout out the latest source by omitting the tag, that is, by
running the following command:
</p>
<p>
<code>C:\></code> <kbd>cvs co OpenOffice</kbd>
</p>
<h4><a name="2.4.1.4.CheckingOuttheSourceCodeforMacOSX|outline"></a>Checking
Out the Source Code for Mac OS X</h4>
<p>To check out the latest version of the source code to a Mac OS X system,
follow these steps:</p>
<ol>
<li>
Set your <code>$CVSROOT</code> environment variable, as follows:
<table border="1" cellspacing=0 cellpadding=5 width="746">
<tr>
<td valign=top width="723">
<pre>
% <kbd>setenv CVSROOT :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs</kbd>
</pre>
</td>
</tr>
</table>
</li>
<li>Log in to CVS, and enter <code>anoncvs</code> as your password.</li>
<li>To check out the code, enter a command similar to the following:</li>
<table border="1" cellspacing=0 cellpadding=5 width="746">
<tr>
<td valign=top>
<pre>
% <kbd>cvs co -r</kbd> <var>milestone-build</var> <kbd>OpenOffice</kbd>
</pre>
</td>
</tr>
</table>
<p>Replace <var>milestone-build</var> with the number
of the build that you want to download. The following example shows the
commands to download build 609:</p>
<table border="1" cellspacing=0 cellpadding=5 width="746">
<tr>
<td valign=top>
<pre>
% <kbd>setenv CVSROOT :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs</kbd>
% <kbd>cvs login</kbd>
(Logging in to anoncvs@anoncvs.services.openoffice.org)
CVS password: <kbd>anoncvs</kbd>
% <kbd>cvs co -r OpenOffice609 OpenOffice</kbd>
</pre>
</td>
</tr>
</table>
</ol>
<p>
<b>Note:</b> You can checkout out the latest source by omitting the tag, that is, by
running the following command:
</p>
<p>
<code>%</code> <kbd>cvs co OpenOffice</kbd>
</p>
<h3><a name="2.4.2.DownloadingthePrebuildStarOffice|outline"></a>
Downloading the Output Tree (Solver)</h3>
<p>To download the latest version of the source code, follow these steps:</p>
<ol>
<li>
Download the <code>solver</code> milestone build tarball from the OpenOffice.org
web site. This tarball is named <code>solver<var>xxx</var>_<var>oscpu</var>.tar.gz</code>,
where <var>xxx</var> signifies the build number, <var>os</var> signifies the operating
system, and <var>cpu</var> signifies the hardware architecture. For example,
the milestone tarball for build 609 for Linux on Intel, is called <code>solver609_linuxintel.tar.gz</code>.</li>
<li>
Check out the project that you want to work on. You must check out the
build of the project that corresponds to the milestone build. For example,
if you check out milestone build <code>solver609_linuxintel.tar.gz</code>,
then you must check out the project with build number 609.
<p>To check out a CVS module, enter a command
similar to the following:</p>
<table border="1" cellspacing=0 cellpadding=5 width="746" >
<tr>
<td valign=top>
<pre>
% <kbd>cvs co -r</kbd> <var>milestone-build</var> <var>project-name</var>
</pre>
</td>
</tr>
</table>
<p>Replace <var>project-name</var> with the name of
the project that you want to download. For example, to check out the Visual
Class Libraries CVS module, enter the following command:
<table border="1" cellspacing=0 cellpadding=5 width="746">
<tr>
<td valign=top>
<pre>
% <kbd>cvs co -r OpenOffice605 vcl</kbd>
</pre>
</td>
</tr>
</table>
</li>
</ol>
-->
</body>
</html>