View | Details | Raw Unified | Return to issue 13097
Collapse All | Expand All

(-)build_template.html (-87 / +162 lines)
Lines 5-23 Link Here
5
<body>
5
<body>
6
6
7
<h2>
7
<h2>
8
Building OpenOffice.org under <Linux>Linux</Linux><Solaris>Solaris</Solaris><Windows>Windows</Windows>
8
Building OpenOffice.org under <Linux>Linux</Linux><Solaris>Solaris</Solaris><Win_tcsh>Windows with tcsh</Win_tcsh><Windows>Windows with 4NT</Windows>
9
</h2>
9
</h2>
10
10
<Win_tcsh><p>
11
The Cygwin tcsh environment is experimental, and can be used starting with
12
cws_srx644_ooo20030412.
13
</p></Win_tcsh>
11
<p>
14
<p>
12
This document describes the requirements and actions that you need to build 
15
This document describes the requirements and actions that you need to build 
13
OpenOffice.org on <Linux>Linux.</Linux><Solaris>Solaris.</Solaris><Windows>Windows.</Windows>
16
OpenOffice.org on <Linux>Linux.</Linux><Solaris>Solaris.</Solaris><Win_tcsh>Windows using Cygwin shell</Win_tcsh><Windows>Windows.</Windows>
14
</p>
17
</p>
15
18
16
<p>
19
<p>
17
Commands you have to type on the keyboard 
20
Commands you have to type on the keyboard 
18
follow this syntax throughout this document:
21
follow this syntax throughout this document:
19
22
20
<LinuxSolaris>
23
<LinuxSolarisWin_tcsh>
21
<p>
24
<p>
22
<pre>
25
<pre>
23
<KBD>config_office> ./configure</KBD>
26
<KBD>config_office> ./configure</KBD>
Lines 26-32 Link Here
26
<p> 
29
<p> 
27
In this example, the script <CODE>configure</CODE> is executed 
30
In this example, the script <CODE>configure</CODE> is executed 
28
in the directory <CODE>config_office</CODE>.
31
in the directory <CODE>config_office</CODE>.
29
</LinuxSolaris>
32
</LinuxSolarisWin_tcsh>
30
33
31
<Windows>
34
<Windows>
32
<p>
35
<p>
Lines 47-54 Link Here
47
<p>
50
<p>
48
Basically, there is the choice to build OpenOffice.org from two different 
51
Basically, there is the choice to build OpenOffice.org from two different 
49
branches: a stable branch, which results in the 1.0.x releases, or 
52
branches: a stable branch, which results in the 1.0.x releases, or 
50
a less stable developer branch (latest release 643B). Links to the different 
53
a less stable developer branch (latest release see
51
sources are given in the document. 
54
<a href="http://tools.openoffice.org/builds/index.html">here</a>).
55
Links to the different sources are given in the document. 
52
</p>
56
</p>
53
57
54
<br><p><br><p><br><p>
58
<br><p><br><p><br><p>
Lines 167-188 Link Here
167
  <li> Get the source code, either from the download webpage
171
  <li> Get the source code, either from the download webpage
168
    (<a href="http://www.openoffice.org/dev_docs/source/download.html">www.openoffice.org/dev_docs/source/download.html</a>)
172
    (<a href="http://www.openoffice.org/dev_docs/source/download.html">www.openoffice.org/dev_docs/source/download.html</a>)
169
    or alternatively via a check-out from the cvs tree against a release tag, 
173
    or alternatively via a check-out from the cvs tree against a release tag, 
170
    e.g. <em>OpenOffice643</em>. </li>
174
    e.g. <em>cws_srx644_ooo11beta</em>. </li>
171
   <LinuxSolaris> 
175
   <LinuxSolarisWin_tcsh> 
172
   <li> Run the <CODE>configure</CODE> script to check all requirements and to 
176
   <li> Run the <CODE>configure</CODE> script to check all requirements and to 
173
     create the script</LinuxSolaris> 
177
     create the script</LinuxSolarisWin_tcsh> 
174
   <Linux><CODE>LinuxIntelEnv.Set</CODE>.</Linux><Solaris><CODE>SolarisSparcEnv.Set</CODE>.</Solaris> 
178
   <Linux><CODE>LinuxIntelEnv.Set</CODE>.</Linux><Solaris><CODE>SolarisSparcEnv.Set</CODE>.</Solaris><Win_tcsh><CODE>winenv.set</CODE>.</Win_tcsh> 
175
   <Windows> 
179
   <Windows> 
176
   <li> Run the <CODE>configure</CODE> script in a cygwin bash shell to 
180
   <li> Run the <CODE>configure</CODE> script in a cygwin bash shell to 
177
    check all requirements and to create the script <CODE>winenv.bat</CODE>. 
181
    check all requirements and to create the script <CODE>winenv.bat</CODE>. 
178
  </li>
182
  </li>
179
  </Windows> 
183
  </Windows> 
180
  <li> Run the 
184
  <li> Run the 
181
    <Linux><CODE>LinuxIntelEnv.Set</CODE></Linux><Solaris><CODE>SolarisSparcEnv.Set</CODE></Solaris><Windows><CODE>winenv.bat</CODE> (under 4NT) </Windows> script to set all environment variables. 
185
    <Linux><CODE>LinuxIntelEnv.Set</CODE></Linux><Solaris><CODE>SolarisSparcEnv.Set</CODE></Solaris><Win_tcsh><CODE>winenv.set</CODE></Win_tcsh><Windows><CODE>winenv.bat</CODE> (under 4NT) </Windows> script to set all environment variables. 
182
  </li>
186
  </li>
183
  <LinuxSolaris> 
187
  <LinuxSolarisWin_tcsh> 
