Hi,all: Today I want to install the 389 directory server ,but I don''t connect the network,so I can''t install it via yum command . So i install it via install some rpm packages of the 389-ds from the" http://directory.fedoraproject.org/yum/dirsrv-testing/fedora/6/i386/RPMS/" and run the "rpm -ivh xxx" in my terminal . But when I run "setup-ds-admin.pl" ,the screen displays the following error: [root@foo bin]# setup-ds-admin.pl Can''t locate Mozilla/LDAP/Conn.pm in @INC (@INC contains: /usr/lib/dirsrv/perl /usr/local/lib/perl5/site_ perl/5.11.1/i686-linux /usr/local/lib/perl5/site_perl/5.11.1 /usr/local/lib/perl5/5.11.1/i686-linux /usr/local/lib/perl5/5.11.1 .) at /usr/lib/dirsrv/perl/Setup.pm line 62. BEGIN failed--compilation aborted at /usr/lib/dirsrv/perl/Setup.pm line 62. Compilation failed in require at /usr/sbin/setup-ds-admin.pl line 24. BEGIN failed--compilation aborted at /usr/sbin/setup-ds-admin.pl line 24. Maybe is it the perl version error? BTM , my perl version is perl -5.11.1 I search the Internet for a long time , but have no useful information about it ~ Could someone help me ? Thanks in advance ~
Juan Asensio Sánchez
2009-Dec-01 13:37 UTC
Re: [389-users] About the 389 ds install error on CentOS i686
yum install perl-Mozilla-LDAP 2009/12/1 Majian <jiannma@gmail.com>:> Hi,all: > > Today I want to install the 389 directory server ,but I don''t connect the > network,so I can''t install it via yum command . > > So i install it via install some rpm packages of the 389-ds from the" > http://directory.fedoraproject.org/yum/dirsrv-testing/fedora/6/i386/RPMS/" > and run the "rpm -ivh xxx" in my terminal . > > But when I run "setup-ds-admin.pl" ,the screen displays the following > error: > > > [root@foo bin]# setup-ds-admin.pl > Can''t locate Mozilla/LDAP/Conn.pm in @INC (@INC contains: > /usr/lib/dirsrv/perl /usr/local/lib/perl5/site_ > perl/5.11.1/i686-linux > /usr/local/lib/perl5/site_perl/5.11.1 > /usr/local/lib/perl5/5.11.1/i686-linux /usr/local/lib/perl5/5.11.1 .) at > /usr/lib/dirsrv/perl/Setup.pm line 62. > BEGIN failed--compilation aborted at /usr/lib/dirsrv/perl/Setup.pm line 62. > Compilation failed in require at /usr/sbin/setup-ds-admin.pl line 24. > BEGIN failed--compilation aborted at /usr/sbin/setup-ds-admin.pl line 24. > > > Maybe is it the perl version error? BTM , my perl version is perl -5.11.1 > > > I search the Internet for a long time , but have no useful information about > it ~ > > Could someone help me ? > > Thanks in advance ~ > > -- > 389 users mailing list > 389-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users > >
Majian
2009-Dec-02 00:48 UTC
Re: [389-users] About the 389 ds install error on CentOS i686
Thanks ~ But after I installed the perl-Mozilla-LDAP package ,the screen said "the package has been installed ". 2009/12/1 Juan Asensio Sánchez <okelet@gmail.com>> yum install perl-Mozilla-LDAP > > 2009/12/1 Majian <jiannma@gmail.com>: > > Hi,all: > > > > Today I want to install the 389 directory server ,but I don''t connect the > > network,so I can''t install it via yum command . > > > > So i install it via install some rpm packages of the 389-ds from the" > > > http://directory.fedoraproject.org/yum/dirsrv-testing/fedora/6/i386/RPMS/" > > and run the "rpm -ivh xxx" in my terminal . > > > > But when I run "setup-ds-admin.pl" ,the screen displays the following > > error: > > > > > > [root@foo bin]# setup-ds-admin.pl > > Can''t locate Mozilla/LDAP/Conn.pm in @INC (@INC contains: > > /usr/lib/dirsrv/perl /usr/local/lib/perl5/site_ > > perl/5.11.1/i686-linux > > /usr/local/lib/perl5/site_perl/5.11.1 > > /usr/local/lib/perl5/5.11.1/i686-linux /usr/local/lib/perl5/5.11.1 .) at > > /usr/lib/dirsrv/perl/Setup.pm line 62. > > BEGIN failed--compilation aborted at /usr/lib/dirsrv/perl/Setup.pm line > 62. > > Compilation failed in require at /usr/sbin/setup-ds-admin.pl line 24. > > BEGIN failed--compilation aborted at /usr/sbin/setup-ds-admin.pl line > 24. > > > > > > Maybe is it the perl version error? BTM , my perl version is perl -5.11.1 > > > > > > I search the Internet for a long time , but have no useful information > about > > it ~ > > > > Could someone help me ? > > > > Thanks in advance ~ > > > > -- > > 389 users mailing list > > 389-users@redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > > > > -- > 389 users mailing list > 389-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
Rich Megginson
2009-Dec-02 01:58 UTC
Re: [389-users] About the 389 ds install error on CentOS i686
Majian wrote:> Thanks ~ > > But after I installed the perl-Mozilla-LDAP package ,the screen said > "the package has been installed ". > > > > 2009/12/1 Juan Asensio Sánchez <okelet@gmail.com > <mailto:okelet@gmail.com>> > > yum install perl-Mozilla-LDAP > > 2009/12/1 Majian <jiannma@gmail.com <mailto:jiannma@gmail.com>>: > > Hi,all: > > > > Today I want to install the 389 directory server ,but I don''t > connect the > > network,so I can''t install it via yum command . > > > > So i install it via install some rpm packages of the 389-ds > from the" > > > http://directory.fedoraproject.org/yum/dirsrv-testing/fedora/6/i386/RPMS/" > > and run the "rpm -ivh xxx" in my terminal . > > > > But when I run "setup-ds-admin.pl <http://setup-ds-admin.pl>" > ,the screen displays the following > > error: > > > > > > [root@foo bin]# setup-ds-admin.pl <http://setup-ds-admin.pl> > > Can''t locate Mozilla/LDAP/Conn.pm in @INC (@INC contains: > > /usr/lib/dirsrv/perl /usr/local/lib/perl5/site_ > > perl/5.11.1/i686-linux > > /usr/local/lib/perl5/site_perl/5.11.1 > > /usr/local/lib/perl5/5.11.1/i686-linux > /usr/local/lib/perl5/5.11.1 .) at > > /usr/lib/dirsrv/perl/Setup.pm line 62. > > BEGIN failed--compilation aborted at > /usr/lib/dirsrv/perl/Setup.pm line 62. > > Compilation failed in require at /usr/sbin/setup-ds-admin.pl > <http://setup-ds-admin.pl> line 24. > > BEGIN failed--compilation aborted at /usr/sbin/setup-ds-admin.pl > <http://setup-ds-admin.pl> line 24. > > > > > > Maybe is it the perl version error? BTM , my perl version is > perl -5.11.1 >Yes, that''s likely the problem. What platform are you running?> > > > > > > I search the Internet for a long time , but have no useful > information about > > it ~ > > > > Could someone help me ? > > > > Thanks in advance ~ > > > > -- > > 389 users mailing list > > 389-users@redhat.com <mailto:389-users@redhat.com> > > https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > > > > -- > 389 users mailing list > 389-users@redhat.com <mailto:389-users@redhat.com> > https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > ------------------------------------------------------------------------ > > -- > 389 users mailing list > 389-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
Majian
2009-Dec-02 03:01 UTC
Re: [389-users] About the 389 ds install error on CentOS i686
I run the CentOS 5.3 i686 on my VirtulBox and the Host machine is CentOS 5.3 x86_64, The same problem is happened on the two platform . BTM , I search the website and find this : http://forums.sun.com/thread.jspa?threadID=5150322 On Wed, Dec 2, 2009 at 9:58 AM, Rich Megginson <rmeggins@redhat.com> wrote:> Majian wrote: > >> Thanks ~ >> >> But after I installed the perl-Mozilla-LDAP package ,the screen said "the >> package has been installed ". >> >> >> >> 2009/12/1 Juan Asensio Sánchez <okelet@gmail.com <mailto:okelet@gmail.com >> >> >> >> >> yum install perl-Mozilla-LDAP >> >> 2009/12/1 Majian <jiannma@gmail.com <mailto:jiannma@gmail.com>>: >> >> > Hi,all: >> > >> > Today I want to install the 389 directory server ,but I don''t >> connect the >> > network,so I can''t install it via yum command . >> > >> > So i install it via install some rpm packages of the 389-ds >> from the" >> > >> >> http://directory.fedoraproject.org/yum/dirsrv-testing/fedora/6/i386/RPMS/ >> " >> > and run the "rpm -ivh xxx" in my terminal . >> > >> > But when I run "setup-ds-admin.pl <http://setup-ds-admin.pl>" >> >> ,the screen displays the following >> > error: >> > >> > >> > [root@foo bin]# setup-ds-admin.pl <http://setup-ds-admin.pl> >> >> > Can''t locate Mozilla/LDAP/Conn.pm in @INC (@INC contains: >> > /usr/lib/dirsrv/perl /usr/local/lib/perl5/site_ >> > perl/5.11.1/i686-linux >> > /usr/local/lib/perl5/site_perl/5.11.1 >> > /usr/local/lib/perl5/5.11.1/i686-linux >> /usr/local/lib/perl5/5.11.1 .) at >> > /usr/lib/dirsrv/perl/Setup.pm line 62. >> > BEGIN failed--compilation aborted at >> /usr/lib/dirsrv/perl/Setup.pm line 62. >> > Compilation failed in require at /usr/sbin/setup-ds-admin.pl >> <http://setup-ds-admin.pl> line 24. >> >> > BEGIN failed--compilation aborted at /usr/sbin/setup-ds-admin.pl >> <http://setup-ds-admin.pl> line 24. >> >> > >> > >> > Maybe is it the perl version error? BTM , my perl version is >> perl -5.11.1 >> >> > Yes, that''s likely the problem. What platform are you running? > >> >> > >> > >> > I search the Internet for a long time , but have no useful >> information about >> > it ~ >> > >> > Could someone help me ? >> > >> > Thanks in advance ~ >> > >> > -- >> > 389 users mailing list >> > 389-users@redhat.com <mailto:389-users@redhat.com> >> >> > https://www.redhat.com/mailman/listinfo/fedora-directory-users >> > >> > >> >> -- >> 389 users mailing list >> 389-users@redhat.com <mailto:389-users@redhat.com> >> >> https://www.redhat.com/mailman/listinfo/fedora-directory-users >> >> >> ------------------------------------------------------------------------ >> >> -- >> 389 users mailing list >> 389-users@redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-directory-users >> >> > > > > -- > 389 users mailing list > 389-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users > >
Rich Megginson
2009-Dec-02 03:31 UTC
Re: [389-users] About the 389 ds install error on CentOS i686
Majian wrote:> I run the CentOS 5.3 i686 on my VirtulBox and the Host machine is > CentOS 5.3 x86_64, > The same problem is happened on the two platform . > > BTM , > I search the website and find this : > http://forums.sun.com/thread.jspa?threadID=5150322 >Ok. The problem is that perldap was compiled with perl 5.8 or perl 5.10, and now the system is using perl 5.11, and the location of the perldap files (e.g. /usr/lib/perl5/site_perl/5.8.8) is no longer in the default perl search path. perldap needs to be rebuilt - please file a bug at https://bugzilla.redhat.com/enter_bug.cgi?product=389 Weird, though, is that the Red Hat build of perl by default will look for the older versions: -R Disables the Red Hat module compatibility arch search path exten- sion. With -V:inc_version_list set, perl searches for previous versions’ instances of -V:sitelib and -V:vendorlib. Each of the directories found is added to the default search patch @INC. The Red Hat port of perl additionaly searches for previous ver- sions’ instances of -V:sitearch and -V:vendorarch, to provide com- patibility for binary modules installed under previous perl ver- sions. To disable this Red Hat-specific extension, use -R. what does rpm -ql perl-Mozilla-LDAP say? In the meantime, you might try setting PERL5LIB - see "man perlrun" - look for PERL5LIB> > On Wed, Dec 2, 2009 at 9:58 AM, Rich Megginson <rmeggins@redhat.com > <mailto:rmeggins@redhat.com>> wrote: > > Majian wrote: > > Thanks ~ > > But after I installed the perl-Mozilla-LDAP package ,the > screen said "the package has been installed ". > > > > 2009/12/1 Juan Asensio Sánchez <okelet@gmail.com > <mailto:okelet@gmail.com> <mailto:okelet@gmail.com > <mailto:okelet@gmail.com>>> > > > yum install perl-Mozilla-LDAP > > 2009/12/1 Majian <jiannma@gmail.com <mailto:jiannma@gmail.com> > <mailto:jiannma@gmail.com <mailto:jiannma@gmail.com>>>: > > > Hi,all: > > > > Today I want to install the 389 directory server ,but I don''t > connect the > > network,so I can''t install it via yum command . > > > > So i install it via install some rpm packages of the 389-ds > from the" > > > http://directory.fedoraproject.org/yum/dirsrv-testing/fedora/6/i386/RPMS/" > > and run the "rpm -ivh xxx" in my terminal . > > > > But when I run "setup-ds-admin.pl <http://setup-ds-admin.pl> > <http://setup-ds-admin.pl>" > > ,the screen displays the following > > error: > > > > > > [root@foo bin]# setup-ds-admin.pl <http://setup-ds-admin.pl> > <http://setup-ds-admin.pl> > > > Can''t locate Mozilla/LDAP/Conn.pm in @INC (@INC contains: > > /usr/lib/dirsrv/perl /usr/local/lib/perl5/site_ > > perl/5.11.1/i686-linux > > /usr/local/lib/perl5/site_perl/5.11.1 > > /usr/local/lib/perl5/5.11.1/i686-linux > /usr/local/lib/perl5/5.11.1 .) at > > /usr/lib/dirsrv/perl/Setup.pm line 62. > > BEGIN failed--compilation aborted at > /usr/lib/dirsrv/perl/Setup.pm line 62. > > Compilation failed in require at /usr/sbin/setup-ds-admin.pl > <http://setup-ds-admin.pl> > <http://setup-ds-admin.pl> line 24. > > > BEGIN failed--compilation aborted at > /usr/sbin/setup-ds-admin.pl <http://setup-ds-admin.pl> > <http://setup-ds-admin.pl> line 24. > > > > > > > Maybe is it the perl version error? BTM , my perl version is > perl -5.11.1 > > > Yes, that''s likely the problem. What platform are you running? > > > > > > > > I search the Internet for a long time , but have no useful > information about > > it ~ > > > > Could someone help me ? > > > > Thanks in advance ~ > > > > -- > > 389 users mailing list > > 389-users@redhat.com <mailto:389-users@redhat.com> > <mailto:389-users@redhat.com <mailto:389-users@redhat.com>> > > > https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > > > > -- > 389 users mailing list > 389-users@redhat.com <mailto:389-users@redhat.com> > <mailto:389-users@redhat.com <mailto:389-users@redhat.com>> > > https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > ------------------------------------------------------------------------ > > -- > 389 users mailing list > 389-users@redhat.com <mailto:389-users@redhat.com> > https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > > > -- > 389 users mailing list > 389-users@redhat.com <mailto:389-users@redhat.com> > https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > ------------------------------------------------------------------------ > > -- > 389 users mailing list > 389-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >