[CentOS] CentOS-DS Configuration/Setup Issue

Fri Nov 20 15:09:07 UTC 2009
m.roth at 5-cent.us <m.roth at 5-cent.us>

> All,
>
> I'm running CentOS 5.4 and I've installed the CentOS Directory Server by
> running yum -y install centos-ds* without any errors.  But as soon as I
> attempt to run the setup I get the following:
>
> [root at jpdsys3 ~]# /usr/sbin/setup-ds-admin.pl
> Can't locate Setup.pm in @INC (@INC contains: /usr/lib64/dirsrv/perl
> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .)
> at /usr/sbin/setup-ds-admin.pl line 24.
> BEGIN failed--compilation aborted at /usr/sbin/setup-ds-admin.pl line 24.
>
> How can I find out what's missing?

I think it's Setup.pm. Some packages either don't have it, or it's pointed
to the wrong place, or they put it in a non-standard location, and the
perl environment can't find it. You can try setting that... I think the
variable name is PERL5LIB, so to set it would be
export PERL5LIB=$PERL5LIB:<your path here>

         mark