Re: compiling freeradius 2.1.12 in Debian squeeze
Indeed just found configure make works fine; been the whole time trying to build a deb package. fakeroot dpkg-buildpackage -b -uc doesn't work. Compiling them would be enough for you. I doubt a ubuntu deb package will satisfy debian dependencies. Best regards, Rui -- Fajar On Sun, Jan 15, 2012 at 1:56 AM, Rui Ribeiro <[hidden email]> wrote:
Hi list,
Been trying to compile freeradius 2.1.12 in Debian Squeeze following the directions of http://wiki.freeradius.org/Build to no avail. Also tried the suggestion in previous posts of cutting out --enable-developer, and of compiling libtool myself.
And the error is ... ?
One of the problems is freeradius is expecting ltdl 3.x, and squeeze has 7;
That shouldn't cause a problem. FR can use both it's included (3.x) and systems's libltdl.
the other is that the file changelog is no more in the right format. (tough the last one is easily fixed)
Has anyone managed to compile freeradius in Debian 6.x?
It compiles in ubuntu just fine. Or you can use my ppa. Lucid's packages might also work (untested) on debian: https://launchpad.net/~freeradius/+archive/stable
-- Fajar
On Sun, Jan 15, 2012 at 8:16 AM, Rui Ribeiro <ruyrybeyro@gmail.com> wrote:
Indeed just found configure make works fine; been the whole time trying to build a deb package. fakeroot dpkg-buildpackage -b -uc doesn't work.
I usually just use dpkg-buildpackage -b. Mostly with Ubuntu's debian directory, but I'm pretty sure last time I tried 2.1.12 with it's included debian directory it also works fine. Latest v2.1.x from git however won't work since some patches needs to be changed.
Compiling them would be enough for you. I doubt a ubuntu deb package will satisfy debian dependencies.
It usually does, since 90-something percent of ubuntu is debian anyway. I don't use debian, but if you've tried my ppa and can suggest what's needed for it to also work on debian I can make the changes for next 2.2.0. -- Fajar
Hi, On Sat, Jan 14, 2012 at 06:56:32PM +0000, Rui Ribeiro wrote:
One of the problems is freeradius is expecting ltdl 3.x, and squeeze has 7; the other is that the file changelog is no more in the right format. (tough the last one is easily fixed)
Hit this the other day - make sure you don't have old ltdl (especially -dev) packages hanging around. if you've upgraded from lenny to squeeze, then you probably have. Purge the old ones & install new -dev. On Sun, Jan 15, 2012 at 09:15:38AM +0700, Fajar A. Nugraha wrote:
On Sun, Jan 15, 2012 at 8:16 AM, Rui Ribeiro <ruyrybeyro@gmail.com> wrote:
Indeed just found configure make works fine; been the whole time trying to build a deb package. fakeroot dpkg-buildpackage -b -uc doesn't work.
I usually just use dpkg-buildpackage -b. Mostly with Ubuntu's debian directory, but I'm pretty sure last time I tried 2.1.12 with it's included debian directory it also works fine. Latest v2.1.x from git however won't work since some patches needs to be changed.
I tend to use dpkg-buildpackage -us -uc -rfakeroot In latest git, you need to do rm debian/patches/rlm_sql.libs.diff sed -ie '/rlm_sql/d' debian/patches/series before it will build (may not be the actual fix, but gets it to build & I'm not using rlm_sql). Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Architect (UNIX and Networks), Network Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
participants (3)
-
Fajar A. Nugraha -
Matthew Newton -
Rui Ribeiro