184
  <li> Create the build tools using <CODE>bootstrap</CODE>. </li>
188
  <li> Create the build tools using <CODE>bootstrap</CODE>. </li>
185
  </LinuxSolaris> 
189
  </LinuxSolarisWin_tcsh> 
186
  <li> Build typing <CODE>dmake</CODE> in <CODE>$SRC_ROOT</CODE>, or 
190
  <li> Build typing <CODE>dmake</CODE> in <CODE>$SRC_ROOT</CODE>, or 
187
    <CODE>build -all</CODE> in the <CODE>instsetoo</CODE> module, or 
191
    <CODE>build -all</CODE> in the <CODE>instsetoo</CODE> module, or 
188
    <CODE>build</CODE> followed by <CODE>deliver</CODE> in the individual 
192
    <CODE>build</CODE> followed by <CODE>deliver</CODE> in the individual 
Lines 215-220 Link Here
215
    <Linux><CODE>solver643B_linux_intel.tar.gz.</CODE></Linux> 
219
    <Linux><CODE>solver643B_linux_intel.tar.gz.</CODE></Linux> 
216
    <Solaris><CODE>solver643B_solaris_sparc.tar.gz.</CODE></Solaris> 
220
    <Solaris><CODE>solver643B_solaris_sparc.tar.gz.</CODE></Solaris> 
217
    <Windows><CODE>solver643B_win32intel.tar.gz.</CODE></Windows> 
221
    <Windows><CODE>solver643B_win32intel.tar.gz.</CODE></Windows> 
222
    <Win_tcsh><CODE>solver643B_win32intel.tar.gz.</CODE></Win_tcsh> 
218
  </li>
223
  </li>
219
224
220
  <li> Check out the modules for the project that you want to build from the 
225
  <li> Check out the modules for the project that you want to build from the 
Lines 226-246 Link Here
226
    However, it is not possible to download individual modules there. </li>
231
    However, it is not possible to download individual modules there. </li>
227
  <li> Check out the module <CODE>config_office</CODE>. This is always necessary 
232
  <li> Check out the module <CODE>config_office</CODE>. This is always necessary 
228
    to create the build environment. </li>
233
    to create the build environment. </li>
229
  <LinuxSolaris> 
234
  <LinuxSolarisWin_tcsh> 
230
  <li> Also check out the modules <CODE>dmake, external, xml2cmp, mkdepend, sal, 
235
  <li> Also check out the modules <CODE>dmake, external, xml2cmp, mkdepend, sal, 
231
    solenv, vos, tools and rscpp</CODE>. These are required by <CODE>bootstrap</CODE> 
236
    solenv, vos, tools and rscpp</CODE>. These are required by <CODE>bootstrap</CODE> 
232
    (see below). </li>
237
    (see below). </li>
233
  </LinuxSolaris> 
238
  </LinuxSolarisWin_tcsh> 
234
  <Windows> 
239
  <Windows> 
235
  <li> Also check out the module <CODE>solenv</CODE>. </li>
240
  <li> Also check out the module <CODE>solenv</CODE>. </li>
236
  </Windows> 
241
  </Windows> 
237
  <li> Unpack the solver tarball in the <CODE>$SRC_ROOT</CODE> directory. </li>
242
  <li> Unpack the solver tarball in the <CODE>$SRC_ROOT</CODE> directory. </li>
238
  <LinuxSolaris> 
243
  <LinuxSolarisWin_tcsh> 
239
  <li> Run the <CODE>configure</CODE> script to check all requirements and to 
244
  <li> Run the <CODE>configure</CODE> script to check all requirements and to 
240
    create the script 
245
    create the script 
241
  </LinuxSolaris>
246
  </LinuxSolarisWin_tcsh>
242
  <Linux><CODE>LinuxIntelEnv.Set</CODE>.</Linux>
247
  <Linux><CODE>LinuxIntelEnv.Set</CODE>.</Linux>
243
  <Solaris><CODE>SolarisSparcEnv.Set</CODE>.</Solaris> 
248
  <Solaris><CODE>SolarisSparcEnv.Set</CODE>.</Solaris> 
249
  <Win_tcsh><CODE>winenv.set</CODE>.</Win_tcsh> 
244
  <Windows> 
250
  <Windows> 
245
  <li> Run the <CODE>configure</CODE> script in a cygwin bash shell to 
251
  <li> Run the <CODE>configure</CODE> script in a cygwin bash shell to 
246
    check all requirements and to create the script <CODE>winenv.bat</CODE>.
252
    check all requirements and to create the script <CODE>winenv.bat</CODE>.
Lines 249-260 Link Here
249
  <li> Run the script 
255
  <li> Run the script 
250
    <Linux><CODE>LinuxIntelEnv.Set</CODE></Linux> 
256
    <Linux><CODE>LinuxIntelEnv.Set</CODE></Linux> 
251
    <Solaris><CODE>SolarisSparcEnv.Set</CODE></Solaris> 
257
    <Solaris><CODE>SolarisSparcEnv.Set</CODE></Solaris> 
258
    <Win_tcsh><CODE>winenv.set</CODE></Win_tcsh> 
252
    <Windows><CODE>winenv.bat</CODE></Windows> 
259
    <Windows><CODE>winenv.bat</CODE></Windows> 
253
    to set all environment variables. 
260
    to set all environment variables. 
254
  </li>
261
  </li>
255
  <LinuxSolaris> 
262
  <LinuxSolarisWin_tcsh> 
256
  <li> Create the build tools using <CODE>bootstrap</CODE>. </li>
263
  <li> Create the build tools using <CODE>bootstrap</CODE>. </li>
257
  </LinuxSolaris> 
264
  </LinuxSolarisWin_tcsh> 
