Return-Path: Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 34457 invoked by uid 500); 23 May 2003 04:26:06 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 34440 invoked from network); 23 May 2003 04:26:06 -0000 Received: from erato.logilune.com (HELO mail.logilune.com) (195.154.174.52) by daedalus.apache.org with SMTP; 23 May 2003 04:26:06 -0000 Received: from stason.org (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id 13ED078EEE; Fri, 23 May 2003 06:26:15 +0200 (CEST) Message-ID: <3ECDA2DE.7040709@stason.org> Date: Fri, 23 May 2003 14:26:06 +1000 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: Joe Schaefer , dev@perl.apache.org Subject: Re: APR::Table outside of modperl-2 References: <3ECDA222.7010804@stason.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Stas Bekman wrote: > Joe Schaefer wrote: > >> Is it possible to use APR::Table outside of modperl2? >> I've installed the latest modperl-2 from cvs, but no >> symbols seem to be loaded into APR::Table during use(): >> >> % perl -MApache2 -le 'use Apache::Table; print join ":", keys >> %{*APR::Table::{HASH}}' >> BEGIN:VERSION:import > > first of all s/Apache::Table/APR::Table/, second you have to preload APR > which boots the others: though I think that we weren't careful of not using any ap_ APIs in APR domain (and several of those places are marked XXX), so you are most likely to encounter segfaults and then we have to fix those ;) here is the first one: perl-blead-ithread -MApache2 -MAPR -le 'use APR::Table; use APR::Pool; \ $table = APR::Table::make(APR::Pool->new, 2);' Segmentation fault __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org