Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Oracle Linking

Re: Oracle Linking

From: ltiu <ltiu_at_alumni.sfu.ca>
Date: Sun, 18 Aug 2002 11:38:19 -0800
Message-ID: <F001.004B879F.20020818113819@fatcity.com>


Thank you very much for your informative little tutorial.

I appreciate it a lot.

I will give it a shot.

Thanks.

ltiu

On Sunday 18 August 2002 12:03, you wrote:
> The error message in the "install.log" or "make.log" files should narrow
> your choices down, but in general...
>
> Underneath "$ORACLE_HOME" there are several ".mk" files, which are scripts
> for the venerable UNIX "make" command. To find them, you can run the UNIX
> "find" command as follows:
>
> $ find $ORACLE_HOME -name "*.mk" -print
>
> Within each product subdirectory under "$ORACLE_HOME" where a "lib"
> subdirectory exists, there will usually be two ".mk" files: one prefixed
> with "env_" and another prefixed with "ins_". For example, under the
> "$ORACLE_HOME/rdbms" subdirectory, you'll find a "lib" subdirectory in
> which resides an "env_rdbms.mk" file and an "ins_rdbms.mk" file. The
> "ins_*.mk" script is the one you're interested in; it references "make"
> script settings in the "env_*.mk" script, so in the end you're using both
> scripts anyway, but the "ins_*.mk" script is the "top-level" one...
>
> Within a "make" script there are "targets" defined, which describe how to
> compile (if necessary! not always necessary) and link an executable.
> Generally, Oracle defines an overall target called "install" to
> compile/link/install all executed defined within, or it defines targets for
> each specific executable (i.e. target "ioracle" performs compiles, links,
> and file-movement for installation of the "oracle executable with the
> "ins_rdbms.mk" script, etc).
>
> To call make from the UNIX command-line to compile, link, and install a new
> "oracle" executable, you'd run the following commands:
>
> $ cd $ORACLE_HOME/rdbms/lib
> $ make -f ins_rdbms.mk ioracle
>
> If you were just going to "shotgun" both of the executables defined as part
> of the "network" product for the server-side, you'd run something like:
>
> $ cd $ORACLE_HOME/network/lib
> $ make -f ins_net_server.mk install
>
> ...and "make" would compile/link/install the "tnslsnr" and the "lsnrctl"
> executables...
>
> The error messages you see from the "link phase" of Oracle software
> installation in the "install.log" or "make.log" scripts come from these
> "make -f ..." commands. Check the log files to find out exactly what
> failed -- using the "shotgun" method can take a lot of time... :-)
>
> Hope this helps...
>
> ----- Original Message -----
> To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
> Sent: Sunday, August 18, 2002 11:18 AM
>
> > There is apparently two stages to the Oracle installation on Unix. A file
> > copying installation where all the required binaries are copied from
> > cdrom
>
> to
>
> > hard disk and a linking install where the binary/object files are linked.
> >
> > If the first stage succeeds but the second stage does not. How do I start
>
> the
>
> > linking install without having to go through the first stage copying
>
> install
>
> > again?
> >
> > Thanks.
> >
> > ltiu
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: ltiu
> > INET: ltiu_at_alumni.sfu.ca
> >
> > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > San Diego, California -- Public Internet access / Mailing Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: ltiu
  INET: ltiu_at_alumni.sfu.ca

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Sun Aug 18 2002 - 14:38:19 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US