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@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?
Thanks, Gene Poole
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@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
I just installed this myself the other day on Centos 5.4 and it went fine.
[root@sandbox1 ~]# find /usr -name Setup.pm /usr/lib64/dirsrv/perl/Setup.pm [root@sandbox1 ~]# rpm -qf /usr/lib64/dirsrv/perl/Setup.pm centos-ds-base-8.1.0-0.14.el5.centos.2 [root@sandbox1 ~]# cat /etc/redhat-release CentOS release 5.4 (Final) [root@sandbox1 ~]#