Darrick,

The DAHDI perl scripts appear to be as follows...
--
pbx ~ # du -h /usr/sbin/dahdi_genconf /usr/sbin/dahdi_hardware 
/usr/sbin/dahdi_registration
8.0k    /usr/sbin/dahdi_genconf
8.0k    /usr/sbin/dahdi_hardware
4.0k    /usr/sbin/dahdi_registration
--
pbx ~ # du -h /usr/local/share/perl/5.10.0
32.0k   /usr/local/share/perl/5.10.0/Dahdi/Xpp
20.0k   /usr/local/share/perl/5.10.0/Dahdi/Hardware
40.0k   /usr/local/share/perl/5.10.0/Dahdi/Config/Gen
52.0k   /usr/local/share/perl/5.10.0/Dahdi/Config
144.0k  /usr/local/share/perl/5.10.0/Dahdi
148.0k  /usr/local/share/perl/5.10.0
--

The micoperl we include is about 1MB in size, and does so little. :-(

Though, in this case, we would have to patch the scripts to write to the proper 
locations if micorperl worked.

Lonnie

On Feb 14, 2010, at 8: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
> 
> 
> -- 
> Darrick Hartman
> DJH Solutions, LLC
> http://www.djhsolutions.com
> 


------------------------------------------------------------------------------
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