I tried making my own radpaths.h according to what build-radpaths-h was trying to do, and got this in the make:
gmake[5]: Entering directory `/home/dmason/freeradius/freeradius-0.9.0-pre1/src/modules'
Making static dynamic in rlm_acct_unique...
/home/dmason/freeradius/freeradius-0.9.0-pre1/src/modules/rlm_acct_unique
gmake[6]: Entering directory `/home/dmason/freeradius/freeradius-0.9.0-pre1/src/modules/rlm_acct_unique'
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -I../../include -c rlm_acct_unique.c -o rlm_acct_unique.o
/home/dmason/freeradius/freeradius-0.9.0-pre1/libtool --mode=link ld \
-module -static -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -I../../include rlm_acct_unique.o -o rlm_acct_unique.a
mkdir .libs
ar cru rlm_acct_unique.a rlm_acct_unique.o ranlib rlm_acct_unique.a
cp: cannot create regular file `/src/modules/lib': No such file or directory
gmake[6]: *** [static] Error 1
gmake[6]: Leaving directory `/home/dmason/freeradius/freeradius-0.9.0-pre1/src/modules/rlm_acct_unique'
gmake[5]: *** [common] Error 1
gmake[5]: Leaving directory `/home/dmason/freeradius/freeradius-0.9.0-pre1/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/home/dmason/freeradius/freeradius-0.9.0-pre1/src/modules'
gmake[3]: *** [common] Error 1
gmake[3]: Leaving directory `/home/dmason/freeradius/freeradius-0.9.0-pre1/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/dmason/freeradius/freeradius-0.9.0-pre1/src'
gmake[1]: *** [common] Error 1
gmake[1]: Leaving directory `/home/dmason/freeradius/freeradius-0.9.0-pre1'
make: *** [all] Error 2
The "static" and "dynamic" targets in rules.mak refer to $(top_builddir) which must not be getting set.
Dave
Mathew Schumacher wrote:
Spoke too soon, looks like configure sets it back to mode 644.
Looking for where configure creates it, but I'm not a real programmer and I'm sure someone will beat me to it.
schu
Matthew Schumacher wrote: It seems that the radpath.h file doesn't get created during ./configure on my system. Fix is simple:
chmod 755 src/include/build-radpaths-h
Alan, please change the permissions on this file in the current freeradius.tar.gz tarball so that it will compile.
Thanks,
schu
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
