FreeRadius 2.1.8 at OpenBSD 4.0
Hi, I already could compile/install and run FreeRadius 2.1.7 at MacOS X withou any problem. Now I am trying to install FreeRadius 2.1.7( and 2.1.8) in a vmware machine running OpenBSD version 4.0 ( in special a VMWare appliance OAMP) and I am getting the following error when run "make":
make[4]: *** [dict.lo] Error 1 make[4]: Leaving directory `/var/freeradius-server-2.1.8/src/lib' make[3]: *** [common] Error 2 make[3]: Leaving directory `/var/freeradius-server-2.1.8/src' make[2]: *** [install] Error 2 make[2]: Leaving directory `/var/freeradius-server-2.1.8/src' make[1]: *** [common] Error 2 make[1]: Leaving directory `/var/freeradius-server-2.1.8' make: *** [install] Error 2
( the full messages from ./configure and make are attached).
Before to run "make" I needed to install the GNU make version 3.81. I read the messages but could not detect the cause.Anyone can help me on that ?
Thanks, Denis
Denis Damico wrote:
I already could compile/install and run FreeRadius 2.1.7 at MacOS X withou any problem. Now I am trying to install FreeRadius 2.1.7( and 2.1.8) in a vmware machine running OpenBSD version 4.0 ( in special a VMWare appliance OAMP) and I am getting the following error when run "make":
Hmm... 2.1.8 *should* be able to pick up the definition of the IPv6 address structures. I'm not sure why it isn't working. In any case, you can edit src/include/autoconf.h to set the right #defines, and get it to build. Maybe we can find a better patch once it's in the OpenBSD port system. Alan DeKok.
Thanks, Alan, I did not understood why do you suspect of IPV6 options, but I tried to edit src/include/autoconf.h changing the line(s): /* IPv6 address structure */ /* #undef HAVE_STRUCT_IN6_ADDR */ /* IPv6 socket addresses */ /* #undef HAVE_STRUCT_SOCKADDR_IN6 */ But same "make" error occurred. I do not intend to use IPv6 in that project. IPv4 is enough. Do you suggest to change to another version of openbsd ? Or to use freebsd, netbsd ? Thanks, again. Denis Damico D.damico@computer.org On 2/1/10 9:11 PM, "Alan DeKok" <aland@deployingradius.com> wrote:
Denis Damico wrote:
I already could compile/install and run FreeRadius 2.1.7 at MacOS X withou any problem. Now I am trying to install FreeRadius 2.1.7( and 2.1.8) in a vmware machine running OpenBSD version 4.0 ( in special a VMWare appliance OAMP) and I am getting the following error when run "make":
Hmm... 2.1.8 *should* be able to pick up the definition of the IPv6 address structures. I'm not sure why it isn't working.
In any case, you can edit src/include/autoconf.h to set the right #defines, and get it to build. Maybe we can find a better patch once it's in the OpenBSD port system.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
--
Denis DAmico wrote:
Thanks, Alan, I did not understood why do you suspect of IPV6 options, but I tried to edit src/include/autoconf.h changing the line(s):
<sigh> "Hi, I did stuff..." Please describe *what* you changed, and why. The issues are: HAVE_STRUCT_IN6_ADDR is not defined HAVE_STRUCT_SOCKADDR_STORAGE is not defined. Go fix that.
I do not intend to use IPv6 in that project. IPv4 is enough.
That doesn't change anything.
Do you suggest to change to another version of openbsd ? Or to use freebsd, netbsd ?
I gave you my suggestion. Alan DeKok.
Hi Alan, I could correct the previous error editing the autoconf.h lines: #define HAVE_STRUCT_IN6_ADDR #define HAVE_STRUCT_SOCKADDR_STORAGE Now I am receiving the error: /var/freeradius-server-2.1.8/src/lib/.libs/libfreeradius-radius.so: undefined reference to `___tls_get_addr' ( full make output at attached file ) Could you help me ? Thanks, Denis On 2/2/10 4:49 AM, "Alan DeKok" <aland@deployingradius.com> wrote:
Denis DAmico wrote:
Thanks, Alan, I did not understood why do you suspect of IPV6 options, but I tried to edit src/include/autoconf.h changing the line(s):
<sigh> "Hi, I did stuff..."
Please describe *what* you changed, and why.
The issues are:
HAVE_STRUCT_IN6_ADDR is not defined HAVE_STRUCT_SOCKADDR_STORAGE is not defined.
Go fix that.
I do not intend to use IPv6 in that project. IPv4 is enough.
That doesn't change anything.
Do you suggest to change to another version of openbsd ? Or to use freebsd, netbsd ?
I gave you my suggestion.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
--
Denis DAmico wrote: Could you explain why you CC me on a message to the list? Do you think I don't read the list? It's annoying. Don't do it.
Hi Alan, I could correct the previous error editing the autoconf.h lines: #define HAVE_STRUCT_IN6_ADDR #define HAVE_STRUCT_SOCKADDR_STORAGE
Now I am receiving the error:
/var/freeradius-server-2.1.8/src/lib/.libs/libfreeradius-radius.so: undefined reference to `___tls_get_addr'
( full make output at attached file ) Could you help me ?
I don't use OpenBSD. Use an OS that works. Alan DeKok.
participants (3)
-
Alan DeKok -
Denis Damico -
Denis DAmico