Make Failing during installation of Radius server version 3.0.12
Hello All, I tried installing freeradius server package 3.0.12 and issued following commands sudo curl -LOk http://ftp.cc.uoc.gr/mirrors/ftp.freeradius.org/freeradius-server-3.0.12.tar .gz sudo tar zxvf freeradius-server-3.0.12.tar.gz Then inside the folder I tried to ./configure and followed by make command. Here is the log generated during make command. make: "scripts/scripts/boiler.mk" line 401: Need an operator make: "scripts/scripts/boiler.mk" line 404: Need an operator make: "scripts/scripts/boiler.mk" line 408: Need an operator make: "scripts/scripts/boiler.mk" line 409: Need an operator make: "scripts/scripts/boiler.mk" line 410: Need an operator make: "scripts/scripts/boiler.mk" line 427: Unassociated shell command "PLISTS := $$(addprefix $${BUILD_DIR}/plist/, $$(addsuffix .plist,$$(basename $${SOURCES})))" make: "scripts/scripts/boiler.mk" line 428: Unassociated shell command "ALL_PLISTS += ${PLISTS}" Variable TGT_STACK is recursive. make: stopped in /usr/local/etc/freeradius-server-3.0.12 Can Anyone suggest me what went wrong? Thanks Javed Akhtar Technical Lead <mailto:jaakhtar@cisco.com> jaakhtar@cisco.com Tel: Cisco Systems, Inc. India cisco.com Think before you print. This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Please <http://www.cisco.com/web/about/doing_business/legal/cri/index.html> click here for Company Registration Information.
Hi Alan, The logs of ./configure is as below:(last few lines) checking for hiredis/hiredis.h in /opt/include/... no configure: WARNING: hiredis headers not found. Use --with-redis-include-dir=<path>. checking for redisConnect in -lhiredis... no checking for redisConnect in -lhiredis in /usr/local/lib... no checking for redisConnect in -lhiredis in /opt/lib... no configure: WARNING: hiredis libraries not found. Use --with-redis-lib-dir=<path>. configure: WARNING: silently not building rlm_rediswho. configure: WARNING: FAILURE: rlm_rediswho requires: hiredis.h libhiredis. configure: creating ./config.status config.status: creating all.mk Javed Akhtar Technical Lead jaakhtar@cisco.com Tel: Cisco Systems, Inc. India cisco.com Think before you print. This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Please click here for Company Registration Information. -----Original Message----- From: Freeradius-Devel [mailto:freeradius-devel-bounces+jaakhtar=cisco.com@lists.freeradius.org] On Behalf Of A.L.M.Buxey@lboro.ac.uk Sent: 16 January 2017 16:45 To: FreeRadius developers mailing list <freeradius-devel@lists.freeradius.org> Cc: 'FreeRadius users mailing list' <freeradius-users@lists.freeradius.org> Subject: Re: Make Failing during installation of Radius server version 3.0.12 Hi,
Then inside the folder I tried to ./configure and followed by make command.
old/wrong make tool? whats the output of the ./configure stage? alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
Hi, Please try using gmake, maybe the makefiles aren't compatible with default FreeBSD make. Regards, Sérgio 2017-01-16 10:27 GMT-02:00 Javed <jaakhtar@cisco.com>:
Hi Alan,
The logs of ./configure is as below:(last few lines)
checking for hiredis/hiredis.h in /opt/include/... no configure: WARNING: hiredis headers not found. Use --with-redis-include-dir=<path>. checking for redisConnect in -lhiredis... no checking for redisConnect in -lhiredis in /usr/local/lib... no checking for redisConnect in -lhiredis in /opt/lib... no configure: WARNING: hiredis libraries not found. Use --with-redis-lib-dir=<path>. configure: WARNING: silently not building rlm_rediswho. configure: WARNING: FAILURE: rlm_rediswho requires: hiredis.h libhiredis. configure: creating ./config.status config.status: creating all.mk
Javed Akhtar Technical Lead jaakhtar@cisco.com Tel: Cisco Systems, Inc.
India cisco.com
Think before you print. This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Please click here for Company Registration Information.
-----Original Message----- From: Freeradius-Devel [mailto:freeradius-devel-bounces+jaakhtar= cisco.com@lists.freeradius.org] On Behalf Of A.L.M.Buxey@lboro.ac.uk Sent: 16 January 2017 16:45 To: FreeRadius developers mailing list <freeradius-devel@lists. freeradius.org> Cc: 'FreeRadius users mailing list' <freeradius-users@lists.freeradius.org
Subject: Re: Make Failing during installation of Radius server version 3.0.12
Hi,
Then inside the folder I tried to ./configure and followed by make command.
old/wrong make tool? whats the output of the ./configure stage?
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/devel.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/devel.html
hi,
The logs of ./configure is as below:(last few lines)
last few lines = not useful anyway, as previously stated, GNU make , not the basic make...and eap_fast module may need to be removed from source tree (known issue, build dependency/check issues and configure hasnt been tweaked to work around it....system thinks it can build it...but it cant) alan
On Jan 16, 2017, at 8:46 AM, Alan Buxey <A.L.M.Buxey@lboro.ac.uk> wrote:
\\ anyway, as previously stated, GNU make , not the basic make...
I've pushed a fix so that GNU Make works, and attempts to use BSD make cause an error: $ bsdmake "Makefile", line 18: Need an operator "Makefile", line 19: GNU Make is required to build FreeRADIUS
and eap_fast module may need to be removed from source tree (known issue, build dependency/check issues and configure hasnt been tweaked to work around it....system thinks it can build it...but it cant)
That should all be fixed, IIRC. Unless you're using OpenSSL 0.9.8 (or similar), in which case even the OpenSSL people will tell you to upgrade. Alan DeKok.
participants (5)
-
A.L.M.Buxey@lboro.ac.uk -
Alan Buxey -
Alan DeKok -
Javed -
Sérgio