I am building a new system and running into pathing problems.
Start with Centos 6.4 minimial install.
installed all the updates via yum update
yum install -y make wget openssl-devel ncurses-devel newt-devel libxml2-devel kernel-devel gcc gcc-c++ sqlite-devel
downloaded perl 5.18.1 from cpan and installed
downloaded dahdi-linux-complete-2.7.0+2.7.0 untared and ran make && make install && make config
so far everything went as planned
then service dahdi start - received the following on the console
Loading DAHDI hardware modules:
wct4xxp: [ OK ]
wcte12xp: [ OK ]
wct1xxp: [ OK ]
wcte11xp: [ OK ]
wctdm24xxp: [ OK ]
wcfxo: [ OK ]
wctdm: [ OK ]
wcb4xxp: [ OK ]
wctc4xxp: [ OK ]
xpp_usb: [ OK ]
Can’t locate Dahdi.pm in @INC (@INC contains: /usr/sbin /usr/sbin/perl_modules /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/sbin/dahdi_hardware line 15.
BEGIN failed–compilation aborted at /usr/sbin/dahdi_hardware line 15.
Can’t locate Dahdi.pm in @INC (@INC contains: /usr/sbin /usr/sbin/perl_modules /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/sbin/dahdi_registration line 14.
BEGIN failed–compilation aborted at /usr/sbin/dahdi_registration line 14.
Running dahdi_cfg: [ OK ]
Can’t locate Dahdi/Xpp.pm in @INC (@INC contains: /usr/sbin /usr/sbin/perl_modules /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/sbin/xpp_sync line 15.
BEGIN failed–compilation aborted at /usr/sbin/xpp_sync line 15.
[
a find gives
[root@wolverine /]# find -name Dahdi.pm
./usr/src/dahdi-linux-complete-2.7.0+2.7.0/tools/xpp/perl_modules/Dahdi.pm
./usr/local/lib/perl5/site_perl/5.18.1/Dahdi.pm
[root@wolverine /]#
Without changing the @INC and rebuilding perl is there any other solution?