mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 18:43:02 +01:00
The first draft of posix build instructions from Bill Oliver
This commit is contained in:
parent
67b81c2ccd
commit
2c02243c4d
780
doc/README.build.posix.html
Normal file
780
doc/README.build.posix.html
Normal file
@ -0,0 +1,780 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1">
|
||||
<TITLE></TITLE>
|
||||
<META NAME="GENERATOR" CONTENT="OpenOffice.org 3.0 (Unix)">
|
||||
<META NAME="CREATED" CONTENT="0;0">
|
||||
<META NAME="CHANGED" CONTENT="20090805;14423800">
|
||||
<META NAME="Info 1" CONTENT="">
|
||||
<META NAME="Info 2" CONTENT="">
|
||||
<META NAME="Info 3" CONTENT="">
|
||||
<META NAME="Info 4" CONTENT="">
|
||||
<STYLE TYPE="text/css">
|
||||
<!--
|
||||
TD P { margin-left: 0.56in; margin-right: 0.56in; font-family: "Helvetica", sans-serif; font-size: 10pt; font-style: normal; font-weight: normal }
|
||||
H1 { margin-left: 0.56in; margin-right: 0.56in; font-family: "Helvetica", sans-serif; font-size: 16pt; font-style: normal }
|
||||
P { margin-left: 0.56in; margin-right: 0.56in; font-family: "Helvetica", sans-serif; font-size: 10pt; font-style: normal; font-weight: normal }
|
||||
H2 { margin-left: 0.56in; margin-right: 0.56in; color: #000000; font-family: "Helvetica", sans-serif; font-size: 14pt; font-style: normal }
|
||||
PRE { margin-left: 0.56in; margin-right: 0.56in; margin-top: 0.1in; background: #f9f9f9; border: 1px solid #2f6fab; padding: 0.02in; color: #000000; font-style: normal; font-weight: normal }
|
||||
P.caption { border: none; padding: 0in; color: #000000; font-family: "Helvetica", sans-serif; font-size: 10pt; font-style: normal; font-weight: bold }
|
||||
TH P { margin-left: 0.56in; margin-right: 0.56in; font-family: "Helvetica", sans-serif; font-size: 10pt; font-style: normal }
|
||||
-->
|
||||
</STYLE>
|
||||
</HEAD>
|
||||
<BODY LANG="en-US" BGCOLOR="#ffffff" DIR="LTR" STYLE="border: none; padding: 0in">
|
||||
<H1><A NAME="intro"></A>1.0 Introduction
|
||||
</H1>
|
||||
<P>Firebird builds on many POSIX compatible Unix and Linux platforms.
|
||||
This document describes the process for building on these systems and
|
||||
lists the supported configurations - including compiler revision and
|
||||
OS level for best results.
|
||||
</P>
|
||||
<H1><A NAME="contents"></A>2.0 Contents
|
||||
</H1>
|
||||
<P><A HREF="#intro">Introduction</A><BR><A HREF="#contents">Contents</A><BR><A HREF="#preparing">Preparing
|
||||
to Build Firebird</A></P>
|
||||
<UL>
|
||||
<LI><P STYLE="margin-bottom: 0in"><A HREF="#configure1">Generating a
|
||||
configure file with autogen.sh</A>
|
||||
</P>
|
||||
<LI><P><A HREF="#configure2">Running configure</A>
|
||||
</P>
|
||||
</UL>
|
||||
<P><A HREF="#supported">Supported Platforms</A>
|
||||
</P>
|
||||
<UL>
|
||||
<LI><P STYLE="margin-bottom: 0in"><A HREF="#aix1">AIX 6.1, Power</A>
|
||||
</P>
|
||||
<LI><P STYLE="margin-bottom: 0in"><A HREF="#hp1">HP-UX 11i v3,
|
||||
Itanium</A>
|
||||
</P>
|
||||
<LI><P STYLE="margin-bottom: 0in"><A HREF="#hp2">HP-UX 11i v3,
|
||||
PA-RISC</A>
|
||||
</P>
|
||||
<LI><P STYLE="margin-bottom: 0in"><A HREF="#linux1">64-bit Linux</A>
|
||||
</P>
|
||||
<LI><P STYLE="margin-bottom: 0in"><A HREF="#linux2">32-bit Linux</A>
|
||||
</P>
|
||||
<LI><P STYLE="margin-bottom: 0in"><A HREF="#sol1">Solaris 10, Sparc</A>
|
||||
</P>
|
||||
<LI><P><A HREF="#sol2">Solaris 10, Intel</A>
|
||||
</P>
|
||||
</UL>
|
||||
<H1><A NAME="preparing"></A>3.0 Preparing to Build Firebird
|
||||
</H1>
|
||||
<H2><A NAME="configure1"></A>3.1 Generating a configure file with
|
||||
autogen.sh
|
||||
</H2>
|
||||
<P>Before building Firebird it is necessary to create the "configure"
|
||||
script, if one is not included with your distrubtion. The configure
|
||||
script is generated by running the "autogen.sh" script.
|
||||
Autogen.sh is a shell script located in the root directory of the
|
||||
Firebird build.
|
||||
</P>
|
||||
<P>Autogen.sh depends on the GNU toolchain to create "configure."
|
||||
Modern LINUX distributions will already have the GNU toolchain
|
||||
installed, but if you are attempting a build on a different POSIX
|
||||
system, such as AIX, HP-UX, or Solaris, you may need to install the
|
||||
necessary GNU utilities.
|
||||
</P>
|
||||
<P>The table below shows the versions of the GNU tools used to build
|
||||
Firebird 2.5 on the UNIX hosts. These versions of the GNU tools are
|
||||
what we use to build Firebird 2.5 on the different POSIX hosts. These
|
||||
versions of the GNU tools are what we use to build Firebird 2.5 on
|
||||
the different POSIX hosts. We take measures to make configure
|
||||
buildable with as wide range of autotools as possible, but we can't
|
||||
check all possible combinations.</P>
|
||||
<DL>
|
||||
<DD>
|
||||
<TABLE WIDTH=604 BORDER=0 CELLPADDING=2 CELLSPACING=0>
|
||||
<COL WIDTH=106>
|
||||
<COL WIDTH=166>
|
||||
<COL WIDTH=320>
|
||||
<TR>
|
||||
<TH WIDTH=106>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.14in">GNU Tool
|
||||
</P>
|
||||
</TH>
|
||||
<TH WIDTH=166>
|
||||
<P STYLE="margin-left: 0.15in; margin-right: 0.13in">Recommended
|
||||
Version
|
||||
</P>
|
||||
</TH>
|
||||
<TH WIDTH=320>
|
||||
<P STYLE="margin-left: 0.39in; margin-right: 0.56in">Notes
|
||||
</P>
|
||||
</TH>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=106>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.14in">m4
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=166>
|
||||
<P>1.4.12
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=320>
|
||||
<P STYLE="margin-left: 0.39in; margin-right: 0.56in">autoconf and
|
||||
libtool depend on m4
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=106>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.14in">gmake
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=166>
|
||||
<P>3.81
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=320>
|
||||
<P STYLE="margin-left: 0.39in; margin-right: 0.56in">3.80 tested
|
||||
ok, too
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=106>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.14in">autoconf
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=166>
|
||||
<P>2.63
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=320>
|
||||
<P STYLE="margin-left: 0.39in; margin-right: 0.56in">2.56 is
|
||||
minimum version per configure.in file
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=106>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.14in">automake
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=166>
|
||||
<P>1.10.1
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=320>
|
||||
<P STYLE="margin-left: 0.39in; margin-right: 0.56in">1.10.2
|
||||
tested ok, too</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=106>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.14in">libtool
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=166>
|
||||
<P>2.2.6a
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=320>
|
||||
<P STYLE="margin-left: 0.39in; margin-right: 0.56in">1.5.26
|
||||
tested ok, too</P>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</DL>
|
||||
<P CLASS="caption">Recommended Version(s) of GNU Tool Chain Utilities
|
||||
</P>
|
||||
<PRE STYLE="margin-bottom: 0.2in">./autogen.sh --with-system-editline=yes --with-system-icu --enable-debug</PRE><P CLASS="caption">
|
||||
Sample invocation of autogen with configure options
|
||||
</P>
|
||||
<P>Tip! It is possible to pass the configure options directly to
|
||||
autogen, as shown in the example above.
|
||||
</P>
|
||||
<H2><A NAME="configure2"></A>3.2 Running configure
|
||||
</H2>
|
||||
<P>Once the "configure" script is generated, it can be run
|
||||
repeatedly without re-running the autogen.sh script. This allows the
|
||||
user to retest with different configuration options. You can always
|
||||
get actual list options using './configure –help'.</P>
|
||||
<DL>
|
||||
<DD>
|
||||
<TABLE WIDTH=741 BORDER=0 CELLPADDING=2 CELLSPACING=0>
|
||||
<COL WIDTH=189>
|
||||
<COL WIDTH=380>
|
||||
<COL WIDTH=160>
|
||||
<TR>
|
||||
<TH WIDTH=189>
|
||||
<P STYLE="margin-left: 0.22in; margin-right: 0.2in">Configure
|
||||
Option
|
||||
</P>
|
||||
</TH>
|
||||
<TH WIDTH=380>
|
||||
<P STYLE="margin-left: 0.2in; margin-right: 0.16in">Description
|
||||
</P>
|
||||
</TH>
|
||||
<TH WIDTH=160>
|
||||
<P STYLE="margin-left: 0.21in; margin-right: 0.18in">Default
|
||||
Value
|
||||
</P>
|
||||
</TH>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=189>
|
||||
<P STYLE="margin-left: 0.22in; margin-right: 0.2in">--enable-debug
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=380>
|
||||
<P STYLE="margin-left: 0.2in; margin-right: 0.16in">Build debug
|
||||
version
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=160>
|
||||
<P STYLE="margin-left: 0.21in; margin-right: 0.18in">no
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=189>
|
||||
<P STYLE="margin-left: 0.22in; margin-right: 0.2in">--enable-raw-devices
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=380>
|
||||
<P STYLE="margin-left: 0.2in; margin-right: 0.16in">Enable
|
||||
databases on raw devices
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=160>
|
||||
<P STYLE="margin-left: 0.21in; margin-right: 0.18in">yes
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=189>
|
||||
<P STYLE="margin-left: 0.22in; margin-right: 0.2in">--enable-superserver
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=380>
|
||||
<P STYLE="margin-left: 0.2in; margin-right: 0.16in">Build
|
||||
SuperServer architecture instead Classic / SuperClassic</P>
|
||||
</TD>
|
||||
<TD WIDTH=160>
|
||||
<P STYLE="margin-left: 0.21in; margin-right: 0.18in">no
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=189>
|
||||
<P STYLE="margin-left: 0.22in; margin-right: 0.2in">--prefix
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=380>
|
||||
<P STYLE="margin-left: 0.2in; margin-right: 0.16in">Installation
|
||||
location
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=160>
|
||||
<P STYLE="margin-left: 0.21in; margin-right: 0.18in">/usr/local/firebird
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=189>
|
||||
<P STYLE="margin-left: 0.22in; margin-right: 0.2in">--with-editline
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=380>
|
||||
<P STYLE="margin-left: 0.2in; margin-right: 0.16in">Advanced
|
||||
editing and command retrieval for ISQL
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=160>
|
||||
<P STYLE="margin-left: 0.21in; margin-right: 0.18in">no
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=189>
|
||||
<P STYLE="margin-left: 0.22in; margin-right: 0.2in">--with-ipc-name
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=380>
|
||||
<P STYLE="margin-left: 0.2in; margin-right: 0.16in">Specify local
|
||||
IPC name (mingw build only)</P>
|
||||
</TD>
|
||||
<TD WIDTH=160>
|
||||
<P STYLE="margin-left: 0.21in; margin-right: 0.18in">FirebirdIPI
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=189>
|
||||
<P STYLE="margin-left: 0.22in; margin-right: 0.2in">--with-system-editline
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=380>
|
||||
<P STYLE="margin-left: 0.2in; margin-right: 0.16in">Use system
|
||||
version of editline, instead of bundled version of ICU
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=160>
|
||||
<P STYLE="margin-left: 0.21in; margin-right: 0.18in">no
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=189>
|
||||
<P STYLE="margin-left: 0.22in; margin-right: 0.2in">--with-system-icu
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=380>
|
||||
<P STYLE="margin-left: 0.2in; margin-right: 0.16in">Use system
|
||||
version of ICU, instead of bundled version of ICU
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=160>
|
||||
<P STYLE="margin-left: 0.21in; margin-right: 0.18in">no
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=189>
|
||||
<P STYLE="margin-left: 0.22in; margin-right: 0.2in">--with-service-name
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=380>
|
||||
<P STYLE="margin-left: 0.2in; margin-right: 0.16in">Specify inet
|
||||
service name
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=160>
|
||||
<P STYLE="margin-left: 0.21in; margin-right: 0.18in">gds_db
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=189>
|
||||
<P STYLE="margin-left: 0.22in; margin-right: 0.2in">--with-service-port
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=380>
|
||||
<P STYLE="margin-left: 0.2in; margin-right: 0.16in">Specify inet
|
||||
service port
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=160>
|
||||
<P STYLE="margin-left: 0.21in; margin-right: 0.18in">3050
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=189>
|
||||
<P STYLE="margin-left: 0.22in; margin-right: 0.2in">--with-gpre-ada
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=380>
|
||||
<P STYLE="margin-left: 0.2in; margin-right: 0.16in">Support ADA
|
||||
in gpre
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=160>
|
||||
<P STYLE="margin-left: 0.21in; margin-right: 0.18in">no
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=189>
|
||||
<P STYLE="margin-left: 0.22in; margin-right: 0.2in">--with-gpre-cobol
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=380>
|
||||
<P STYLE="margin-left: 0.2in; margin-right: 0.16in">Support COBOL
|
||||
in gpre
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=160>
|
||||
<P STYLE="margin-left: 0.21in; margin-right: 0.18in">no
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=189>
|
||||
<P STYLE="margin-left: 0.22in; margin-right: 0.2in">--with-gpre-fortran
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=380>
|
||||
<P STYLE="margin-left: 0.2in; margin-right: 0.16in">Support
|
||||
FORTRAN in gpre
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=160>
|
||||
<P STYLE="margin-left: 0.21in; margin-right: 0.18in">no
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=189>
|
||||
<P STYLE="margin-left: 0.22in; margin-right: 0.2in">--with-gpre-pascal
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=380>
|
||||
<P STYLE="margin-left: 0.2in; margin-right: 0.16in">Support
|
||||
PASCAL in gpre
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=160>
|
||||
<P STYLE="margin-left: 0.21in; margin-right: 0.18in">no
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</DL>
|
||||
<P CLASS="caption">Firebird Configure Options
|
||||
</P>
|
||||
<H1><A NAME="supported"></A>4.0 Supported Platforms
|
||||
</H1>
|
||||
<P>This section lists platforms, compilers, and compiler options
|
||||
where Firebird has been succesfully tested. Optional flags for
|
||||
enthusiasts are provided.
|
||||
</P>
|
||||
<P>When Autoconf environment variables are provided, you must export
|
||||
these before running configure.
|
||||
</P>
|
||||
<P>Unless otherwise noted, all builds are 64-bit. Linux 32-bit builds
|
||||
are also frequently tested.</P>
|
||||
<P ALIGN=CENTER STYLE="margin-bottom: 0in">Firebird POSIX platforms
|
||||
</P>
|
||||
<DL>
|
||||
<DD>
|
||||
<TABLE WIDTH=615 BORDER=0 CELLPADDING=2 CELLSPACING=0>
|
||||
<COL WIDTH=231>
|
||||
<COL WIDTH=203>
|
||||
<COL WIDTH=169>
|
||||
<TR>
|
||||
<TD WIDTH=231>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.2in">AIX 6.1,
|
||||
Power
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=203>
|
||||
<P STYLE="margin-left: 0.18in; margin-right: 0.14in">XL C++
|
||||
Compiler, 10.1
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=169>
|
||||
<P STYLE="margin-left: 0.13in; margin-right: 0.14in">Frequently
|
||||
Tested
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=231>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.2in">AIX 5.3,
|
||||
Power
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=203>
|
||||
<P STYLE="margin-left: 0.18in; margin-right: 0.14in">XL C++
|
||||
Compiler, 10.1
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=169>
|
||||
<P STYLE="margin-left: 0.13in; margin-right: 0.14in">Rarely
|
||||
Tested
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=231>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.2in">HP-UX 11.31
|
||||
(11i v3), PA-RISC
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=203>
|
||||
<P STYLE="margin-left: 0.18in; margin-right: 0.14in">aCC C++
|
||||
Compiler 3.85
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=169>
|
||||
<P STYLE="margin-left: 0.13in; margin-right: 0.14in">Frequently
|
||||
Tested
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=231>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.2in">HP-UX 11.31
|
||||
(11i v3), Itanium
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=203>
|
||||
<P STYLE="margin-left: 0.18in; margin-right: 0.14in">aCC C++
|
||||
Compiler 3.85
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=169>
|
||||
<P STYLE="margin-left: 0.13in; margin-right: 0.14in">Frequently
|
||||
Tested
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=231>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.2in">HP-UX 11.23
|
||||
(11i v2), PA-RISC
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=203>
|
||||
<P STYLE="margin-left: 0.18in; margin-right: 0.14in">aCC C++
|
||||
Compiler 3.85
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=169>
|
||||
<P STYLE="margin-left: 0.13in; margin-right: 0.14in">Rarely
|
||||
Tested
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=231>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.2in">HP-UX 11.23
|
||||
(11i v2), Itanium
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=203>
|
||||
<P STYLE="margin-left: 0.18in; margin-right: 0.14in">aCC C++
|
||||
Compiler 3.85
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=169>
|
||||
<P STYLE="margin-left: 0.13in; margin-right: 0.14in">Rarely
|
||||
Tested
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=231>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.2in">Linux, Red
|
||||
Hat Enterprise 5.3, AMD64
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=203>
|
||||
<P STYLE="margin-left: 0.18in; margin-right: 0.14in">g++ 4.3.3
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=169>
|
||||
<P STYLE="margin-left: 0.13in; margin-right: 0.14in">Frequently
|
||||
Tested
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=231>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.2in">Linux, Open
|
||||
SUSE 11.0, AMD64
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=203>
|
||||
<P STYLE="margin-left: 0.18in; margin-right: 0.14in">g++ 4.3.3
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=169>
|
||||
<P STYLE="margin-left: 0.13in; margin-right: 0.14in">Frequently
|
||||
Tested
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=231>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.2in">Linux, Open
|
||||
SUSE 10.2, AMD64
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=203>
|
||||
<P STYLE="margin-left: 0.18in; margin-right: 0.14in">g++ 4.3.3
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=169>
|
||||
<P STYLE="margin-left: 0.13in; margin-right: 0.14in">Frequently
|
||||
Tested
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=231>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.2in">Solaris 10,
|
||||
SPARC
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=203>
|
||||
<P STYLE="margin-left: 0.18in; margin-right: 0.14in">Sun Studio
|
||||
12, Update 1
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=169>
|
||||
<P STYLE="margin-left: 0.13in; margin-right: 0.14in">Frequently
|
||||
Tested
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=231>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.2in">Solaris 9
|
||||
SPARC
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=203>
|
||||
<P STYLE="margin-left: 0.18in; margin-right: 0.14in">Sun Studio
|
||||
12
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=169>
|
||||
<P STYLE="margin-left: 0.13in; margin-right: 0.14in">Rarely
|
||||
Tested
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD WIDTH=231>
|
||||
<P STYLE="margin-left: 0.19in; margin-right: 0.2in">Solaris 10,
|
||||
AMD64
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=203>
|
||||
<P STYLE="margin-left: 0.18in; margin-right: 0.14in">Sun Studio
|
||||
12, Update 1
|
||||
</P>
|
||||
</TD>
|
||||
<TD WIDTH=169>
|
||||
<P STYLE="margin-left: 0.13in; margin-right: 0.14in">Frequently
|
||||
Tested
|
||||
</P>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</DL>
|
||||
<H2><A NAME="aix1"></A>4.1 AIX 6.1 on Power, IBM XL C++
|
||||
</H2>
|
||||
<PRE> export CC=cc_r
|
||||
export CXX=xlC_r
|
||||
export CFLAGS=-q64
|
||||
export CXXFLAGS=-q64</PRE><P CLASS="caption">
|
||||
Autoconf Environment Variables for AIX
|
||||
</P>
|
||||
<P>This configuration was also succesfully tested against AIX 5.3.
|
||||
</P>
|
||||
<P>Compiler version was XL C++ compiler, version 10.1.</P>
|
||||
<H2><A NAME="hp1"></A>4.2 HP-UX 11i v3 on Itanium, HP aC++ Compiler
|
||||
</H2>
|
||||
<PRE> export CC=cc
|
||||
export CXX=aCC
|
||||
export CFLAGS=+DD64
|
||||
export CXXFLAGS=+DD64</PRE><P CLASS="caption">
|
||||
Autoconf Environment Variables for HP-UX 11i v3, Itanium
|
||||
</P>
|
||||
<P>Compiler version was HP ANSI C++ 3.85.</P>
|
||||
<P>The default instruction set architecture for HP-UX Itanium is
|
||||
blended. Enthusiasts may compile with +DSnative, which tunes for the
|
||||
processor on which the compiler is running.
|
||||
</P>
|
||||
<H2><A NAME="hp2"></A>4.3 HP-UX 11i v3 on PA-RISC, HP aC++ Compiler
|
||||
</H2>
|
||||
<PRE> export CC=cc
|
||||
export CXX=aCC
|
||||
export CFLAGS=+DD64
|
||||
export CXXFLAGS=+DD64</PRE><P CLASS="caption">
|
||||
Autoconf Environment Variables for HP-UX 11iv3, PA-RISC
|
||||
</P>
|
||||
<P>Compiler version was HP ANSI C++ 3.85.</P>
|
||||
<P>This configuration was also succesfully tested using HP-UX 11iv2.
|
||||
</P>
|
||||
<H2><A NAME="linux1"></A>4.4 Linux on 64-bit AMD64, GNU C++ compiler
|
||||
(g++)
|
||||
</H2>
|
||||
<P>g++ 4.3.3 is reference compiler for Firebird 2.5.
|
||||
</P>
|
||||
<P>Firebird 2.5 has been tested on the following distributions:
|
||||
</P>
|
||||
<UL>
|
||||
<LI><P STYLE="margin-bottom: 0in">Open SUSE 11.0
|
||||
</P>
|
||||
<LI><P STYLE="margin-bottom: 0in">Open SUSE 10.2
|
||||
</P>
|
||||
<LI><P STYLE="margin-bottom: 0in">Red Hat Enterprise 5.3
|
||||
</P>
|
||||
<LI><P>Debian
|
||||
</P>
|
||||
</UL>
|
||||
<P>No Autoconf Environment variables are required to build on 64-bit
|
||||
Linux when using g++.
|
||||
</P>
|
||||
<H2><A NAME="linux2"></A>4.5 Linux on 32-bit i386, GNU C++ compiler
|
||||
(g++)
|
||||
</H2>
|
||||
<P>g++ 4.3.3 is reference compiler for Firebird 2.5.
|
||||
</P>
|
||||
<P>No Autoconf Environment variables are required to build on 32-bit
|
||||
Linux when using g++.
|
||||
</P>
|
||||
<H2><A NAME="sol1"></A>4.6 Solaris 10 on SPARC, Sun Studio 12 Update
|
||||
1
|
||||
</H2>
|
||||
<PRE> export CC=cc
|
||||
export CXX=CC
|
||||
export CFLAGS="-m64 -xarch=sparcvis"
|
||||
export CXXFLAGS="-m64 -xarch=sparcvis"</PRE><P CLASS="caption">
|
||||
Autoconf Environment Variables for Solaris 10, SPARC
|
||||
</P>
|
||||
<P>This configuration was also tested on Solaris 9, SPARC, using Sun
|
||||
Studio 12.
|
||||
</P>
|
||||
<P><B>Note!</B> Sun Studio 12 is the last Sun Studio release to
|
||||
support Solaris 9. Sun Studio "Update 1" requires Solaris
|
||||
10 or greater.
|
||||
</P>
|
||||
<H2><A NAME="sol2"></A>4.7 Solaris 10 on AMD64, Sun Studio 12 Update
|
||||
1
|
||||
</H2>
|
||||
<PRE> export CC=cc
|
||||
export CXX=CC
|
||||
export CFLAGS="-m64 -xarch=sse2a"
|
||||
export CXXFLAGS="-m64 -xarch=sse2a"</PRE><P CLASS="caption">
|
||||
Autoconf Environment Variables Solaris 10, AMD64
|
||||
</P>
|
||||
<P><B>Note!</B> Firebird requires Solaris 10 when using Sun Studio on
|
||||
Solaris AMD64
|
||||
</P>
|
||||
<H1><A NAME="testing"></A>5.0 Testing in Place
|
||||
</H1>
|
||||
<P>Firebird is using current (one being built) engine to complete
|
||||
build, therefore successfully finished build is somewhat tested, but
|
||||
it does not provide a "make check" option. This may be
|
||||
added in a future release.
|
||||
</P>
|
||||
<P>After the build has finished, you may prepare your build in-place,
|
||||
and run regession tests deploying it.
|
||||
</P>
|
||||
<P>To prepare you build for "in-place" testing, you need to
|
||||
execute the following commands. This assumes that Firebird was
|
||||
downloaded and built in the /u/fbtest/firebird2h1 directory:
|
||||
</P>
|
||||
<PRE> cd /u/fbtest/firebird2h1/gen/firebird
|
||||
export FIREBIRD=/u/fbtest/firebird2h1/gen/firebird
|
||||
export PATH=$FIREBIRD/bin:$PATH
|
||||
cp misc/firebird.conf .
|
||||
cp misc/fbintl.conf intl
|
||||
cp intl/libfbintl.so lib/fbintl.so
|
||||
export LD_LIBRARY_PATH=$FIREBIRD/lib</PRE><P CLASS="caption">
|
||||
Commands for In Place Testing of Firebird
|
||||
</P>
|
||||
<P><B>Note!</B> You may also need to edit the firebird.conf file and
|
||||
change <CODE>RemoteFileOpenAbility=1</CODE> if you are testing on an
|
||||
NFS drive. <B>PLEASE do NOT use this option in production unless you
|
||||
really understand well what are you doing!</B></P>
|
||||
<P>At this point you can run regression tests using ISQL client.
|
||||
</P>
|
||||
<H1><A NAME="deploying"></A>6.0 Deploying
|
||||
</H1>
|
||||
<P>The hard work is done. To install, just type
|
||||
</P>
|
||||
<PRE STYLE="margin-bottom: 0.2in">make install</PRE>
|
||||
</BODY>
|
||||
</HTML>
|
Loading…
Reference in New Issue
Block a user