From bc0ce24428b5773d6c4ed70b7dbac34c57b3ef6f Mon Sep 17 00:00:00 2001 From: Juergen Schmidt Date: Tue, 7 May 2002 12:03:23 +0000 Subject: #99053# new docu html files --- odk/docs/install.html | 221 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 221 insertions(+) create mode 100644 odk/docs/install.html (limited to 'odk/docs/install.html') diff --git a/odk/docs/install.html b/odk/docs/install.html new file mode 100644 index 000000000000..80e0e31eaee0 --- /dev/null +++ b/odk/docs/install.html @@ -0,0 +1,221 @@ + + + [TITLE] SDK-Installation guide + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
+
+
+
+
 
+
+ + + + + + + + + + + + + +
Installation guide +   SDK home +
 
+

The [PRODUCTNAME] SDK comes with a set of development tools, base libraries and jar files which + can be used to develop Java/C++ components, to embed [PRODUCTNAME] application in your own programs + or to use the API (scripting or remote control the office). For a complete working + environment we have some additional requirements. +

+
+
StarOffice™ or OpenOffice.org installation +
The SDK works on top of an existing office installation and uses the same libraries as the office. +
JDK (1.3.1_02 or higher) +
A JDK is necessary for developing Java components or applications +
C++ compiler +
A C++ compler is necessary for developing C++ components or applications. UNO depends + on a compiler dependent language binding so that we use the appropriate compiler where a + language binsing exists:
+ Solaris, Sun WorkShop 6 update 1 C++ 5.2 2000/09/11
+ Linux, GNU C++ compiler, gcc vwersion 3.0.1
+ Windows, Microsoft C++ Compiler, Microsoft Developer Studio 6.0 (cl, version 12.00.8168)
+
GNU make (3.79.1 or higher) +
GNU make is used to build the examples of the SDK. +
+

The SDK provides a shell script (Windows and UNIX) to set the necessary environment variables + for using the SDK and the required tools. +

+ +

The first time you use the script you have have to prepare it for your environment. Edit the script + and set the following variabels: +

+

+ + + + + + + + + + + + + + + + + + + + + +
OFFICE_HOMEpath to an exisiting StarOffice™ or OpenOffice.org installation, e.g. + "/usr/local/StarOffice6.0"
SDK_HOMEpath to the SDK root directory, e.g "/usr/local/StarOffice6.0SDK"
SDK_JAVA_HOMEpath to the JDK
SDK_CPP_HOMEpath to the C++ compiler (under windows the directory where the vcvar32.bat file + can be found)
SDK_MAKEpath to GNU make
+

+

If you don't want to use the script to set your working environment you have to set the appropriate + environment variables by yourself. The script sets the following environment variables. +

+

Environment variables for UNIX

+

+ + + + + + + + + + + + + +
OFFICE_PROGRAM_PATH=$OFFICE_HOME/program
+ This variable is used to register example components + automatically in your Office installation. If you don't want automatic registration, + pleace comment this variable out in the script.
LD_LIBRARY_PATH=$LD_LIBRARY_PATH/$OFFICE_PROGRAM_PATH:$SDK_HOM/solsparc/lib
+ The LD_LIBRARY_PATH will be set or will be extended by the office program path and the platform + dependent lib directory for some additional libraries. +
PATH=$PATH:$SDK_HOM/solsparc/bin:$SDK_MAKE:$SDK_CPP_HOME:$SDK_JAVA_HOME/bin
+ The PATH variable will be extended by the pathes for the SDK development tools, the compiler, + the JDK, GNU make. +
+

+

Environment variables for Windows

+

Additionally to setting these environment varibales the script calls the "vcvar32.bat" batch file + which is provided by the Microsoft Develper Studio to set the necessary environment varibales for + the compiler. + + + + + + + + + + + + + + + + +
OFFICE_PROGRAM_PATH=$OFFICE_HOME/program
+ This variable is used to register example components + automatically in your Office installation. If you don't want automatic registration, + pleace comment this variable out in the script.
PATH=$PATH:$SDK_HOME/solsparc/bin:$SDK_MAKE:$SDK_CPP_HOME:$SDK_JAVA_HOME/bin + :$OFFICE_PROGRAM_PATH
+ The PATH variable will be extended by the pathes for the SDK development tools, the compiler, + the JDK, GNU make and the $OFFICE_PROGRAM_PATH. +
LIB=$LIB:$SDK_HOME/windows/lib
+ The LIB variable will be extended by the path to the import libraries which are necessary + for winsows. +
Additionally to setting these environment varibales the script calls the + "vcvar32.bat" batch file which is provided by the Microsoft Develper Studio to set the + necessary environment varibales for the compiler.
+

+
 
+
+
 
+

Copyright 2002 Sun Microsystems, + Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA. +

+   +
+ + -- cgit