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" <firstname.lastname@example.org>
To: "Jared B. Griffith" <email@example.com>
Cc: "General discussion list for the Fedora Directory server project." <firstname.lastname@example.org>
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" <email@example.com>
> To: "Jared B. Griffith" <firstname.lastname@example.org>, "General
> discussion list for the Fedora Directory server project."
> 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
> Then svrcore:
> mozldap (Mozilla LDAP SDK) also requires cyrus-sasl, which I assume is
> already available.
> The mozldap source code is here -
> If you would rather have a source RPM, you can get the mozldap source
> rpm from any fedora mirror e.g.
> The srpms for the other components (nspr, nss, etc.) are also available
> from the same location.
> > ----- Original Message -----
> > From: "Richard Megginson" <email@example.com>
> > To: "General discussion list for the Fedora Directory server project."
> > <firstname.lastname@example.org>
> > 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 -
> > use rpm2cpio file.src.rpm | cpio -i
> > to extract the source .tar.bz2 from the srpm.
> > >
> > > --
> > > Fedora-directory-users mailing list
> > > Fedoraemail@example.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 - firstname.lastname@example.org
> > - Phone - 949.417.1500 ext. 266
> > - Cell Phone - 949.910.6542
> > ------------------------------------------------------------------------
> > --
> > Fedora-directory-users mailing list
> > Fedoraemail@example.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 - firstname.lastname@example.org
> - Phone - 949.417.1500 ext. 266
> - Cell Phone - 949.910.6542
- Thank you,
- Jared B. Griffith
- Farheap Solutions, Inc.
- Lead Systems Administrator
- California IT Department
- Email - email@example.com
- Phone - 949.417.1500 ext. 266
- Cell Phone - 949.910.6542