mod_perl2 on my FreeBSD

[prev] [thread] [next] [Date index for 2004/11/30]

From: cglee
Subject: mod_perl2 on my FreeBSD
Date: 19:17 on 30 Nov 2004
--0-1325328530-1101842232=:25419
Content-Type: text/plain; charset=euc-kr
Content-Transfer-Encoding: 8bit


on my FreeBSD 5.3 stabe, perl 5.8.5 from port, Apache 2.0.52 from source, mod_perl 1.99_17 from source

$ make
...
...
modperl_apr_perlio.c: In function `PerlIOAPR_open':
modperl_apr_perlio.c:113: warning: cast to pointer from integer of different size
Running Mkbootstrap for APR::PerlIO ()
chmod 644 PerlIO.bs
rm -f ../../../blib/arch/auto/APR/PerlIO/PerlIO.so
LD_RUN_PATH="" cc  -shared  -L/usr/local/lib PerlIO.o modperl_apr_perlio.o -Wl,-E  -L/usr/local/lib -o ../../../blib/arch/auto/APR/PerlIO/PerlIO.so
chmod 755 ../../../blib/arch/auto/APR/PerlIO/PerlIO.so
cp PerlIO.bs ../../../blib/arch/auto/APR/PerlIO/PerlIO.bs
chmod 644 ../../../blib/arch/auto/APR/PerlIO/PerlIO.bs
...
...
$ make test
All tests successful

and Web service looks good with apache2&mod_perl2&Mason1.27



Stas Bekman <stas@xxxxxx.xxx> wrote:Lars Eggert wrote:

> patch-ab is required to build, otherwise I see the following error 
> during make:
> 
> Running Mkbootstrap for APR::PerlIO ()
> chmod 644 PerlIO.bs
> rm -f ../../../blib/arch/Apache2/auto/APR/PerlIO/PerlIO.so
> LD_RUN_PATH="" cc -shared -L/usr/local/lib PerlIO.o 
> modperl_apr_perlio.o -Wl,-E -L/usr/local/lib -o 
> ../../../blib/arch/Apache2/auto/APR/PerlIO/PerlIO.so
> chmod 755 ../../../blib/arch/Apache2/auto/APR/PerlIO/PerlIO.so
> cp PerlIO.bs ../../../blib/arch/Apache2/auto/APR/PerlIO/PerlIO.bs
> chmod 644 ../../../blib/arch/Apache2/auto/APR/PerlIO/PerlIO.bs
> make: don't know how to make dynamic. Stop
> *** Error code 2
> 
> There is actually another fix that is in the port's Makefile:
> 
> pre-install:
> cp WrapXS/APR/ThreadMutex/ThreadMutex.pm blib/lib/Apache2/APR/
> 
> Without this, ThreadMutex.pm doesn't get installed.

Hmm, have you tried that with the 1.99_17? AFAIK, those problems were long 
fixed.

In any case that patch:
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/www/mod_perl2/files/patch-ab?rev=1.3&content-type=text/plain
doesn't seem to have anything to do with APR::PerlIO
are you sure that output is not a mixed output of 'make -j'?

        -- 
        __________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



		
---------------------------------
                    ÃÖ´ë 100MB, ´õÀÌ»ó ¿ë·® °í¹Î¾ø´Â ¾ßÈÄ! ¸ÞÀÏÀ» ½áº¸¼¼¿ä.                                                                                                                                                             ¾ßÈÄ! ºñÆ®¹Ú½º
                  ÃֽŰî, Ãßõ°î, °¡¿ä, OST, ÆË¼Û, ¹ÂÁ÷ºñµð¿À                                                    		            		                                                                                                                           ¾ßÈÄ! ¸ð¹ÙÀÏ
                  ÃֽŠÈÞ´ëÆù Á¤º¸, º§¼Ò¸®, ij¸¯ÅÍ, ¹®ÀÚ¸Þ¼¼Áö                                                                  	  
--0-1325328530-1101842232=:25419
Content-Type: text/html; charset=euc-kr
Content-Transfer-Encoding: 8bit

<P>on my FreeBSD 5.3 stabe, perl 5.8.5 from port, Apache 2.0.52 from source, mod_perl 1.99_17 from source</P>
<P>$ make<BR>...<BR>...<BR>modperl_apr_perlio.c: In function `PerlIOAPR_open':<BR>modperl_apr_perlio.c:113: warning: cast to pointer from integer of different size<BR>Running Mkbootstrap for APR::PerlIO ()<BR>chmod 644 PerlIO.bs<BR>rm -f ../../../blib/arch/auto/APR/PerlIO/PerlIO.so<BR>LD_RUN_PATH="" cc&nbsp; -shared&nbsp; -L/usr/local/lib PerlIO.o modperl_apr_perlio.o -Wl,-E&nbsp; -L/usr/local/lib -o ../../../blib/arch/auto/APR/PerlIO/PerlIO.so<BR>chmod 755 ../../../blib/arch/auto/APR/PerlIO/PerlIO.so<BR>cp PerlIO.bs ../../../blib/arch/auto/APR/PerlIO/PerlIO.bs<BR>chmod 644 ../../../blib/arch/auto/APR/PerlIO/PerlIO.bs<BR>...<BR>...<BR>$ make test<BR>All tests successful</P>
<P>and Web service looks good with apache2&amp;mod_perl2&amp;Mason1.27<BR></P>
<DIV><BR><BR><B><I>Stas Bekman &lt;stas@xxxxxx.xxx&gt;</I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Lars Eggert wrote:<BR><BR>&gt; patch-ab is required to build, otherwise I see the following error <BR>&gt; during make:<BR>&gt; <BR>&gt; Running Mkbootstrap for APR::PerlIO ()<BR>&gt; chmod 644 PerlIO.bs<BR>&gt; rm -f ../../../blib/arch/Apache2/auto/APR/PerlIO/PerlIO.so<BR>&gt; LD_RUN_PATH="" cc -shared -L/usr/local/lib PerlIO.o <BR>&gt; modperl_apr_perlio.o -Wl,-E -L/usr/local/lib -o <BR>&gt; ../../../blib/arch/Apache2/auto/APR/PerlIO/PerlIO.so<BR>&gt; chmod 755 ../../../blib/arch/Apache2/auto/APR/PerlIO/PerlIO.so<BR>&gt; cp PerlIO.bs ../../../blib/arch/Apache2/auto/APR/PerlIO/PerlIO.bs<BR>&gt; chmod 644 ../../../blib/arch/Apache2/auto/APR/PerlIO/PerlIO.bs<BR>&gt; make: don't know how to make dynamic. Stop<BR>&gt; *** Error code 2<BR>&gt; <BR>&gt; There is actually another fix that is in the port's Makefile:<BR>&gt; <BR>&gt; pre-install:<BR>&gt; cp
 WrapXS/APR/ThreadMutex/ThreadMutex.pm blib/lib/Apache2/APR/<BR>&gt; <BR>&gt; Without this, ThreadMutex.pm doesn't get installed.<BR><BR>Hmm, have you tried that with the 1.99_17? AFAIK, those problems were long <BR>fixed.<BR><BR>In any case that patch:<BR>http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/www/mod_perl2/files/patch-ab?rev=1.3&amp;content-type=text/plain<BR>doesn't seem to have anything to do with APR::PerlIO<BR>are you sure that output is not a mixed output of 'make -j'?<BR><BR>-- <BR>__________________________________________________________________<BR>Stas Bekman JAm_pH ------&gt; Just Another mod_perl Hacker<BR>http://stason.org/ mod_perl Guide ---&gt; http://perl.apache.org<BR>mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com<BR>http://modperlbook.org http://apache.org http://ticketmaster.com<BR><BR>-- <BR>Report problems: http://perl.apache.org/bugs/<BR>Mail list info: http://perl.apache.org/maillist/modperl.html<BR>List etiquette:
 http://perl.apache.org/maillist/email-etiquette.html<BR><BR></BLOCKQUOTE></DIV><p>;
		<hr size=1>
