2.0.2 RPM build on redhat 5
Allen Tsao
ostrich.tsao at gmail.com
Fri Feb 22 12:12:20 CET 2008
Hi all,
I just become a member of this mail list.
After download the newest version 2.0.2 of freeradius, I try to build
a RPM on redhat 5. I typed all the instructions in terms of the
website, but I got an error which show some information about
freeradius and freeradius-server. After google internet, I unzip the
file freeradius-server-2.0.2.tar.gz, rename the directory name to
freeradius-2.0.2, then tar it to freeradius-2.0.2.tar.gz.
Also I changed the third line in freeradius.spec from Name:
freeradius-server to Name: freeradius. and then run rpmbuild -bb
freeradius.spec. I got error:
gmake[6]: Entering directory
`/root/rpmbuild/BUILD/freeradius-2.0.2/src/modules/rlm_acctlog'
if [ "xrlm_acctlog" != "x" ]; then \
/usr/bin/libtool --mode=install
/root/rpmbuild/BUILD/freeradius-2.0.2/install-sh -c -c \
rlm_acctlog.la /var/tmp/freeradius-root/usr/lib/rlm_acctlog.la || exit $?; \
rm -f /var/tmp/freeradius-root/usr/lib/rlm_acctlog-2.0.2.la; \
ln -s rlm_acctlog.la
/var/tmp/freeradius-root/usr/lib/rlm_acctlog-2.0.2.la || exit $?; \
fi
libtool: install: error: cannot install `rlm_acctlog.la' to a
directory not ending in /usr/local/lib
gmake[6]: *** [install] Error 1
gmake[6]: Leaving directory
`/root/rpmbuild/BUILD/freeradius-2.0.2/src/modules/rlm_acctlog'
gmake[5]: *** [common] Error 2
gmake[5]: Leaving directory `/root/rpmbuild/BUILD/freeradius-2.0.2/src/modules'
gmake[4]: *** [install] Error 2
gmake[4]: Leaving directory `/root/rpmbuild/BUILD/freeradius-2.0.2/src/modules'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/root/rpmbuild/BUILD/freeradius-2.0.2/src'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory `/root/rpmbuild/BUILD/freeradius-2.0.2/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/root/rpmbuild/BUILD/freeradius-2.0.2'
make: *** [install] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.21389 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.21389 (%install)
It will be appreciated if somebody can help me.
Best,
Allen
More information about the Freeradius-Users
mailing list