Many thanks for the new instructions, one point though is that you do need the "equivs" package installed. Had to install this on an Ubuntu 15.0.4 system and a Raspberry Pi Ubuntu-MATE system. However, still can't build packages, because I get dh_installdirs install -d debian/freeradius /usr/userfs/a/as1558/freeradius-server-3.0.x-290316/debian/freeradius.dirs: 1: /usr/userfs/a/as1558/freeradius-server-3.0.x-290316/debian/freeradius.dirs: usr/lib/freeradius: not found /usr/userfs/a/as1558/freeradius-server-3.0.x-290316/debian/freeradius.dirs: 2: /usr/userfs/a/as1558/freeradius-server-3.0.x-290316/debian/freeradius.dirs: var/log/freeradius: not found dh_installdirs: problem reading debian/freeradius.dirs: usr/lib/freeradius and var/log/freeradius don't exist under the FreeRadius source directory. If I create them, I then get a permission denied message. This happens on both the Ubuntu 15.04 VM and the Pi Ubuntu MATE systems. source downloaded from git today. Rgds Alex On 28 March 2016 at 01:06, Matthew Newton <mcn4@leicester.ac.uk> wrote:
Just a heads-up here as I know people often point at the Debian building instructions on the wiki.
I've done a little reorganising. The main "Build" page has been getting rather long, so I've separated the Debian build instructions off into the (already existing) "Debian" page. So Debian and Ubuntu now point there:
http://wiki.freeradius.org/building/Build
points to
http://wiki.freeradius.org/building/Debian
Essentially, the cluebat for "I'm using 2.1.12 on Debian" should now be http://wiki.freeradius.org/building/Debian
The build instructions now also include mk-build-deps to automatically install the build-deps, rather than using apt-get build-dep, which actually installs the build-deps for the version in the Debian repository (probably 2.1.12...) rather than (hopefully) 3.x. And I've removed some prehistoric stuff regarding OpenSSL from 2.1.8 or so.
I've also taken the liberty to expand that page to include instructions on building Debian Samba packages that include the libwbclient patches to enable direct communication with winbind. This is required because the latest version of Samba in Debian Jessie is still less than 4.2.1, but is now much easier than it was with Samba 3 in Wheezy.
I've tested most combinations of building from the instructions, but shout (or correct them) if it doesn't work for any particular situation.
If anyone has Oracle and wants to update the section on building with support for that then please do so. It links to a remote site that is now five years old. I don't have a copy of Oracle (hey, it's not free) so can't update that.
At some point I plan to add instructions for building clean packages using sbuild as well. The current instructions are fine for installing on the same machine it was built on, but not good for distribution.
Cheers,
Matthew
-- Matthew Newton, Ph.D. <mcn4@le.ac.uk>
Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk> - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html