<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Krimarck's Weblog</title>
	<atom:link href="http://krimarck.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://krimarck.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 13 May 2008 21:07:30 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='krimarck.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/af994bd3b9581e1c162dbff053d6e460?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Krimarck's Weblog</title>
		<link>http://krimarck.wordpress.com</link>
	</image>
			<item>
		<title>Compilación Nativa de PL/SQL</title>
		<link>http://krimarck.wordpress.com/2008/05/13/compilacion-nativa-de-plsql/</link>
		<comments>http://krimarck.wordpress.com/2008/05/13/compilacion-nativa-de-plsql/#comments</comments>
		<pubDate>Tue, 13 May 2008 21:07:30 +0000</pubDate>
		<dc:creator>krimarck</dc:creator>
				<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://krimarck.wordpress.com/?p=3</guid>
		<description><![CDATA[Al intentar compilar un package PL/SQL en forma nativa me salio el siguiente error:
Warning: Package created  with compilation errors
show  errors
Errors for PACKAGE  TEST_PG
LINE/COL  ERROR&#8212;&#8212;&#8211;  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
0/0      PLS-00920:  parameter plsql_native_library_dir is not set
Esto indica que falta configurar algunos parámetros:

plsql_native_make_file_name: Indica  donde reside el makefile para [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krimarck.wordpress.com&blog=3719160&post=3&subd=krimarck&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Al intentar compilar un package PL/SQL en forma nativa me salio el siguiente error:</p>
<p lang="ES-CL">Warning: Package created  with compilation errors</p>
<p>show  errors<br />
Errors for PACKAGE  TEST_PG<br />
LINE/COL  ERROR&#8212;&#8212;&#8211;  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
0/0      PLS-00920:  parameter plsql_native_library_dir is not set</p>
<p>Esto indica que falta configurar algunos parámetros:</p>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><a name="InitParameters"><code><strong><span style="font-family:Courier New;font-size:x-small;"><span style="font-weight:bold;font-size:10pt;">plsql_native_make_file_name</span></span></strong></code></a><code><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;">: Indica  donde reside el makefile para crear shared librarys (habitualmente  $ORACLE_HOME/plsql). No es asignado por default, y debe ser seteado vía <em><span style="font-style:italic;">alter system</span></em>. Por ejemplo si  ORACLE_HOME=</span></span></code><span>/u01/app/oracle/product/9.2.0,  hay que ejecutar (como DBA):</span></li>
</ul>
<pre><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;">        ALTER SYSTEM SET plsql_native_make_file_name = '/u01/app/oracle/product/9.2.0/plsql/spnc_makefile.mk';</span></span></pre>
<p class="MsoNormal"><code><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;"> </span></span></code></p>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><code><strong><span style="font-family:Courier New;font-size:x-small;"><span style="font-weight:bold;font-size:10pt;">plsql_native_make_utility</span></span></strong></code><code><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;">: Indica  donde esta el utilitario <em><span style="font-style:italic;">make</span></em>.  Idem. caso anterior debe ser seteado vía alter system. Por ejemplo en  Solaris:</span></span></code></li>
</ul>
<pre><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;">        ALTER SYSTEM SET plsql_native_make_utility='/usr/ccs/bin/make';</span></span></pre>
<p class="MsoNormal" style="margin-left:18pt;"><code><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;"> </span></span></code></p>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><code><strong><span style="font-family:Courier New;font-size:x-small;"><span style="font-weight:bold;font-size:10pt;">plsql_native_library_dir</span></span></strong></code><code><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;">: Indica el  directorio “destino” de las shared librarys. El usuario ‘oracle’ debe tener  permiso de escritura y sólo root y oracle deberían ser capaces de esccribir y/o  eliminar archivos en dicho directorio (que debe existir antes de setear el  directorio vía <em><span style="font-style:italic;">alter  system</span></em>)</span></span></code></li>
</ul>
<pre><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;">        ALTER SYSTEM SET plsql_native_library_dir = '/u01/app/oracle/product/9.2.0/plsql_libs';</span></span></pre>
<p class="MsoNormal" style="margin-left:36pt;"><code><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;"> </span></span></code></p>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><code><strong><span style="font-family:Courier New;font-size:x-small;"><span style="font-weight:bold;font-size:10pt;">plsql_native_c_compiler</span></span></strong></code><code><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;">: Indica la  ruta completa del compilador de C (debería setearse en el makefile). Por ejemplo  en el archivo </span></span></code><code><strong><span style="font-family:Courier New;font-size:x-small;"><span style="font-weight:bold;font-size:10pt;">spnc_makefile.mk</span></span></strong></code><span>:</span></li>
</ul>
<pre style="margin-left:35.4pt;"><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;">  # Specify C Compiler</span></span></pre>
<pre style="margin-left:35.4pt;"><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;">  #</span></span></pre>
<pre style="margin-left:35.4pt;"><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;">  CC=/opt/SUNWspro/bin/cc</span></span></pre>
<p class="MsoNormal"><code><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;"> </span></span></code></p>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><code><strong><span style="font-family:Courier New;font-size:x-small;"><span style="font-weight:bold;font-size:10pt;">plsql_native_c_linker</span></span></strong></code><code><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;">: Indica la  ruta completa del enlazador (debería setearse en el makefile). Por ejemplo en el  archivo </span></span></code><code><strong><span style="font-family:Courier New;font-size:x-small;"><span style="font-weight:bold;font-size:10pt;">spnc_makefile.mk</span></span></strong></code><span>:</span></li>
</ul>
<pre style="margin-left:35.4pt;"><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;">  # Specify C Compiler</span></span></pre>
<pre style="margin-left:35.4pt;"><span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;">  #</span></span>
<span style="font-family:Courier New;font-size:x-small;"><span style="font-size:10pt;">        LD=/usr/ccs/bin/ld</span></span></pre>
<p class="MsoNormal"><span style="font-family:Arial;font-size:x-small;"><span style="font-size:10pt;font-family:Arial;"> </span></span></p>
<p class="MsoNormal"><span style="font-family:Arial;font-size:x-small;"><span style="font-size:10pt;font-family:Arial;"> Los últimos parámetros deberían  setearse sólo si son distintos de los suministrados por defecto por el sistema  operativo. Finalmente el modo de compilación se setea vía alter session por lo  que no es necesario modificar el default  (INTERPRETED).</span></span></p>
<p class="MsoNormal"><span style="font-family:Arial;font-size:x-small;"><span style="font-size:10pt;font-family:Arial;"> </span></span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/krimarck.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/krimarck.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/krimarck.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/krimarck.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/krimarck.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/krimarck.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/krimarck.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/krimarck.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/krimarck.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/krimarck.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/krimarck.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/krimarck.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=krimarck.wordpress.com&blog=3719160&post=3&subd=krimarck&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://krimarck.wordpress.com/2008/05/13/compilacion-nativa-de-plsql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8ce943c74dd00fce72bd39771d31a4f0?s=96&#38;d=identicon" medium="image">
			<media:title type="html">krimarck</media:title>
		</media:content>
	</item>
	</channel>
</rss>