Fedora Directory Server 1.1 Beta is now available.
See http://directory.fedoraproject.org/wiki/Release_Notes for information.
Where can I find the sources?
I've had a look through the wiki and cant locate them
Thank You
Anthony
Anthony Giggins wrote:
Where can I find the sources?
I've had a look through the wiki and cant locate them
You can grab them from the source RPMS - just edit the yum .repo (idmcommon.repo and dirsrv.repo) files and change RPMS to SRPMS
For the fedora-ds-base sources, the sources are available from the Fedora SRPM repo
Thank You
Anthony
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Richard Megginson wrote:
You can grab them from the source RPMS - just edit the yum .repo (idmcommon.repo and dirsrv.repo) files and change RPMS to SRPMS
For the fedora-ds-base sources, the sources are available from the Fedora SRPM repo
What about for other distributions like CENTOS 5.0?
Anthony
Anthony Giggins wrote:
Richard Megginson wrote:
You can grab them from the source RPMS - just edit the yum .repo (idmcommon.repo and dirsrv.repo) files and change RPMS to SRPMS
For the fedora-ds-base sources, the sources are available from the Fedora SRPM repo
What about for other distributions like CENTOS 5.0?
For CentOS 5.0, you should be able to use the Fedora 6 binaries, with one caveat: Only Red Hat EL 5.1 includes all of the necessary packages. So if/when CentOS 5.1 is released, you should be ok. If you really want to run on CentOS 5.0, you will have to grab the packages for svrcore, mozldap, and perl-Mozilla-LDAP from Fedora 6 and install them on CentOS 5.0. These packages are included with RHEL 5.1, so should also be included with CentOS 5.1
Anthony
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
-----Original Message----- From: fedora-directory-users-bounces@redhat.com [mailto:fedora-directory-users-bounces@redhat.com] On Behalf Of Richard Megginson Sent: Thursday, 29 November 2007 1:15 PM To: General discussion list for the Fedora Directory server project. Subject: Re: [Fedora-directory-users] Announcing Fedora DirectoryServer 1.1Beta
Anthony Giggins wrote:
Richard Megginson wrote:
You can grab them from the source RPMS - just edit the yum .repo (idmcommon.repo and dirsrv.repo) files and change RPMS to SRPMS
For the fedora-ds-base sources, the sources are available from the Fedora SRPM repo
What about for other distributions like CENTOS 5.0?
For CentOS 5.0, you should be able to use the Fedora 6 binaries, with one caveat: Only Red Hat EL 5.1 includes all of the necessary packages.
So if/when CentOS 5.1 is released, you should be ok. If you really want
to run on CentOS 5.0, you will have to grab the packages for svrcore, mozldap, and perl-Mozilla-LDAP from Fedora 6 and install them on CentOS 5.0. These packages are included with RHEL 5.1, so should also be included with CentOS 5.1
Anthony
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Still getting repos errors
http://directory.fedoraproject.org/yum/idmcommon/fedora/5/x86_64/RPMS/re podata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. Error: Cannot open/read repomd.xml file for repository: idmcommon
Same with SRPMS
http://directory.fedoraproject.org/yum/idmcommon/fedora/5/x86_64/SRPMS/r epodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. Error: Cannot open/read repomd.xml file for repository: idmcommon
Will there be any dsbuild for version 1.1?
Anthony Giggins wrote:
-----Original Message----- From: fedora-directory-users-bounces@redhat.com [mailto:fedora-directory-users-bounces@redhat.com] On Behalf Of Richard Megginson Sent: Thursday, 29 November 2007 1:15 PM To: General discussion list for the Fedora Directory server project. Subject: Re: [Fedora-directory-users] Announcing Fedora DirectoryServer 1.1Beta
Anthony Giggins wrote:
Richard Megginson wrote:
You can grab them from the source RPMS - just edit the yum .repo (idmcommon.repo and dirsrv.repo) files and change RPMS to SRPMS
For the fedora-ds-base sources, the sources are available from the Fedora SRPM repo
What about for other distributions like CENTOS 5.0?
For CentOS 5.0, you should be able to use the Fedora 6 binaries, with one caveat: Only Red Hat EL 5.1 includes all of the necessary packages.
So if/when CentOS 5.1 is released, you should be ok. If you really want
to run on CentOS 5.0, you will have to grab the packages for svrcore, mozldap, and perl-Mozilla-LDAP from Fedora 6 and install them on CentOS 5.0. These packages are included with RHEL 5.1, so should also be included with CentOS 5.1
Anthony
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Still getting repos errors
If you really want to do this on centos 5, you'll have to edit the .repo files to change $releasever to 6 - otherwise, it thinks the releasever is 5 because you're on centos 5.
http://directory.fedoraproject.org/yum/idmcommon/fedora/5/x86_64/RPMS/re podata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. Error: Cannot open/read repomd.xml file for repository: idmcommon
Same with SRPMS
http://directory.fedoraproject.org/yum/idmcommon/fedora/5/x86_64/SRPMS/r epodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. Error: Cannot open/read repomd.xml file for repository: idmcommon
Will there be any dsbuild for version 1.1?
No, probably not. configure && make is pretty easy. However, if there is enough hue and cry from the developer community, we will consider it.
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Richard Megginson wrote: No, probably not. configure && make is pretty easy. However, if
there
is enough hue and cry from the developer community, we will consider
it.
Silly question where can I download the sources It not obvious to me where they are on http://directory.fedoraproject.org/sources/
Anthony Giggins wrote:
Richard Megginson wrote: No, probably not. configure && make is pretty easy. However, if
there
is enough hue and cry from the developer community, we will consider
it.
Silly question where can I download the sources It not obvious to me where they are on http://directory.fedoraproject.org/sources/
They are not in sources, but you can extract them from the source RPMs (SRPMS): e.g. here is the srpm for the fedora-ds-admin package - http://directory.fedoraproject.org/yum/dirsrv/fedora/6/i386/SRPMS/fedora-ds-... use rpm2cpio file.src.rpm | cpio -i to extract the source .tar.bz2 from the srpm.
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
I am trying to build the beta version on Free BSD, but I am getting the following error The LDAPSDK version in -I/usr/local/include/ldap-standard.h The ldapsdk version is ldapsdk-1998.12.31_1 I remember seeing here that the rpm is only available in the latest redhat or fedora. Can someone give me the name of the source rpm package so that I can try building this? Is the ldapsdk even necessary?
----- Original Message ----- From: "Richard Megginson" rmeggins@redhat.com To: "General discussion list for the Fedora Directory server project." fedora-directory-users@redhat.com Sent: Thursday, November 29, 2007 6:11:53 AM (GMT-0800) America/Los_Angeles Subject: Re: [Fedora-directory-users] Announcing Fedora DirectoryServer 1.1Beta
Anthony Giggins wrote:
Richard Megginson wrote: No, probably not. configure && make is pretty easy. However, if
there
is enough hue and cry from the developer community, we will consider
it.
Silly question where can I download the sources It not obvious to me where they are on http://directory.fedoraproject.org/sources/
They are not in sources, but you can extract them from the source RPMs (SRPMS): e.g. here is the srpm for the fedora-ds-admin package - http://directory.fedoraproject.org/yum/dirsrv/fedora/6/i386/SRPMS/fedora-ds-... use rpm2cpio file.src.rpm | cpio -i to extract the source .tar.bz2 from the srpm.
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Jared B. Griffith wrote:
I am trying to build the beta version on Free BSD, but I am getting the following error The LDAPSDK version in -I/usr/local/include/ldap-standard.h The ldapsdk version is ldapsdk-1998.12.31_1 I remember seeing here that the rpm is only available in the latest redhat or fedora. Can someone give me the name of the source rpm package so that I can try building this? Is the ldapsdk even necessary?
Yes, it is definitely necessary. What version of Free BSD? Does that have Mozilla nspr and nss, as separate packages (i.e. not bundled witih Firefox) with the headers? If not, you'll have to start with nspr and nss: ftp://ftp.mozilla.org/pub/nspr/releases/v4.6.7/src ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_3_11_7_RTM/src
Then svrcore: ftp://ftp.mozilla.org/pub/directory/svrcore/releases/4.0.4/src
mozldap (Mozilla LDAP SDK) also requires cyrus-sasl, which I assume is already available.
The mozldap source code is here - ftp://ftp.mozilla.org/pub/directory/c-sdk/releases/v6.0.4/src
If you would rather have a source RPM, you can get the mozldap source rpm from any fedora mirror e.g. http://mirrors.kernel.org/fedora/releases/8/Everything/source/SRPMS/mozldap-...
The srpms for the other components (nspr, nss, etc.) are also available from the same location.
----- Original Message ----- From: "Richard Megginson" rmeggins@redhat.com To: "General discussion list for the Fedora Directory server project." fedora-directory-users@redhat.com Sent: Thursday, November 29, 2007 6:11:53 AM (GMT-0800) America/Los_Angeles Subject: Re: [Fedora-directory-users] Announcing Fedora DirectoryServer 1.1Beta
Anthony Giggins wrote:
Richard Megginson wrote: No, probably not. configure && make is pretty easy. However, if
there
is enough hue and cry from the developer community, we will consider
it.
Silly question where can I download the sources It not obvious to me where they are on http://directory.fedoraproject.org/sources/
They are not in sources, but you can extract them from the source RPMs (SRPMS): e.g. here is the srpm for the fedora-ds-admin package - http://directory.fedoraproject.org/yum/dirsrv/fedora/6/i386/SRPMS/fedora-ds-... use rpm2cpio file.src.rpm | cpio -i to extract the source .tar.bz2 from the srpm.
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
--
- Thank you,
- Jared B. Griffith
- Farheap Solutions, Inc.
- Lead Systems Administrator
- California IT Department
- Email - jared.griffith@farheap.com
- Phone - 949.417.1500 ext. 266
- Cell Phone - 949.910.6542
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
I am trying to build on 7.0 beta, but I am going to actually build on 6.2 as well. Yes BSD does have nss and nspr (as separate packages), and both are installed already, I just have to put the location with the config option as well as the sasl library. I think I am going to go with the source rpms from that location just to make sure I have the proper versions.
----- Original Message ----- From: "Rich Megginson" rmeggins@redhat.com To: "Jared B. Griffith" jared.griffith@farheap.com, "General discussion list for the Fedora Directory server project." fedora-directory-users@redhat.com Sent: Tuesday, December 4, 2007 6:44:52 AM (GMT-0800) America/Los_Angeles Subject: Re: [Fedora-directory-users] Announcing Fedora DirectoryServer 1.1Beta
Jared B. Griffith wrote:
I am trying to build the beta version on Free BSD, but I am getting the following error The LDAPSDK version in -I/usr/local/include/ldap-standard.h The ldapsdk version is ldapsdk-1998.12.31_1 I remember seeing here that the rpm is only available in the latest redhat or fedora. Can someone give me the name of the source rpm package so that I can try building this? Is the ldapsdk even necessary?
Yes, it is definitely necessary. What version of Free BSD? Does that have Mozilla nspr and nss, as separate packages (i.e. not bundled witih Firefox) with the headers? If not, you'll have to start with nspr and nss: ftp://ftp.mozilla.org/pub/nspr/releases/v4.6.7/src ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_3_11_7_RTM/src
Then svrcore: ftp://ftp.mozilla.org/pub/directory/svrcore/releases/4.0.4/src
mozldap (Mozilla LDAP SDK) also requires cyrus-sasl, which I assume is already available.
The mozldap source code is here - ftp://ftp.mozilla.org/pub/directory/c-sdk/releases/v6.0.4/src
If you would rather have a source RPM, you can get the mozldap source rpm from any fedora mirror e.g. http://mirrors.kernel.org/fedora/releases/8/Everything/source/SRPMS/mozldap-...
The srpms for the other components (nspr, nss, etc.) are also available from the same location.
----- Original Message ----- From: "Richard Megginson" rmeggins@redhat.com To: "General discussion list for the Fedora Directory server project." fedora-directory-users@redhat.com Sent: Thursday, November 29, 2007 6:11:53 AM (GMT-0800) America/Los_Angeles Subject: Re: [Fedora-directory-users] Announcing Fedora DirectoryServer 1.1Beta
Anthony Giggins wrote:
Richard Megginson wrote: No, probably not. configure && make is pretty easy. However, if
there
is enough hue and cry from the developer community, we will consider
it.
Silly question where can I download the sources It not obvious to me where they are on http://directory.fedoraproject.org/sources/
They are not in sources, but you can extract them from the source RPMs (SRPMS): e.g. here is the srpm for the fedora-ds-admin package - http://directory.fedoraproject.org/yum/dirsrv/fedora/6/i386/SRPMS/fedora-ds-... use rpm2cpio file.src.rpm | cpio -i to extract the source .tar.bz2 from the srpm.
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
--
- Thank you,
- Jared B. Griffith
- Farheap Solutions, Inc.
- Lead Systems Administrator
- California IT Department
- Email - jared.griffith@farheap.com
- Phone - 949.417.1500 ext. 266
- Cell Phone - 949.910.6542
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
Jared B. Griffith wrote:
I am trying to build on 7.0 beta, but I am going to actually build on 6.2 as well. Yes BSD does have nss and nspr (as separate packages), and both are installed already, I just have to put the location with the config option as well as the sasl library. I think I am going to go with the source rpms from that location just to make sure I have the proper versions.
The spec file in the source rpm also contains the configure/build arguments which should mostly be applicable to bsd.
----- Original Message ----- From: "Rich Megginson" rmeggins@redhat.com To: "Jared B. Griffith" jared.griffith@farheap.com, "General discussion list for the Fedora Directory server project." fedora-directory-users@redhat.com Sent: Tuesday, December 4, 2007 6:44:52 AM (GMT-0800) America/Los_Angeles Subject: Re: [Fedora-directory-users] Announcing Fedora DirectoryServer 1.1Beta
Jared B. Griffith wrote:
I am trying to build the beta version on Free BSD, but I am getting the following error The LDAPSDK version in -I/usr/local/include/ldap-standard.h The ldapsdk version is ldapsdk-1998.12.31_1 I remember seeing here that the rpm is only available in the latest redhat or fedora. Can someone give me the name of the source rpm package so that I can try building this? Is the ldapsdk even necessary?
Yes, it is definitely necessary. What version of Free BSD? Does that have Mozilla nspr and nss, as separate packages (i.e. not bundled witih Firefox) with the headers? If not, you'll have to start with nspr and nss: ftp://ftp.mozilla.org/pub/nspr/releases/v4.6.7/src ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_3_11_7_RTM/src
Then svrcore: ftp://ftp.mozilla.org/pub/directory/svrcore/releases/4.0.4/src
mozldap (Mozilla LDAP SDK) also requires cyrus-sasl, which I assume is already available.
The mozldap source code is here - ftp://ftp.mozilla.org/pub/directory/c-sdk/releases/v6.0.4/src
If you would rather have a source RPM, you can get the mozldap source rpm from any fedora mirror e.g. http://mirrors.kernel.org/fedora/releases/8/Everything/source/SRPMS/mozldap-...
The srpms for the other components (nspr, nss, etc.) are also available from the same location.
----- Original Message ----- From: "Richard Megginson" rmeggins@redhat.com To: "General discussion list for the Fedora Directory server project." fedora-directory-users@redhat.com Sent: Thursday, November 29, 2007 6:11:53 AM (GMT-0800) America/Los_Angeles Subject: Re: [Fedora-directory-users] Announcing Fedora DirectoryServer 1.1Beta
Anthony Giggins wrote:
Richard Megginson wrote: No, probably not. configure && make is pretty easy. However, if
there
is enough hue and cry from the developer community, we will consider
it.
Silly question where can I download the sources It not obvious to me where they are on http://directory.fedoraproject.org/sources/
They are not in sources, but you can extract them from the source RPMs (SRPMS): e.g. here is the srpm for the fedora-ds-admin package -
http://directory.fedoraproject.org/yum/dirsrv/fedora/6/i386/SRPMS/fedora-ds-...
use rpm2cpio file.src.rpm | cpio -i to extract the source .tar.bz2 from the srpm.
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
--
- Thank you,
- Jared B. Griffith
- Farheap Solutions, Inc.
- Lead Systems Administrator
- California IT Department
- Email - jared.griffith@farheap.com
- Phone - 949.417.1500 ext. 266
- Cell Phone - 949.910.6542
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
--
- Thank you,
- Jared B. Griffith
- Farheap Solutions, Inc.
- Lead Systems Administrator
- California IT Department
- Email - jared.griffith@farheap.com
- Phone - 949.417.1500 ext. 266
- Cell Phone - 949.910.6542
I resorted to installing it on FreeBSD 6.2 and concentrating on that rather than working on the test server that I was installing on. I ended up using the ports versions of nss and nspr since the source installs of those packages from the Mozilla sites were, well, difficult at best to install. I did end up getting svrcore source installed by using the source from Mozilla. This was easy and went flawlessly as long as you provide all the configure options as to where nss and nspr (include and lib) directories are located. Now I am at the c-sdk package (I am using the one I got out of the source ldapsdk rpm). I am using that one since the sdk from Mozilla seemed a bit beyond my source compilation experience (which I am a bit out of practice since we mainly concentrate on what is available from the upstream providers - either from Gentoo or FreeBSD, a bit of company policy). I am using the configure script, and throwing as many configure options as humanly possible (since I want to make sure it doesn't overwrite the current ldap header files and libraries). Configure finishes fine. I then use gmake rather than the normal make to build the source (since I am sure that it would be looking for gnu make, and running make just gives me a bunch of errors), it appears to build, which I am really just guessing on since there are no messages about either build errors or completion errors. There are some errors while it is building, but nothing fatal (some normal thread errors and what not). Since it appears that the gmake finishes completely, I then run gmake install (again, this finishes as the gmake does, with no error or completion messages). The problem I am seeing is that even though it seems like the configure, build, and install completed, it did not install any of the files into the directories I specified or anywhere else on the machine. Could I be missing something? Is it erroring out possibly? Do I need to copy the built files over to the directories that I want them in? Of course, not having the ldapsdk package installed means that I cannot install the fedora-ds. I am keeping track of what I am doing and would be happy to either give you a step by step of this or put it on the fedora-ds wiki if I am able to get this built correctly and running as it does on Gentoo and Centos. I would also like to update the Gentoo one, since that one is missing some important information that needs to be on there to get it running properly (though the web part of it doesn't run as it does when using the rpm build, not sure what is missing, but the Management console and the LDAP parts all work fine without error).
Thanks for all your help and pointers up until this point Rich. It's greatly appreciated.
----- Original Message ----- From: "Rich Megginson" rmeggins@redhat.com To: "Jared B. Griffith" jared.griffith@farheap.com Cc: "General discussion list for the Fedora Directory server project." fedora-directory-users@redhat.com Sent: Tuesday, December 4, 2007 8:54:14 AM (GMT-0800) America/Los_Angeles Subject: Re: [Fedora-directory-users] Announcing Fedora DirectoryServer 1.1Beta
Jared B. Griffith wrote:
I am trying to build on 7.0 beta, but I am going to actually build on 6.2 as well. Yes BSD does have nss and nspr (as separate packages), and both are installed already, I just have to put the location with the config option as well as the sasl library. I think I am going to go with the source rpms from that location just to make sure I have the proper versions.
The spec file in the source rpm also contains the configure/build arguments which should mostly be applicable to bsd.
----- Original Message ----- From: "Rich Megginson" rmeggins@redhat.com To: "Jared B. Griffith" jared.griffith@farheap.com, "General discussion list for the Fedora Directory server project." fedora-directory-users@redhat.com Sent: Tuesday, December 4, 2007 6:44:52 AM (GMT-0800) America/Los_Angeles Subject: Re: [Fedora-directory-users] Announcing Fedora DirectoryServer 1.1Beta
Jared B. Griffith wrote:
I am trying to build the beta version on Free BSD, but I am getting the following error The LDAPSDK version in -I/usr/local/include/ldap-standard.h The ldapsdk version is ldapsdk-1998.12.31_1 I remember seeing here that the rpm is only available in the latest redhat or fedora. Can someone give me the name of the source rpm package so that I can try building this? Is the ldapsdk even necessary?
Yes, it is definitely necessary. What version of Free BSD? Does that have Mozilla nspr and nss, as separate packages (i.e. not bundled witih Firefox) with the headers? If not, you'll have to start with nspr and nss: ftp://ftp.mozilla.org/pub/nspr/releases/v4.6.7/src ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_3_11_7_RTM/src
Then svrcore: ftp://ftp.mozilla.org/pub/directory/svrcore/releases/4.0.4/src
mozldap (Mozilla LDAP SDK) also requires cyrus-sasl, which I assume is already available.
The mozldap source code is here - ftp://ftp.mozilla.org/pub/directory/c-sdk/releases/v6.0.4/src
If you would rather have a source RPM, you can get the mozldap source rpm from any fedora mirror e.g. http://mirrors.kernel.org/fedora/releases/8/Everything/source/SRPMS/mozldap-...
The srpms for the other components (nspr, nss, etc.) are also available from the same location.
----- Original Message ----- From: "Richard Megginson" rmeggins@redhat.com To: "General discussion list for the Fedora Directory server project." fedora-directory-users@redhat.com Sent: Thursday, November 29, 2007 6:11:53 AM (GMT-0800) America/Los_Angeles Subject: Re: [Fedora-directory-users] Announcing Fedora DirectoryServer 1.1Beta
Anthony Giggins wrote:
Richard Megginson wrote: No, probably not. configure && make is pretty easy. However, if
there
is enough hue and cry from the developer community, we will consider
it.
Silly question where can I download the sources It not obvious to me where they are on http://directory.fedoraproject.org/sources/
They are not in sources, but you can extract them from the source RPMs (SRPMS): e.g. here is the srpm for the fedora-ds-admin package -
http://directory.fedoraproject.org/yum/dirsrv/fedora/6/i386/SRPMS/fedora-ds-...
use rpm2cpio file.src.rpm | cpio -i to extract the source .tar.bz2 from the srpm.
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
--
- Thank you,
- Jared B. Griffith
- Farheap Solutions, Inc.
- Lead Systems Administrator
- California IT Department
- Email - jared.griffith@farheap.com
- Phone - 949.417.1500 ext. 266
- Cell Phone - 949.910.6542
-- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users
--
- Thank you,
- Jared B. Griffith
- Farheap Solutions, Inc.
- Lead Systems Administrator
- California IT Department
- Email - jared.griffith@farheap.com
- Phone - 949.417.1500 ext. 266
- Cell Phone - 949.910.6542
Jared B. Griffith wrote:
I resorted to installing it on FreeBSD 6.2 and concentrating on that rather than working on the test server that I was installing on. I ended up using the ports versions of nss and nspr since the source installs of those packages from the Mozilla sites were, well, difficult at best to install. I did end up getting svrcore source installed by using the source from Mozilla. This was easy and went flawlessly as long as you provide all the configure options as to where nss and nspr (include and lib) directories are located. Now I am at the c-sdk package (I am using the one I got out of the source ldapsdk rpm). I am using that one since the sdk from Mozilla seemed a bit beyond my source compilation experience (which I am a bit out of practice since we mainly concentrate on what is available from the upstream providers - either from Gentoo or FreeBSD, a bit of company policy). I am using the configure script, and throwing as many configure options as humanly possible (since I want to make sure it doesn't overwrite the current ldap header files and libraries). Configure finishes fine. I then use gmake rather than the normal make to build the source (since I am sure that it would be looking for gnu make, and running make just gives me a bunch of errors), it appears to build, which I am really just guessing on since there are no messages about either build errors or completion errors. There are some errors while it is building, but nothing fatal (some normal thread errors and what not). Since it appears that the gmake finishes completely, I then run gmake install (again, this finishes as the gmake does, with no error or completion messages). The problem I am seeing is that even though it seems like the configure, build, and install completed, it did not install any of the files into the directories I specified or anywhere else on the machine. Could I be missing something? Is it erroring out possibly? Do I need to copy the built files over to the directories that I want them in? Of course, not having the ldapsdk package installed means that I cannot install the fedora-ds. I am keeping track of what I am doing and would be happy to either give you a step by step of this or put it on the fedora-ds wiki if I am able to get this built correctly and running as it does on Gentoo and Centos. I would also like to update the Gentoo one, since that one is missing some important information that needs to be on there to get it running properly (though the web part of it doesn't run as it does when using the rpm build, not sure what is missing, but the Management console and the LDAP parts all work fine without error).
Thanks for all your help and pointers up until this point Rich. It's greatly appreciated.
Unfortunately, the mozldap package configure doesn't work like regular autotool configure does - it doesn't honor --prefix, and make install doesn't work, neither does make DESTDIR=/path install. You have to install all of the files manually. If you have the srpm, take a look a the spec file, in the %install section. You'll see just what it does.
We might want to take this discussion off of the fedora-ds list and on to the dev-tech-ldap@lists.mozilla.org list. We also might want to update wiki.mozilla.org with this information about building on BSD.
389-users@lists.fedoraproject.org