258
  <li> Build each module against the prebuild <CODE>solver</CODE> using the <CODE>build</CODE> 
265
  <li> Build each module against the prebuild <CODE>solver</CODE> using the <CODE>build</CODE> 
259
    tool, followed by <CODE>deliver</CODE>. </li>
266
    tool, followed by <CODE>deliver</CODE>. </li>
260
</ol>
267
</ol>
Lines 274-280 Link Here
274
Before you start building, you must ensure that your system satisfies the
281
Before you start building, you must ensure that your system satisfies the
275
recommended software and hardware requirements for the type of system you
282
recommended software and hardware requirements for the type of system you
276
are working on. For <Linux>Linux, </Linux> <Solaris>Solaris, </Solaris> 
283
are working on. For <Linux>Linux, </Linux> <Solaris>Solaris, </Solaris> 
277
<Windows>Windows, </Windows> these are as follows:
284
<Win_tcsh>Windows, </Win_tcsh> <Windows>Windows, </Windows> these are as follows:
278
285
279
<p>
286
<p>
280
<Linux>
287
<Linux>
Lines 365-371 Link Here
365
</ul>
372
</ul>
366
</Solaris>
373
</Solaris>
367
374
368
<Windows>
375
<WindowsWin_tcsh>
369
<p><b>Build Requirements</b><p>
376
<p><b>Build Requirements</b><p>
370
377
371
<ul>
378
<ul>
Lines 376-382 Link Here
376
  <li>
383
  <li>
377
    Microsoft Visual C++ Version 6 Service Pack 3. 
384
    Microsoft Visual C++ Version 6 Service Pack 3. 
378
  </li>
385
  </li>
386
</WindowsWin_tcsh>
379
387
388
<Windows>
380
  <li>
389
  <li>
381
    4NT Version 2.5 or higher. You can download this from 
390
    4NT Version 2.5 or higher. You can download this from 
382
    <a href="ftp://jpsoft.com/4nt/">ftp://jpsoft.com/4nt/</a>.
391
    <a href="ftp://jpsoft.com/4nt/">ftp://jpsoft.com/4nt/</a>.
Lines 393-410 Link Here
393
LocalAliases = Yes
402
LocalAliases = Yes
394
</pre>
403
</pre>
395
  </li>
404
  </li>
405
</Windows>
396
406
407
<WindowsWin_tcsh>
397
  <li>
408
  <li>
398
    <a href="http://java.sun.com/j2se/1.3">JDK 1.3.1</a>. 
409
    <a href="http://java.sun.com/j2se/1.3">JDK 1.3.1</a>. 
399
  </li>
410
  </li>
411
</WindowsWin_tcsh>
400
412
413
<Windows>
401
  <li>
414
  <li>
402
    Only if you use the old Cygwin B-20 tools (new cygwin tools include 
415
    Only if you use the old Cygwin B-20 tools (new cygwin tools include 
403
    it already):   
416
    it already):   
404
    Perl 5 for Win32. You can download this binary from 
417
    Perl 5 for Win32. You can download this binary from 
405
    <a href="http://www.activestate.com/Products/ActivePerl/Download.html">http://www.activestate.com/Products/ActivePerl/Download.html</a>. 
418
    <a href="http://www.activestate.com/Products/ActivePerl/Download.html">http://www.activestate.com/Products/ActivePerl/Download.html</a>. 
406
  </li>
419
  </li>
420
</Windows>
407
421
422
<Windows>
408
  <li> 
423
  <li> 
409
    Cygwin Toolkit from 
424
    Cygwin Toolkit from 
410
    <a href="http://www.cygwin.com">http://www.cygwin.com</a>. 
425
    <a href="http://www.cygwin.com">http://www.cygwin.com</a>. 
Lines 445-451 Link Here
445
    <br>
460
    <br>
446
    Bison will also need a <CODE>C:\tmp</CODE> directory to function properly.
461
    Bison will also need a <CODE>C:\tmp</CODE> directory to function properly.
447
  </li>
462
  </li>
463
</Windows>
464
465
<Win_tcsh>
466
  <li> 
467
    Cygwin Toolkit from 
468
    <a href="http://www.cygwin.com">http://www.cygwin.com</a>.
469
    The official informations on using the setup.exe and installing Cygwin are available at:
470
    <a href="http://cygwin.com/cygwin-ug-net/setup-net.html">http://cygwin.com/cygwin-ug-net/setup-net.html</a>. 
471
    More help and information on the Cygwin tools can be found at 
472
    <a href="http://website.openoffice.org/support/en/howtos/1.html">http://website.openoffice.org/support/en/howtos/1.html</a>.
473
   <p>
474
    When installing Cygwin make sure you set the "Default Text File Type" to
475
    "Unix". This is the default setting.
476
   <p>
477
    Not all Cygwin packages are needed to build OpenOffice.org, but make sure
478
    that the following packages are installed.
479
    <ul>
480
     bison<br>
481
     gawk<br>
482
     gzip<br>
483
     patch<br>
484
     tar<br>
485
     perl<br>
486
     zip
487
    </ul>
488
  </li>
489
</Win_tcsh>
448
490
491
<WindowsWin_tcsh>
449
  <li>
492
  <li>
450
    A Microsoft Assembly compiler. This may already be present in your 
493
    A Microsoft Assembly compiler. This may already be present in your 
