No, Dahdi is installing where Perl is telling it to:

pbx ~ # perl -V
Can't locate Config.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8 .).
BEGIN failed--compilation aborted.
pbx ~ #

And I'm not convinced that we're so hard up for space that adding more
Perl features wouldn't add value.

Let's try it in trunk, and see what it gets us.

If it's really an issue, we can scale it back again.

30MB?  Is that an actual number, or a guess?


On 02/16/2010 02:50 PM, Darrick Hartman wrote:
> This is Dahdi that's installing or attempting to install perl modules 
> into that directory.  We currently build mini-perl which does not 
> support modules.  I'm not convinced we really gain enough to add perl, 
> python or any other heavy scripting tools.
>
> Just because we could, doesn't mean we should.
>
> What specific gains would benefit adding 30MB to the image?  I looked at 
> possibly adding python, but again, is it worth adding 20MB for the 
> purpose of adding failtoban?  (in the case of failtoban, the benefit may 
> outweigh the extra size).
>
> At some point when you start including these large chunks, the goal of 
> the project is somewhat lost and the image is no longer lightweight.
>
> Darrick
>
> Philip A. Prindeville wrote:
>   
>> It's not *entirely* expected.
>>
>> We should not be using /usr/local for *anything*, since this
>> distribution is "canned" and lacks the capability of user-installed
>> packages.
>>
>> Can you please fix the perl build to install into /usr/lib/perl5 and not
>> /usr/local/lib/perl5?
>>
>> Also, with the cost of CF being what it is (we used to get 512MB of CF 2
>> years ago when I first got involved, for what we can now purchase
>> 4GB)... we can build a more complete perl.
>>
>> Bash is handy, but there are things that bash surely can't do (like
>> CGI's for autoconfiguring phones).
>>
>> We need to have a bigger perl install.
>>
>>
>> On 02/14/2010 06:08 PM, Darrick Hartman wrote:
>>     
>>> This is expected behavior.  Astlinux does not include full versions of 
>>> perl.  Therefore, it cannot load perl modules.  dahdi_genconf does not 
>>> function.  We should remove those perl scripts which depend on full 
>>> versions of perl, but short answer is you'll need to manually generate 
>>> the config files.  There are several sources for this information.
>>>
>>> If you tell us what hardware you are trying to use, we could get you 
>>> pointed in the right direction.
>>>
>>> Darrick
>>>
>>> On 02/14/2010 07:16 PM, Darren Grant wrote:
>>>   
>>>       
>>>> Astlinux 7 with Asterisk 1.4 (Gave up on 1.6), and will probably give up
>>>> on asterisk completely soon.
>>>>
>>>> dahdi_genconf -vvv generates the following error.
>>>>
>>>> Can't locate strict.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8
>>>> .) at /usr/sbin/dahdi_genconf line 10.
>>>>
>>>> Why oh why is asterisk so bad, I keep coming back to it now every couple
>>>> of years to try and get my head around it but fail every time, been
>>>> banging my head against this brick wall for about 6 years now and still
>>>> got nowhare.
>>>>
>>>> Regards
>>>> Darren
>>>>     
>>>>         
>>>   
>>>       
>>


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to