ACDK installation usually needs attention (installation manual)

xiaoxiao2021-03-06  33

ACDK installation usually needs attention (installation manual)

Translation: Xue Changyu

This is an ACDK package ordinary installation manual

This chapter text:

General precaution

Supported platform

Unexpected file

Unix

Windows

Set the environment

Compile with Make

Unix

Linux

Linux Precautions

Solaris

Windows Visual Studio

Visual Studio 6

Visual Studio .NET / 7

Lack of header files / library files

Compile with ACDKMAKE

Usual goal

Required library

more information

General precaution

ACDK is a set of separate packets. Each package can be independently installed / compiled.

Most of the packages rely on other ACDK packages, such as: package ACDK_LISP depends on ACDK_CORE and ACDK_Text. These packs must be installed before you try to compile and install the ACDK_LISP package. Read the documentation of the package to determine the detailed requirements

This installation manual describes the installation of an ACDK package called "ACDK_PACKAGE".

Supported operating system platform

Windows NT 4/2000 / XP MS Visual C 6 (released)

Windows NT 4/2000 / XP MS Visual C 7/2003 (AKA .NET) (experimental nature)

Windows NT 4/2000 / XP BCC 5.5 (experimental nature)

Windows NT 4/2000 / XP Boland C - Builder 5 (experimental nature)

Windows NT 4/2000 / XP Boland C - Builder 6 (Experimental Nature)

Windows NT 4/2000 / XP GCC 2.92 (Static Connection) (Experimental Nature)

Linux GCC 2.95.2 - 3.4 (released)

Sun Solaris GCC 2.95.2 - 3.4 (released)

Sun Solaris Sun Workshop 5.2 / 3 (experimental nature)

FreeBSD 4.0 GCC 2.95.2 - 3.4 (experimental nature)

Unexpected file