451
    installation in the same directory where the compiler is located (look for 
494
    installation in the same directory where the compiler is located (look for 
Lines 455-461 Link Here
455
    Place <CODE>ML.EXE</CODE> and <CODE>ML.ERR</CODE> somewhere in a directory 
498
    Place <CODE>ML.EXE</CODE> and <CODE>ML.ERR</CODE> somewhere in a directory 
456
    and note the path, i.e. <CODE>C:\ml</CODE>
499
    and note the path, i.e. <CODE>C:\ml</CODE>
457
  </li>
500
  </li>
501
</WindowsWin_tcsh>
458
502
503
<Windows>
459
  <li> <CODE>zip.exe</CODE> Version 2.2 or higher, and <CODE>unzip.exe</CODE>. 
504
  <li> <CODE>zip.exe</CODE> Version 2.2 or higher, and <CODE>unzip.exe</CODE>. 
460
    If you do not have these already, you can download them from 
505
    If you do not have these already, you can download them from 
461
    <a href="http://www.info-zip.org">www.info-zip.org</a>. 
506
    <a href="http://www.info-zip.org">www.info-zip.org</a>. 
Lines 463-472 Link Here
463
    You have to use the native w32 version. 
508
    You have to use the native w32 version. 
464
    Make sure that the first zip.exe in your path is the native w32
509
    Make sure that the first zip.exe in your path is the native w32
465
    version, e.g. rename or delete the zip.exe in your cygwin /bin directory and
510
    version, e.g. rename or delete the zip.exe in your cygwin /bin directory and
466
    copy the InfoZip version to this place. This issue should become obsolete 
511
    copy the InfoZip version to this place.
467
    once the 4NT shell is no longer a requirement for the build environment.
468
  </li>
512
  </li>
513
</Windows>
469
514
515
<WindowsWin_tcsh>
470
  <li>
516
  <li>
471
    Parts of the Microsoft Platfrom SDK, namely: the MDAC SDK (May 2002 or 
517
    Parts of the Microsoft Platfrom SDK, namely: the MDAC SDK (May 2002 or 
472
    later), the 
518
    later), the 
Lines 503-509 Link Here
503
  </li>
549
  </li>
504
550
505
</ul>
551
</ul>
506
</Windows>
552
</WindowsWin_tcsh>
507
553
508
<br>
554
<br>
509
<p>
555
<p>
Lines 549-555 Link Here
549
</ul>
595
</ul>
550
</Solaris>
596
</Solaris>
551
597
552
<Windows>
598
<WindowsWin_tcsh>
553
<b>Hardware Requirements</b>
599
<b>Hardware Requirements</b>
554
600
555
<ul>
601
<ul>
Lines 567-573 Link Here
567
  </li>
613
  </li>
568
614
569
</ul>
615
</ul>
570
</Windows> 
616
</WindowsWin_tcsh> 
571
<p><br><p><br><p>
617
<p><br><p><br><p>
572
618
573
619
Lines 611-619 Link Here
611
657
612
<li>
658
<li>
613
Another possibility is to check out the code from the cvs tree. 
659
Another possibility is to check out the code from the cvs tree. 
614
You may need <a href="www.socks.permeo.com">runsocks</a> to run 
660
<WindowsWin_tcsh>You may need <a href="www.socks.permeo.com">runsocks</a> to run 
615
cvs<Windows> (with the cygwin tools it is not 
661
cvs (with the new cygwin tools it is not 
616
necessary)</Windows>. If you 
662
necessary)</WindowsWin_tcsh>. If you 
617
don't have a username and password, you can still do a checkout as <CODE>anoncvs</CODE>: 
663
don't have a username and password, you can still do a checkout as <CODE>anoncvs</CODE>: 
618
<pre>
664
<pre>
619
<KBD>> cvs -d:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs login</KBD>
665
<KBD>> cvs -d:pserver:anoncvs@anoncvs.services.openoffice.org:/cvs login</KBD>
Lines 676-698 Link Here
676
Environment and Build Tools
722
Environment and Build Tools
677
</H2>
723
</H2>
678
724
679
<LinuxSolaris>
725
<LinuxSolarisWin_tcsh>
680
<p>
726
<p>
681
You use the <CODE>configure</CODE> script to generate the build environment.
727
You use the <CODE>configure</CODE> script to generate the build environment.
682
The <CODE>configure</CODE> script checks that all software, hardware, and 
728
The <CODE>configure</CODE> script checks that all software, hardware, and 
683
system requirements for the build are satisfied, and it creates a 
729
system requirements for the build are satisfied, and it creates a 
684
configuration file called </LinuxSolaris><Linux>
730
configuration file called </LinuxSolarisWin_tcsh><Linux>
685
<CODE>LinuxIntelEnv.Set</CODE></Linux><Solaris>
731
<CODE>LinuxIntelEnv.Set</CODE></Linux><Solaris>
686
<CODE>SolarisSparcEnv.Set</CODE></Solaris><LinuxSolaris>
732
<CODE>SolarisSparcEnv.Set</CODE></Solaris><Win_tcsh>
733
<CODE>winenv.set</CODE></Win_tcsh><LinuxSolarisWin_tcsh>
687
that you then run the <CODE>source</CODE> command on to set all necessary 
734
that you then run the <CODE>source</CODE> command on to set all necessary 
688
build environment variables.
735
build environment variables.
689
</LinuxSolaris>
736
</LinuxSolarisWin_tcsh>
690
<Windows>
737
<Windows>
691
<p>
738
<p>
692
Ideally, in keeping with the principles of open source, you would use an open 
739
Ideally, in keeping with the principles of open source, you would use an open 
693
source shell to build on a computer running a Win32 operating system.  
740
source shell to build on a computer running a Win32 operating system.  
694
However, this is not possible at present (though we're working on it!). You 
741
However, this is still experimental (you chose the save way). You 
695
must use a non-open source shell to build on a computer running a Win32 
742
decided to use a non-open source shell to build on a computer running a Win32 
696
operating system: the 4NT command shell. </p>
743
operating system: the 4NT command shell. </p>
697
<p>
744
<p>
698
On the other hand, the Cygnus <CODE>bash</CODE> shell is needed to run 
745
On the other hand, the Cygnus <CODE>bash</CODE> shell is needed to run 
Lines 705-712 Link Here
705
752
706
<p> 
753
<p> 
707
This configuration file will be moved into the <CODE>SRC_ROOT</CODE> directory. 
754
This configuration file will be moved into the <CODE>SRC_ROOT</CODE> directory. 
708
A top-level makefile script <CODE>makefile.mk</CODE> <LinuxSolaris> and the 
755
A top-level makefile script <CODE>makefile.mk</CODE> <LinuxSolarisWin_tcsh> and the 
709
script <CODE>bootstrap</CODE> in the <CODE>config-office</CODE> directory </LinuxSolaris> 
756
script <CODE>bootstrap</CODE> in the <CODE>config-office</CODE> directory </LinuxSolarisWin_tcsh> 
710
will be moved into <CODE>SRC_ROOT</CODE> as well. This is due to technical reasons: 
757
will be moved into <CODE>SRC_ROOT</CODE> as well. This is due to technical reasons: 
711
The <CODE>SRC_ROOT</CODE> directory in the cvs tree can only hold directories. 
758
The <CODE>SRC_ROOT</CODE> directory in the cvs tree can only hold directories. 
712
On the other hand, the top-level <CODE>makefile.mk</CODE> should logically be 
759
On the other hand, the top-level <CODE>makefile.mk</CODE> should logically be 
Lines 720-726 Link Here
720
CC and CXX point to your c and c++ compiler:
767
CC and CXX point to your c and c++ compiler:
721
</p>
768
</p>
722
769
723
<p>
770
<p></LinuxSolaris>
724
<Linux>
771
<Linux>
725
<pre>
772
<pre>
726
<KBD>CC=/your/path/to/gcc</KBD>
773
<KBD>CC=/your/path/to/gcc</KBD>
Lines 732-738 Link Here
732
<KBD>CC=/your/path/to/cc</KBD>
779
<KBD>CC=/your/path/to/cc</KBD>
733
<KBD>CXX=/your/path/to/CC</KBD>
780
<KBD>CXX=/your/path/to/CC</KBD>
734
</pre>
781
</pre>
735
</Solaris>
782
</Solaris><LinuxSolaris>
736
</p>
783
</p>
737
784
738
To run the <CODE>configure</CODE> script, type the following command:
785
To run the <CODE>configure</CODE> script, type the following command:
Lines 741-749 Link Here
741
<pre>
788
<pre>
742
<KBD>$SRC_ROOT> cd config_office</KBD>
789
<KBD>$SRC_ROOT> cd config_office</KBD>
743
<KBD>config_office> ./configure</KBD>
790
<KBD>config_office> ./configure</KBD>
744
</pre>
791
</pre></LinuxSolaris>
745
792
793
<Win_tcsh>
746
<p>
794
<p>
795
Before running configure, make sure that all needed Programs are in the system path
796
or start configure the apropriate command line switches.
797
<p>
798
The following should demonstrate in detail what steps have to be done to 
799
set up the environment. For this examples we assume that
800
  <p>
801
  <ul>
802
    <li>
803
      the source code is in <CODE>C:\oo643B</CODE>
804
    </li>
805
    <li>
806
      JDK 1.3.1 is installed in <CODE>C:\jdk1.3.1</CODE>
807
    </li>
808
    <li>
809
      the Microsoft Compiler is located in 
810
      <CODE>C:\PROGRA~1\MICROS~3\VC98</CODE>
811
      (or <CODE>C:\program files\microsoft visual studio\vc98</CODE>)
812
    </li>
813
    <li>
814
      the Microsoft SDK is located in <CODE>C:\PROGRA~1\MICROS~5</CODE> 
815
      (only applies for 643B and later)
816
    </li>
817
    <li>
818
      and the assembly compiler resides in <CODE>C:\ml</CODE>
819
    </li>
820
  </ul>
821
822
<ul>
823
<H3>tcsh - Example</H3>
824
<b>As the use of the tcsh shell is still experimental, you have to enable it
825
with <CODE>--with-use-shell=tcsh</CODE></b>
826
827
<p>
828
To run the <CODE>configure</CODE> script, type the following command:
829
830
<p>
831
<pre>
832
<KBD>$SRC_ROOT> cd config_office</KBD>
833
<KBD>config_office> ./configure --with-cl-home=/cygdrive/c/PROGRA~1/MICROS~3/VC98 --with-asm-home=/cygdrive/c/ml --with-jdk-home=/cygdrive/c/jdk1.3.1 --with-use-shell=tcsh</KBD>
834
</pre>
835
</ul>
836
</Win_tcsh>
837
838
</LinuxSolarisWin_tcsh><p>
747
There are a number of options that you can use with the
839
There are a number of options that you can use with the
748
<CODE>configure</CODE>
840
<CODE>configure</CODE>
749
script. To display these options, type the following command:
841
script. To display these options, type the following command:
Lines 752-758 Link Here
752
<pre>
844
<pre>
753
<KBD>config_office> ./configure --help</KBD>
845
<KBD>config_office> ./configure --help</KBD>
754
</pre>
846
</pre>
755
</LinuxSolaris>
847
</LinuxSolarisWin_tcsh>
756
848
757
<Windows>
849
<Windows>
758
<p>
850
<p>
Lines 772-783 Link Here
772
      the source code is in <CODE>C:\oo643B</CODE>
864
      the source code is in <CODE>C:\oo643B</CODE>
773
    </li>
865
    </li>
774
    <li>
866
    <li>
775
      your STLport files are stored in <CODE>C:\STLport-4.0</CODE>  
776
      (only in case you use your own STLport installation. If you 
777
      don't have this, or just don't care, the version provided in
778
      the source code will be build)
779
    </li>
780
    <li>
781
      JDK 1.3.1 is installed in <CODE>C:\jdk1.3.1</CODE>
867
      JDK 1.3.1 is installed in <CODE>C:\jdk1.3.1</CODE>
782
    </li>
868
    </li>
783
    <li>
869
    <li>
Lines 806-815 Link Here
806
  <CODE>
892
  <CODE>
807
  (open a cygwin bash shell)
893
  (open a cygwin bash shell)
808
  <br>
894
  <br>
809
  <b>cd //c/oo643B/config_office</b> (old cygwin b-20 tools) or <br>
895
  <b>cd /cygdrive/c/oo643B/config_office</b> (new cygwin tools) or <br>
810
  <b> /cygdrive/c/oo643B/config_office</b> (new cygwin tools - we stay 
896
  <b>cd //c/oo643B/config_office</b> (old cygwin b20 tools, deprecated)
811
with that notation for the rest of this example)<br>
897
  <br>
812
  <b>bash configure --with-stlport4-home=/cygdrive/c/STLport-4.0</b>
898
  <b>./configure --with-cl-home=/cygdrive/c/PROGRA~1/MICROS~3/VC98 --with-asm-home=/cygdrive/c/ml --with-jdk-home=/cygdrive/c/jdk1.3.1 --with-unzip-home=/cygdrive/c/unzip</b>
813
  <br>
899
  <br>
814
  .
900
  .
815
  <br>
901
  <br>
Lines 819-835 Link Here
819
  <br>
905
  <br>
820
  (some screen output here)
906
  (some screen output here)
821
  <br>
907
  <br>
822
  Please enter the Java home directory: <b>/cygdrive/c/jdk1.3.1</b>
823
  <br>
824
  Please enter the MS-DOS format path for the Microsoft C/C++ compiler home 
825
  directory: <b>/cygdrive/c/PROGRA~1/MICROS~3/VC98</b>
826
  <br>
827
  Please enter the MS-DOS format path where the ml.exe assembler is located: 
828
  <b>/cygdrive/c/ml</b>
829
  <br>
830
  Please enter the MS-DOS format path where unzip.exe is located: 
831
  <b>/cygdrive/c/unzip</b>
832
  <br>
833
  .
908
  .
834
  <br>
909
  <br>
835
  .
910
  .
Lines 871-877 Link Here
871
</Windows>
946
</Windows>
872
947
873
948
874
<LinuxSolaris>
949
<LinuxSolarisWin_tcsh>
875
<p> 
950
<p> 
876
After running <CODE>configure</CODE>, you have to source the configuration 
951
After running <CODE>configure</CODE>, you have to source the configuration 
877
file which sets all environment variables: 
952
file which sets all environment variables: 
Lines 881-889 Link Here
881
</LinuxSolaris>
956
</LinuxSolaris>
882
<Linux><KBD>$SRC_ROOT> source LinuxIntelEnv.Set</KBD></Linux>
957
<Linux><KBD>$SRC_ROOT> source LinuxIntelEnv.Set</KBD></Linux>
883
<Solaris><KBD>$SRC_ROOT> source SolarisSparcEnv.Set</KBD></Solaris>
958
<Solaris><KBD>$SRC_ROOT> source SolarisSparcEnv.Set</KBD></Solaris>
884
<LinuxSolaris>
959
<Win_tcsh><KBD>$SRC_ROOT> source winenv.set</KBD></Win_tcsh><LinuxSolarisWin_tcsh>
885
</pre>
960
</pre>
886
</LinuxSolaris>
961
</LinuxSolarisWin_tcsh>
887
<Windows>
962
<Windows>
888
963
889
<p>
964
<p>
Lines 897-912 Link Here
897
If you experiment with newest sources from the cvs-tree, mind that updates 
972
If you experiment with newest sources from the cvs-tree, mind that updates 
898
to the configure process do not happen via updates of <CODE>configure</CODE> 
973
to the configure process do not happen via updates of <CODE>configure</CODE> 
899
(the script file) but via the files <CODE>configure.in</CODE> and 
974
(the script file) but via the files <CODE>configure.in</CODE> and 
900
<CODE>set_soenv.1</CODE>. The configure script itself is created from 
975
<CODE>set_soenv.in</CODE>. The configure script itself is created from 
901
<CODE>configure.in</CODE> and <CODE>set_soenv.1</CODE> using the 
976
<CODE>configure.in</CODE> and <CODE>set_soenv.in</CODE> using the 
902
<CODE>autoconf</CODE> command. In this case, you would run commands 
977
<CODE>autoconf</CODE> command. In this case, you would run commands 
903
like the following: <LinuxSolaris> 
978
like the following: <LinuxSolarisWin_tcsh> 
904
<pre>
979
<pre>
905
<KBD>$SRC_ROOT> CD config_office</KBD>
980
<KBD>$SRC_ROOT> CD config_office</KBD>
906
<KBD>config_office> cvs update configure.in</KBD>
981
<KBD>config_office> cvs update configure.in</KBD>
907
<KBD>config_office> autoconf</KBD>
982
<KBD>config_office> autoconf</KBD>
908
</pre>
983
</pre>
909
</LinuxSolaris>
984
</LinuxSolarisWin_tcsh>
910
<Windows>
985
<Windows>
911
<pre>
986
<pre>
912
<KBD>$SRC_ROOT> CD config_office</KBD>
987
<KBD>$SRC_ROOT> CD config_office</KBD>
Lines 921-927 Link Here
921
to update the <CODE>configure</CODE> script. If you only use code from the 
996
to update the <CODE>configure</CODE> script. If you only use code from the 
922
snapshot releases on the web, you don't need to be concerned about this.
997
snapshot releases on the web, you don't need to be concerned about this.
923
998
924
<LinuxSolaris>
999
<LinuxSolarisWin_tcsh>
925
<p>
1000
<p>
926
To create the build tools, type the following command:
1001
To create the build tools, type the following command:
927
1002
Lines 933-939 Link Here
933
<p>
1008
<p>
934
The <CODE>bootstrap</CODE> utility creates the tools required for building.
1009
The <CODE>bootstrap</CODE> utility creates the tools required for building.
935
This involves already building some modules and will take a few minutes.
1010
This involves already building some modules and will take a few minutes.
936
</LinuxSolaris>
1011
</LinuxSolarisWin_tcsh>
937
1012
938
<br><p><br><p><br><p>
1013
<br><p><br><p><br><p>
939
1014
Lines 1092-1097 Link Here
1092
You have to download the <CODE>solver</CODE> tree as a tarball 
1167
You have to download the <CODE>solver</CODE> tree as a tarball 
1093
<Linux><CODE>solver643B_linux_intel.tar.gz</CODE></Linux> 
1168
<Linux><CODE>solver643B_linux_intel.tar.gz</CODE></Linux> 
1094
<Solaris><CODE>solver643B_solaris_sparc.tar.gz</CODE></Solaris> 
1169
<Solaris><CODE>solver643B_solaris_sparc.tar.gz</CODE></Solaris> 
1170
<Win_tcsh><CODE>solver643B_win32int.tar.gz</CODE></Win_tcsh> 
1095
<Windows><CODE>solver643B_win32int.tar.gz</CODE></Windows> 
1171
<Windows><CODE>solver643B_win32int.tar.gz</CODE></Windows> 
1096
from the Download page at 
1172
from the Download page at 
1097
<a href="http://www.openoffice.org/dev_docs/source/download.html">http://www.openoffice.org/dev_docs/source/download.html</a> 
1173
<a href="http://www.openoffice.org/dev_docs/source/download.html">http://www.openoffice.org/dev_docs/source/download.html</a> 
Lines 1105-1121 Link Here
1105
<KBD>$SRC_ROOT> gunzip solver643B_solaris_sparc.tar.gz</KBD>
1181
<KBD>$SRC_ROOT> gunzip solver643B_solaris_sparc.tar.gz</KBD>
1106
<KBD>$SRC_ROOT> tar -xvf solver643B_solaris_sparc.tar</KBD>
1182
<KBD>$SRC_ROOT> tar -xvf solver643B_solaris_sparc.tar</KBD>
1107
</Solaris>
1183
</Solaris>
1108
<Windows>
1184
<WindowsWin_tcsh>
1109
<KBD>$SRC_ROOT> gunzip solver643B_win32int.tar.gz</KBD>
1185
<KBD>$SRC_ROOT> tar -xvzf solver643B_win32int.tar.gz</KBD>
1110
<KBD>$SRC_ROOT> tar -xvf solver643B_win32int.tar</KBD>
1186
</WindowsWin_tcsh>
1111
</Windows>
1112
</pre>
1187
</pre>
1113
1188
1114
<LinuxSolaris>
1189
<LinuxSolarisWin_tcsh>
1115
In order to create the build environment and build tools (bootstrap), you 
1190
In order to create the build environment and build tools (bootstrap), you 
1116
also have to check out the modules <CODE>config_office, dmake, external, 
1191
also have to check out the modules <CODE>config_office, dmake, external, 
1117
xml2cmp, mkdepend, sal, solenv, vos, tools and rscpp</CODE>.
1192
xml2cmp, mkdepend, sal, solenv, vos, tools and rscpp</CODE>.
1118
</LinuxSolaris>
1193
</LinuxSolarisWin_tcsh>
1119
<Windows>
1194
<Windows>
1120
In order to create the build environment and build tools, you also have to 
1195
In order to create the build environment and build tools, you also have to 
1121
check out the <CODE>config_office</CODE> module and <CODE>solenv</CODE>.
1196
check out the <CODE>config_office</CODE> module and <CODE>solenv</CODE>.
Lines 1153-1159 Link Here
1153
files by removing the 
1228
files by removing the 
1154
<Linux><CODE>unxlngi3.pro</CODE></Linux>
1229
<Linux><CODE>unxlngi3.pro</CODE></Linux>
1155
<Solaris><CODE>unxsols3.pro</CODE></Solaris>
1230
<Solaris><CODE>unxsols3.pro</CODE></Solaris>
1156
<Windows><CODE>wntmsci7.pro</CODE></Windows> 
1231
<WindowsWin_tcsh><CODE>wntmsci7.pro</CODE></WindowsWin_tcsh> 
1157
directory. Then run <CODE>build</CODE> with the debug option set to true:
1232
directory. Then run <CODE>build</CODE> with the debug option set to true:
1158
1233
1159
<pre>
1234
<pre>
Lines 1180-1195 Link Here
1180
If you have build an installation set earlier and want to re-build it, 
1255
If you have build an installation set earlier and want to re-build it, 
1181
please delete the local outpath first: 
1256
please delete the local outpath first: 
1182
<pre>
1257
<pre>
1183
<KBD>$SRC_ROOT/instsetoo> rm -rf <Linux>unxlngi3.pro</Linux><Solaris>unxsols3.pro</Solaris><Windows>wntmsci7.pro</Windows></KBD>
1258
<KBD>$SRC_ROOT/instsetoo> rm -rf <Linux>unxlngi3.pro</Linux><Solaris>unxsols3.pro</Solaris><WindowsWin_tcsh>wntmsci7.pro</WindowsWin_tcsh></KBD>
1184
</pre>
1259
</pre>
1185
1260
1186
<p>
1261
<p>
1187
The English installation set will be located at 
1262
The English installation set will be located at 
1188
<CODE>$SRC_ROOT/instsetoo/<Linux>unxlngi3.pro</Linux><Solaris>unxsols3.pro</Solaris><Windows>wntmsci7.pro</Windows>/01/normal</CODE>. 
1263
<CODE>$SRC_ROOT/instsetoo/<Linux>unxlngi3.pro</Linux><Solaris>unxsols3.pro</Solaris><WindowsWin_tcsh>wntmsci7.pro</WindowsWin_tcsh>/01/normal</CODE>. 
1189
Execute the <CODE>setup</CODE> binary to install:
1264
Execute the <CODE>setup</CODE> binary to install:
1190
<pre>
1265
<pre>
1191
<KBD>$SRC_ROOT> CD instsetoo/<Linux>unxlngi3.pro</Linux><Solaris>unxsols3.pro</Solaris><Windows>wntmsci7.pro</Windows>/01/normal</KBD>
1266
<KBD>$SRC_ROOT> CD instsetoo/<Linux>unxlngi3.pro</Linux><Solaris>unxsols3.pro</Solaris><WindowsWin_tcsh>wntmsci7.pro</WindowsWin_tcsh>/01/normal</KBD>
1192
<KBD><LinuxSolaris>normal> ./setup</LinuxSolaris><Windows>normal> setup.exe</Windows></KBD>
1267
<KBD><LinuxSolaris>normal> ./setup</LinuxSolaris><WindowsWin_tcsh>normal> setup.exe</WindowsWin_tcsh></KBD>
1193
</pre>
1268
</pre>
1194
1269
1195
The 01 in the path names indicates that the localisation is american english. This number 
1270
The 01 in the path names indicates that the localisation is american english. This number 
Lines 1233-1245 Link Here
1233
to be unzipped into the directory 
1308
to be unzipped into the directory 
1234
1309
1235
<pre>
1310
<pre>
1236
<Linux><CODE>$SRC_ROOT/solver/641/unxlngi4.pro/pck</CODE>.</Linux><Solaris><CODE>$SRC_ROOT/solver/641/unxsols3.pro/pck</CODE>.</Solaris><Windows><CODE>$SRC_ROOT/solver/641/wntmsci7.pro/pck</CODE>.</Windows>
1311
<Linux><CODE>$SRC_ROOT/solver/641/unxlngi4.pro/pck</CODE>.</Linux><Solaris><CODE>$SRC_ROOT/solver/641/unxsols3.pro/pck</CODE>.</Solaris><WindowsWin_tcsh><CODE>$SRC_ROOT/solver/641/wntmsci7.pro/pck</CODE>.</WindowsWin_tcsh>
1237
</pre>
1312
</pre>
1238
1313
1239
The filenames of these files contain a number code for the language, corresponding to 
1314
The filenames of these files contain a number code for the language, corresponding to 
1240
the international phone code of a country in which that language is mainly spoken. 
1315
the international phone code of a country in which that language is mainly spoken. 
1241
For instance, the file <CODE>
1316
For instance, the file <CODE>
1242
<LinuxSolaris>helpcontent_34_unix.tgz</LinuxSolaris><Windows>helpcontent_34_wnt.zip</Windows>
1317
<LinuxSolaris>helpcontent_34_unix.tgz</LinuxSolaris><WindowsWin_tcsh>helpcontent_34_wnt.zip</WindowsWin_tcsh>
1243
</CODE> contains all helpcontent for the spanish localisation. 
1318
</CODE> contains all helpcontent for the spanish localisation. 
1244
The zipfiles themselves are available at 
1319
The zipfiles themselves are available at 
1245
<a href="http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/">ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/</a>.
1320
<a href="http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/">ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent/</a>.
Lines 1251-1257 Link Here
1251
chapter. English installation sets will be located in 
1326
chapter. English installation sets will be located in 
1252
1327
1253
<pre>
1328
<pre>
1254
<CODE>$SRC_ROOT/instsetoo/<Linux>unxlngi3.pro</Linux><Solaris>unxsols3.pro</Solaris><Windows>wntmsci7.pro</Windows>/01/normal</CODE>, 
1329
<CODE>$SRC_ROOT/instsetoo/<Linux>unxlngi3.pro</Linux><Solaris>unxsols3.pro</Solaris><WindowsWin_tcsh>wntmsci7.pro</WindowsWin_tcsh>/01/normal</CODE>, 
1255
</pre>
1330
</pre>
1256
1331
1257
where 01 corresponds to the international phone code of the USA. 
1332
where 01 corresponds to the international phone code of the USA. 
Lines 1259-1265 Link Here
1259
you will find an additional directory called 33:  
1334
you will find an additional directory called 33:  
1260
1335
1261
<pre>
1336
<pre>
1262
<CODE>$SRC_ROOT/instsetoo/<Linux>unxlngi3.pro</Linux><Solaris>unxsols3.pro</Solaris><Windows>wntmsci7.pro</Windows>/33/normal</CODE>.
1337
<CODE>$SRC_ROOT/instsetoo/<Linux>unxlngi3.pro</Linux><Solaris>unxsols3.pro</Solaris><WindowsWin_tcsh>wntmsci7.pro</WindowsWin_tcsh>/33/normal</CODE>.
1263
</pre>
1338
</pre>
1264
1339
1265
Similarily, you will find 49 for German, 34 for Spanish, etc. </p>
1340
Similarily, you will find 49 for German, 34 for Spanish, etc. </p>

Return to issue 13097