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.
On Mon, Jan 16, 2017 at 04:30:21PM +0530, Javed wrote:
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 ...
Can Anyone suggest me what went wrong?
What make command (and OS)? Off-the-cuff guess... Solaris? Try GNU make and see if that helps. Matthew -- Matthew Newton, Ph.D. <mcn4@leicester.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
Hi, The OS is FreeBSD. And I need to build it in this only .Kindly suggest. 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-Users [mailto:freeradius-users-bounces+jaakhtar=cisco.com@lists.freeradius.org] On Behalf Of Matthew Newton Sent: 16 January 2017 16:42 To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Subject: Re: Make Failing during installation of Radius server version 3.0.12 On Mon, Jan 16, 2017 at 04:30:21PM +0530, Javed wrote:
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 ...
Can Anyone suggest me what went wrong?
What make command (and OS)? Off-the-cuff guess... Solaris? Try GNU make and see if that helps. Matthew -- Matthew Newton, Ph.D. <mcn4@leicester.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk> - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Mon, Jan 16, 2017 at 05:55:00PM +0530, Javed wrote:
The OS is FreeBSD. And I need to build it in this only .Kindly suggest.
I've just successfully built 3.0 HEAD here on FreeBSD 9.3 with gmake. It doesn't seem to work with the supplied make. You may need to remove src/modules/rlm_eap/types/rlm_eap_fast/ before configure. Matthew -- Matthew Newton, Ph.D. <mcn4@leicester.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
Hi, I tried to remove the folder rlm_eap_fast and tried making gmake and got the following stopping point. May anybody is aware of the solution to it? Last stopping point logs(few last lines): LINK /data/home/jaakhtar/freeradius-server-3.0.12/build/bin/rbmonkey CC src/tests/map/map_unit.c LINK /data/home/jaakhtar/freeradius-server-3.0.12/build/bin/map_unit INSTALL raddb/sites-enabled gmake: execvp: /data/home/jaakhtar/freeradius-server-3.0.12/install-sh: Permission denie d gmake: *** [raddb/sites-enabled] Error 127 I tried redoing it & I got the following snippet error log: [jaakhtar@pod1043-client03 ~/freeradius-server-3.0.12]$ sudo gmake INSTALL raddb/sites-enabled gmake: execvp: /data/home/jaakhtar/freeradius-server-3.0.12/install-sh: Permission denied gmake: *** [raddb/sites-enabled] Error 127 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-Users [mailto:freeradius-users-bounces+jaakhtar=cisco.com@lists.freeradius.org] On Behalf Of Matthew Newton Sent: 16 January 2017 19:13 To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Subject: Re: Make Failing during installation of Radius server version 3.0.12 On Mon, Jan 16, 2017 at 05:55:00PM +0530, Javed wrote:
The OS is FreeBSD. And I need to build it in this only .Kindly suggest.
I've just successfully built 3.0 HEAD here on FreeBSD 9.3 with gmake. It doesn't seem to work with the supplied make. You may need to remove src/modules/rlm_eap/types/rlm_eap_fast/ before configure. Matthew -- Matthew Newton, Ph.D. <mcn4@leicester.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk> - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On 17/01/2017, at 7:31 PM, Javed <jaakhtar@cisco.com> wrote:
Hi,
I tried to remove the folder rlm_eap_fast and tried making gmake and got the following stopping point. May anybody is aware of the solution to it?
Last stopping point logs(few last lines):
LINK /data/home/jaakhtar/freeradius-server-3.0.12/build/bin/rbmonkey CC src/tests/map/map_unit.c LINK /data/home/jaakhtar/freeradius-server-3.0.12/build/bin/map_unit INSTALL raddb/sites-enabled gmake: execvp: /data/home/jaakhtar/freeradius-server-3.0.12/install-sh: Permission denie d gmake: *** [raddb/sites-enabled] Error 127
I tried redoing it & I got the following snippet error log:
[jaakhtar@pod1043-client03 ~/freeradius-server-3.0.12]$ sudo gmake INSTALL raddb/sites-enabled gmake: execvp: /data/home/jaakhtar/freeradius-server-3.0.12/install-sh: Permission denied gmake: *** [raddb/sites-enabled] Error 127
The error is quite clear, it says “permission denied”. Some basic knowledge of unix systems really is required if you are building things from source. You are trying to install something to your system, run it as root or another user that has permissions to write to the directory you have directed it to install to. -- Nathan Ward
On 17/01/2017 06:36, Nathan Ward wrote:
gmake: execvp: /data/home/jaakhtar/freeradius-server-3.0.12/install-sh: Permission denied gmake: *** [raddb/sites-enabled] Error 127 The error is quite clear, it says “permission denied”. Some basic knowledge of unix systems really is required if you are building things from source.
You are trying to install something to your system, run it as root or another user that has permissions to write to the directory you have directed it to install to.
Or it could be that the execute bit (+x) is not present on install-sh However it is present on my local git checkout: $ ls -l install-sh -rwxr-xr-x 1 brian staff 5615 6 Oct 19:11 install-sh And I've checked the published tarball at ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-3.0.12.tar.gz $ tar -tvzf freeradius-server-3.0.12.tar.gz | grep install-sh -rwxrwxr-x 0 root root 5615 29 Sep 16:19 freeradius-server-3.0.12/install-sh The OP needs to check how their own source tree was unpacked.
On Tue, Jan 17, 2017 at 11:27:17AM +0000, Brian Candler wrote:
On 17/01/2017 06:36, Nathan Ward wrote:
gmake: execvp: /data/home/jaakhtar/freeradius-server-3.0.12/install-sh: Permission denied gmake: *** [raddb/sites-enabled] Error 127 The error is quite clear, it says “permission denied”. Some basic knowledge of unix systems really is required if you are building things from source.
Or it could be that the execute bit (+x) is not present on install-sh ... The OP needs to check how their own source tree was unpacked.
As a thought, also make sure /data isn't mounted noexec. Matthew -- Matthew Newton, Ph.D. <mcn4@leicester.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
Hello All, I solved the previous error related to permission denied and it was the file install-sh was not made executable and then later in order to complete make I solved some issues which made it stopped. Now I am struck in this including configuration file /usr/local/etc/raddb/sites-enabled/default including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel main { security { allow_core_dumps = no } name = "radiusd" prefix = "/usr/local" localstatedir = "/var" logdir = "/var/log" run_dir = "/var/run/radiusd" /usr/local/etc/raddb/radiusd.conf[380]: Configuration item "allow_core_dumps" is deprecated radiusd: Error: Failed to parse user/group information. Can anybody suggest if this was logged previously? 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-Users [mailto:freeradius-users-bounces+jaakhtar=cisco.com@lists.freeradius.org] On Behalf Of Brian Candler Sent: 17 January 2017 16:57 To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Subject: Re: Make Failing during installation of Radius server version 3.0.12 On 17/01/2017 06:36, Nathan Ward wrote:
gmake: execvp: /data/home/jaakhtar/freeradius-server-3.0.12/install-sh: Permission denied gmake: *** [raddb/sites-enabled] Error 127 The error is quite clear, it says “permission denied”. Some basic knowledge of unix systems really is required if you are building things from source.
You are trying to install something to your system, run it as root or another user that has permissions to write to the directory you have directed it to install to.
Or it could be that the execute bit (+x) is not present on install-sh However it is present on my local git checkout: $ ls -l install-sh -rwxr-xr-x 1 brian staff 5615 6 Oct 19:11 install-sh And I've checked the published tarball at ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-3.0.12.tar.gz $ tar -tvzf freeradius-server-3.0.12.tar.gz | grep install-sh -rwxrwxr-x 0 root root 5615 29 Sep 16:19 freeradius-server-3.0.12/install-sh The OP needs to check how their own source tree was unpacked. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
You need to send messages to ONE list only. Not both users && -devel lists.
On Jan 17, 2017, at 7:49 AM, Javed <jaakhtar@cisco.com> wrote:
Hello All,
I solved the previous error related to permission denied and it was the file install-sh was not made executable and then later in order to complete make I solved some issues which made it stopped. Now I am struck in this
You're using binaries of one major version (probably v4) with configuration files from another one (v3). Don't do that. Delete EVERYTHING you've done, including all binaries, libraries, installed configuration files. Then, re-install from scratch. Use a "tar.gz" file from an official release. Alan DeKok.
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,
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
participants (7)
-
A.L.M.Buxey@lboro.ac.uk -
Alan Buxey -
Alan DeKok -
Brian Candler -
Javed -
Matthew Newton -
Nathan Ward