<style type='text/css'>
<!--
a.ftag:link {text-decoration:none; color:2A47AA}
a.ftag:visited {text-decoration:none; color:2A47AA}
a.ftag:hover {text-decoration:underline; color:2A47AA}
a.ftag:active {text-decoration:none; color:2A47AA}	
.ftag {font-family:±¼¸²,µ¸¿ò,arial; font-size: 80%; line-height: 140%; font-size:9pt; color:#666666}
-->
</style>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td style="padding:10 0 0 0" class=ftag>
      <img src="http://img.yahoo.co.kr/mail/footer/ic_mail.gif"; width="21" height="11"> 
      ÃÖ´ë 100MB, ´õÀÌ»ó ¿ë·® °í¹Î¾ø´Â <b><a href="http://kr.rd.yahoo.com/mail/taglines/*http://mail.yahoo.co.kr">;¾ßÈÄ! ¸ÞÀÏ</a></b>À» ½áº¸¼¼¿ä.
    </td>
  </tr>
  <tr> 
    <td width="50%" height="5"></td>
  </tr>
</table>
  
<table width="617" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td style="border-left:1px solid #CCCCCC;border-right:1px solid #CCCCCC;border-top:1px solid #CCCCCC;border-bottom:1px solid #CCCCCC;padding:8 8 8 8">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="42" valign="top">
                  <a href="http://kr.rd.yahoo.com/mail/taglines/*http://kr.music.yahoo.com"><img src="http://img.yahoo.co.kr/mail/footer/ic_music.gif"; width="32" height="32" border="0"></a>
                </td>
                <td valign="top" class=ftag>
                  <b><a href="http://kr.rd.yahoo.com/mail/taglines/*http://kr.music.yahoo.com">;¾ßÈÄ! ºñÆ®¹Ú½º</a></b><br>
                  ÃֽŰî, Ãßõ°î, °¡¿ä, OST, ÆË¼Û, ¹ÂÁ÷ºñµð¿À
                </td>
              </tr>
            </table>
          </td>
		  <td width="10"></td>
          <td width="1" background="http://img.yahoo.co.kr/mail/footer/bg_dot01.gif"></td>;
		  <td width="10"></td>
          <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="42" valign="top">
                  <a href="http://kr.rd.yahoo.com/mail/taglines/*http://kr.mobile.yahoo.com"><img src="http://img.yahoo.co.kr/mail/footer/ic_mobile.gif"; width="32" height="32" border="0"></a>
                </td>
                <td valign="top" class=ftag>
                  <b><a href="http://kr.rd.yahoo.com/mail/taglines/*http://kr.mobile.yahoo.com">;¾ßÈÄ! ¸ð¹ÙÀÏ</a></b><br>
                  ÃֽŠÈÞ´ëÆù Á¤º¸, º§¼Ò¸®, ij¸¯ÅÍ, ¹®ÀÚ¸Þ¼¼Áö
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
	</td>
  </tr>
</table>
--0-1325328530-1101842232=:25419--

(message missing)

FreeBSD mod_perl2 patches
Lars Eggert 10:12 on 30 Nov 2004

Re: FreeBSD mod_perl2 patches
Stas Bekman 15:55 on 30 Nov 2004

Re: FreeBSD mod_perl2 patches
Lars Eggert 16:30 on 30 Nov 2004

Re: FreeBSD mod_perl2 patches
Stas Bekman 17:33 on 30 Nov 2004

mod_perl2 on my FreeBSD
cglee 19:17 on 30 Nov 2004

Re: mod_perl2 on my FreeBSD
Lars Eggert 10:16 on 01 Dec 2004

Re: mod_perl2 on my FreeBSD
cglee 19:37 on 01 Dec 2004

Re: FreeBSD mod_perl2 patches
Lars Eggert 10:05 on 01 Dec 2004

Re: FreeBSD mod_perl2 patches
Stas Bekman 14:46 on 01 Dec 2004

Re: mod_perl2 on my FreeBSD
Stas Bekman 14:47 on 01 Dec 2004

Re: mod_perl2 on my FreeBSD
Lars Eggert 21:24 on 01 Dec 2004

Re: mod_perl2 on my FreeBSD
Stas Bekman 21:29 on 01 Dec 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52