Building the 3.0.18 version

Matthew Newton mcn at freeradius.org
Tue Feb 26 18:33:54 CET 2019


On Tue, 2019-02-26 at 14:28 -0300, Elias Pereira wrote:
> but when I run the "make deb" command the error "make: *** No rule to
> make
> target 'deb'" occurs.
...
> Any idea?


The instructions work. I updated them yesterday:


$ mkdir /tmp/l
$ cd /tmp/l
$ git clone https://github.com/FreeRADIUS/freeradius-server.git
Cloning into 'freeradius-server'...
remote: Enumerating objects: 38, done.
remote: Counting objects: 100% (38/38), done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 274336 (delta 10), reused 18 (delta 7), pack-reused
274298
Receiving objects: 100% (274336/274336), 85.56 MiB | 1.98 MiB/s, done.
Resolving deltas: 100% (216316/216316), done.
$ cd freeradius-server
$ git checkout release_3_0_18
Note: checking out 'release_3_0_18'.

You are in 'detached HEAD' state. You can look around, make
experimental
changes and commit them, and you can discard any commits you make in
this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you
may
do so (now or later) by using -b with the checkout command again.
Example:

  git checkout -b <new-branch-name>

HEAD is now at bf70868a20 bump for 3.0.18
$ make deb
fakeroot debian/rules debian/control #clean
make[1]: Entering directory '/tmp/l/freeradius-server'
sed -e 's/@BUILDDEPS@/libsystemd-dev,/g' \
     debian/control.in > debian/control.tmp
mv debian/control.tmp debian/control
make[1]: Leaving directory '/tmp/l/freeradius-server'
fakeroot dpkg-buildpackage -b -uc
dpkg-buildpackage: info: source package freeradius
dpkg-buildpackage: info: source version 3.0.18+git
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Alan DeKok <
aland at freeradius.org>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build freeradius-server
 debian/rules clean
make[1]: Entering directory '/tmp/l/freeradius-server'
QUILT_PATCHES=debian/patches \
	quilt --quiltrc /dev/null pop -a -R || test $? = 2
No patch removed
rm -rf .pc debian/stamp-patched
dh_testdir
dh_testroot
rm -f build-arch-stamp build-indep-stamp
rm -f config.cache config.log
rm -f src/freeradius-devel
[ ! -d src/modules/lib ] || rm -fr src/modules/lib || true
[ ! -d src/binary ] || rm -fr src/binary || true
# Add here commands to clean up after the build process.
dh_clean
	rm -f debian/debhelper-build-stamp
...



-- 
Matthew




More information about the Freeradius-Users mailing list