Error building version 1.1.1
Sandworm
sandworm at mepd.hush.com
Tue Mar 21 08:10:12 CET 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
While attempting to build the RPMs for FreeRadius version 1.1.1, I
get an error during the build of libradius. Extract of the output
is shown below. Build being done with 'rpmbuild -ba
/usr/src/redhat/SPECS/freeradius.spec', where the spec file is
taken from the 'redhat' directory in the tarball. The build is
being done on Redhat Enterprise Server 3 (ES) Update 6. Looks like
the Makefile in the tarball's src/lib directory is removing the
'/var/tmp/freeradius-root/usr/lib/' directory and the symbolic link
creation then does not find it.
Making install in lib...
gmake[4]: Entering directory `/usr/src/redhat/BUILD/freeradius-
1.1.1/src/lib'
/usr/bin/libtool --mode=install /usr/src/redhat/BUILD/freeradius-
1.1.1/install-sh -c -c libradius.la /var/tmp/freeradius-
root/usr/lib
/usr/src/redhat/BUILD/freeradius-1.1.1/install-sh -c -c
.libs/libradius-1.1.1.so /var/tmp/freeradius-root/usr/libradius-
1.1.1.so
(cd /var/tmp/freeradius-root/usr && rm -f libradius.so && ln -s
libradius-1.1.1.so libradius.so)
/usr/src/redhat/BUILD/freeradius-1.1.1/install-sh -c -c
.libs/libradius.lai /var/tmp/freeradius-root/usr/libradius.la
/usr/src/redhat/BUILD/freeradius-1.1.1/install-sh -c -c
.libs/libradius.a /var/tmp/freeradius-root/usr/libradius.a
ranlib /var/tmp/freeradius-root/usr/libradius.a
chmod 644 /var/tmp/freeradius-root/usr/libradius.a
libtool: install: warning: remember to run `libtool --finish
/usr/lib'
rm -f /var/tmp/freeradius-root/usr/lib/libradius-1.1.1.la;
ln -s libradius.la /var/tmp/freeradius-root/usr/lib/libradius-
1.1.1.la
ln: creating symbolic link `/var/tmp/freeradius-
root/usr/lib/libradius-1.1.1.la' to `libradius.la': No such file or
directory
gmake[4]: *** [install] Error 1
gmake[4]: Leaving directory `/usr/src/redhat/BUILD/freeradius-
1.1.1/src/lib'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/usr/src/redhat/BUILD/freeradius-
1.1.1/src'
gmake[2]: *** [install] Error 2
gmake[2]: Leaving directory `/usr/src/redhat/BUILD/freeradius-
1.1.1/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/usr/src/redhat/BUILD/freeradius-
1.1.1'
make: *** [install] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.72933 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.72933 (%install)
-----BEGIN PGP SIGNATURE-----
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 2.5
wkYEARECAAYFAkQfptQACgkQmw4BJyaatJ3CjQCgkE3PssxUgCxIgcQCyCOF/7akj1cA
n3uM4/Yu6y5ko1XNO+2j9dfwvd3j
=Kl6m
-----END PGP SIGNATURE-----
More information about the Freeradius-Users
mailing list