The ACDK package provides 2 formats: UNIX TAR.GZ and Windows .zip format. These two formats contain the same file. But in the Windows.zip package, the source code is used to use Windows file habits ("/ R" / N "Run mark)

Unix

You can solve the ACDK to your Home directory or at any specific directory.

CD / USR / LOCAL # parent directory of cdk

TAR ZXF ACDK - *. tar.gz # release package

The file is released to this directory:

/ usr / local / ACDK /

table of Contents:

/ usr / local / ACDK

Is ACDKHOME (ACDK root directory)

Windows

Unezip with unzip in the Windows platform (of course, other tools can also be used) decompress the ACDK

For example, release to directory D: / artefaktur, then ACDK will be in D: / Artefaktur / ACDK

Set the environment

As long as you want to go to Configure, compile, install, or run ACDK, the following environment variables are required:

* ACDKHome: The root directory of ACDK is used to store installation floor files and other files.

* PATH: Search path for executable file. You can release the following ACDK executable Logo:

Export Path =% PATH%: $ ACDKHOME / BIN # Bash or KSH

* LD_LIBRARY_PATH: Search path for shared libraries, you must release this path, it needs to point to the libraries of the ACDK Shared Libraries. You have to extend this to the ACDK Library Path:

Export Path =% PATH%: $ ACDKHOME / BIN

In Windows you can set these environment variables in the system's settings to compile using your Make file

In the released ACDK package, the project file and makefile have been generated.

When compiling the Makefile with makefile, make understand the following command parameters:

* All: Compile and install

* INSTALL: Copy all header files and configured to ACDKHOME / INCLUDE

* Compile: Compile Source Code

* Clean: Delete all .o / .Obj and other intermediate files

* TEST: Run Test Tool

Unix

Make processes global settings (external libraries, such as Perl, Python, wxwidgets, etc.) can be referenced in file $ ACDKHOME / ACDK_GLOBALS. $ {Target} (target = Linux, etc.) If this file exists, he will be Contains Make files

Linux

Compiling ACDK under Linux You must install GCC2.95.2 or higher compiler in your system

CD / USR / LOCAL / ACDK / ACDK

Make -f ACDK_ALL.LINUX All

Precautions under Linux

In the case of more than 1 CPU (multiprocessor system), it is necessary to add __smp__ defined to $ ACDKHOME / ACDK_GLOBALS.LINUX file

Solaris

If you intend to compile ACDK, you must install GCC2.95.2 or higher compilers, you cannot use Sun's compiler.

CD / USR / local / ACDK

Make -f ACDK_ALL.SUNOS-GCC ALL

Windows Visual Studio

Visual Studio 6

You have to install Visual Studio 6 SP3 or higher patch package, and must be compiled on Window (NT / 2000) or later operating systems.

CD D: / ArtefakTur / ACDK

Nmake -f ACDK_ALL.NMAKE ALL

You can also open the .dsw file using Visual Studio, but you must first execute nmake -f acdk_all.nmake to install the header and configuration file.

Visual Studio .NET

You can compile this project with .dsw files and .dsp files.

Lack of header files / or library files

Some packages (for example: ACDK_PERL, ACDK_TCL, ACDK_JAVA, ACDK_PYTHON,, etc.) You need additional header files to include and library files for connection. For these packages, you have to manually set the correct file path and library file path In projects or Make files, these files are usually a third part, so you need to install the corresponding development packages can be used, such as ACDK_JAVA needs to complete J2SDK completely and set it.

Please read the ReadMe file of these packs carefully.

Compile with ACDKMAKE

As a replacement, you can also use AcDkmake to compile ACDK projects instead of your original make

You need to download ACDK_TOOLS bags to compile your platform.

!

The ACDK_TOOLS package is not always available 2 credit packages, so you may need to compile the source code yourself. At this time, you must use the local make to compile ACDK_CORE, ACDK_TEXT, ACDK_MAKE.

Release ACDK_Tools to a directory different from other ACDK packages

ACDK PACKAGES:

D: / projects / ACDK / ACDK_CORE /*.

/d/projects/acdk/acdk_core/*.*

ETC.

ACDK Tools:

D: / projects / ACDK_Tools /*.-

/d/projects/acdk_tools/*.*

Set environment variables in Shell (CMD, Bash)

ACDK_TOOLS_HOME = / D / Projects / ACDK_Tools and ACDKHOME = / D / Projects / ACDK.

Release Path / D / Projects / ACDK_TOOLS / BIN, you must also set up environment variables LD_Library_path to point to your directory in the package of the package, which should be made by the build.csf file, this file is the make file of the ACDKMAKE.

/d/projects/acdk/ACDK_CORE/BUILD.CSF.

In this directory you can execute the ACDKMAKE command to compile this project.

Usual goal

ACDK build.csf file usually accepts the following compilation options:

* build

* Clean

* install

* Compile

* Test

Please refer to the corresponding ACDK Make documentation for more information.

(http://acdk.sourceforge.net/acdk/modules/ACDK_make/docs/acdk_make_man.html).

Required library (additional library)

Some packages require additional libraries:

* ACDK_JAVA: Java SDK (1.3) in java.sun.com.

* ACDK_TCL: TCL in Tcl.SourceForge.net.

* ACDK_PERL: Perl 5.x at www.perserl.com or www.activestate.com.

* ACDK_PYTHON: Python at www.python.org.

* ACDK_WX: wxwidgets at www.wxwidgets.org.

more information

l ACDK homepage. http://acdk.sourceforge.net/

l ACDK support. http://acdk.sourceforge.net/acdk/acdk_support.html

l ACDK package. http://acdk.sourceforge.net/acdk/modules/ACDK_Modules.html

l ACDK installation concept. http://acdk.sourceforge.net/acdk/docs/install/install.html

l ACDK Make documentation. http://acdk.sourceforge.net/acdk/modules/ACDK_MAKE/DOCS/ACDK_MAKE_MAN.HTML

Due to limited translation levels, it is inevitable that there is a mistake, please forgive me, other articles about ACDK can see other articles I translated, thank you

Xue Changyu

Changning@ynmail.com

2004-12

转载请注明原文地址:https://www.9cbs.com/read-78028.html

New Post(0)