I made sure to delete the directory and re-tried the make install. The make install then creates the directory and once it does that it errors at the same stage in the installation. David -----Original Message----- From: Bjørn Mork [mailto:bjorn@mork.no] Sent: Tuesday, November 17, 2015 2:06 PM To: Alan DeKok <aland@deployingradius.com> Cc: David Peterson-WirelessConnections <davidp@wirelessconnections.net>; FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Subject: Re: git issues Alan DeKok <aland@deployingradius.com> writes:
On Nov 17, 2015, at 12:42 PM, David Peterson <davidp@wirelessconnections.net> wrote:
Which 3.x branch should I be using? I checked out 3.0.x and get this error
root@sc-daloradius:/usr/src/freeradius-server# make install INSTALL raddb/ mkdir: cannot create directory ‘/usr/local/etc/raddb/’: File exists raddb/all.mk:69: recipe for target '/usr/local/etc/raddb/' failed make: *** [/usr/local/etc/raddb/] Error 1
Which OS are you using?
I have *no* idea how that error occurs. All of the build rules are correct so far as I can tell.
It's simple to provoke an error like that. All you need to do is to create a *file* named /usr/local/etc/raddb See: bjorn@canardo:~$ mkdir /tmp/foo bjorn@canardo:~$ install -d -m 755 /tmp/foo/ bjorn@canardo:~$ touch /tmp/bar bjorn@canardo:~$ install -d -m 755 /tmp/bar/ install: cannot create directory ‘/tmp/bar/’: File exists I cannot explain why anyone would want to do that, though :) Bjørn