<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">


        <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
        <title></title>
        <meta name="GENERATOR" content="OpenOffice.org 3.1  (Unix)">
        <style type="text/css">
        <!--
                @page { margin: 2cm }
                P { margin-bottom: 0.21cm }
        -->
        </style>

<p style="margin-bottom: 0cm;">He esta mirando sobre la instalación y
se me ha ocurrido la siguiente solución:</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">Utilizar la siguiente estructura de
directorios en la instalación:</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">…</p>
<p style="margin-bottom: 0cm;">lib</p>
<p style="margin-bottom: 0cm;">script</p>
<p style="margin-bottom: 0cm;">&nbsp;&nbsp;   active_nes_site</p>
<p style="margin-bottom: 0cm;">share</p>
<p style="margin-bottom: 0cm;">&nbsp;&nbsp;  cgi-bin</p>
<p style="margin-bottom: 0cm;">&nbsp;&nbsp;&nbsp;&nbsp;     dispatch.cgi</p>
<p style="margin-bottom: 0cm;">&nbsp;&nbsp;&nbsp;&nbsp;     plugin</p>
<p style="margin-bottom: 0cm;">&nbsp;&nbsp;&nbsp;&nbsp;     obj</p>
<p style="margin-bottom: 0cm;">…</p>
<p style="margin-bottom: 0cm;"><br>
</p>

<p style="margin-bottom: 0cm;">Utilizar Module::Install::Share en la
instalación y posteriormente File::ShareDir  en el  script
active_nes_site para enlazar estos archivos en un servidor virtual
concreto.</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">Agradeceré sugerencias.</p>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">De:</span></b> Skript Ke &lt;skriptke@yahoo.es&gt;<br><b><span style="font-weight: bold;">Para:</span></b> Lista de correo de Madrid Perl Mongers &lt;madrid-pm@pm.org&gt;<br><b><span style="font-weight: bold;">Enviado:</span></b> mar,16 febrero, 2010 14:04<br><b><span style="font-weight: bold;">Asunto:</span></b> Re: [Madrid-pm] PAUSE y CPAN<br></font><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Entiendo, voy a leerme todo lo que pille y antes de crear la instalación la someteré a vuestro criterio, que es de lejos mejor que el mio para estos temas.<br><br>Gracias.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div
 style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">De:</span></b> Salvador Fandino &lt;sfandino@yahoo.com&gt;<br><b><span style="font-weight: bold;">Para:</span></b> Lista de correo de Madrid Perl Mongers &lt;madrid-pm@pm.org&gt;<br><b><span style="font-weight: bold;">Enviado:</span></b> mar,16 febrero, 2010 13:55<br><b><span style="font-weight: bold;">Asunto:</span></b> Re: [Madrid-pm] PAUSE y
 CPAN<br></font><br><br><br><br>&gt;<br>&gt;From: Skript Ke &lt;<a rel="nofollow" ymailto="mailto:skriptke@yahoo.es" target="_blank" href="mailto:skriptke@yahoo.es">skriptke@yahoo.es</a>&gt;<br>&gt;To: Lista de correo de Madrid Perl Mongers &lt;<a rel="nofollow" ymailto="mailto:madrid-pm@pm.org" target="_blank" href="mailto:madrid-pm@pm.org">madrid-pm@pm.org</a>&gt;<br>&gt;Sent: Tue, February 16, 2010 1:33:47 PM<br>&gt;Subject: Re: [Madrid-pm] PAUSE y CPAN<br>&gt;<br>&gt;<br>&gt;Nes viene además con una librería de objetos y plugins. Creo que lo que voy a hacer es lo siguiente:<br>&gt;<br>&gt;Instalar el módulo Nes.pm donde corresponda<br>&gt;<br>&gt;&gt;Meter la librería de Nes en:<br>&gt;&gt;/usr/lib/nes/dispatch.cgi<br>&gt;&gt;/usr/lib/nes/obj<br>&gt;&gt;/usr/lib/nes/plugins<br><br>En general no es buena idea que los modulos instalen cosas por su cuenta donde les de la gana.<br><br>Es frecuente instalar modulos sin permisos de root, o en un
 directorio que no es el raiz de la maquina (por ejemplo, /usr/local)
 utilizando $PREFIX. Tambien es frecuente tener varios Perls instalados en la misma maquina, cada uno en su directorio.<br><br>Lo mejor es que instales todo en algun directorio por debajo de donde va el modulo Nes, por ejemplo $PREFIX/lib/Nes/obj<br><br><br><br>&gt;&gt;Después mediante un segundo script de instalación enlazar /usr/lib/nes en /cgi-bin/nes.<br>&gt;<br>&gt;He estado mirando los Makefile.PL que tienes, conoces algún tutorial sobre esto para tontos? <br><br>Tienes el libro "Writing Perl Modules for CPAN" de Sam Tregar, que te lo puedes bajar en PDF de la web de la editorial (<a rel="nofollow" target="_blank" href="http://apress.com/book/view/159059018X">http://apress.com/book/view/159059018X</a>). Aunque es un poco viejo, estas cosas no han cambiado demasiado!<br><br>Y tambien tienes este: <a rel="nofollow" target="_blank" href="http://www.perlmonks.org/index.pl?node_id=431702">http://www.perlmonks.org/index.pl?node_id=431702</a><br><br>-
 Salva<br><br>_______________________________________________<br>Madrid-pm mailing list<br><a rel="nofollow" ymailto="mailto:Madrid-pm@pm.org" target="_blank" href="mailto:Madrid-pm@pm.org">Madrid-pm@pm.org</a><br><a rel="nofollow" target="_blank" href="http://mail.pm.org/mailman/listinfo/madrid-pm">http://mail.pm.org/mailman/listinfo/madrid-pm</a><br></div></div>
</div><br>



      </div></div>
</div><br>



      </body></html>