RE: Freeradius on OpenBSD (Part X ;))
On OpenBSD 3.4 (-snapshot), both freeradius 0.9.1 and the freeradius snapshot (the one I tried from Sep 28th or so, anyway) compile and run fine with the process described at: http://www.cs.umd.edu/~arunesh/bsd/freeradius.html (there are some rejects when applying the patch, but these can be ignored). I've compiled freeradius 0.9.1 with gcc-3.2.3 on OpenBSD 3.4, and have EAP/TLS working fine. Took a bit more doing than I anticipated, but now I can put ugly boxes all around the house and be connected from them. Yippee. ;-) __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Freeradius on OpenBSD (Part X ;))
> From: Rietsch Thierry > Sent: Wednesday, 3 September 2003 7:25 PM > The Problem is: > a) If I compile the latest freeradius cvs snapshot under OpenBSD 3.3 without > any patches and without any changes in the Makefile/Sources, the build > process fails at the src/modules/rlm_krb5. > b) If I compile the latest freeradius cvs snapshot under OpenBSD 3.3 and > edit the Makefile of src/modules/rlm_krb5/Makefile (from "TARGET = rlm_krb5" > to "TARGET = "), the source build without a problem. But when you try to > start the radiusd, it complains that radiusd can't find the rlm_* modules in > the library path. > c) If I compile the latest freeradius cvs snapshot under OpenBSD 3.3 and > edit the Makefile of src/modules/rlm_krb5/Makefile (from "TARGET = rlm_krb5" > to "TARGET = ") and add the patch mentioned in ## STEP 1 ## the source build > and radiusd find the modules (rlm_*) but i get the following error from > radiusd: > > # more /var/log/radius.log > /usr/libexec/ld.so: Undefined symbol "_librad_SHA1Final" in > radiusd:/usr/local/freeradius/lib/rlm_pap.so > Yuck. This looks like too much work to go into 0.9.1. Barring override by other developers, the rest of the OpenBSD changes are going to have to wait for the next release, with OpenBSD users either suffering 0.9.1+patch or CVS head for a little while. -- = Paul "TBBle" Hampson Bubblesworth Pty Ltd (ABN: 51 095 284 361) [EMAIL PROTECTED] This is a one line proof...if we start sufficiently far to the left. -- Cambridge University Math Department - Random signature generator 3.0 by Paul "TBBle" Hampson = - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Freeradius on OpenBSD (Part X ;))
Rietsch Thierry <[EMAIL PROTECTED]> wrote: > a) If I compile the latest freeradius cvs snapshot under OpenBSD 3.3 without > any patches and without any changes in the Makefile/Sources, the build > process fails at the src/modules/rlm_krb5. Are you willing to share the error messages, so we can know how to fix it? > b) If I compile the latest freeradius cvs snapshot under OpenBSD 3.3 and > edit the Makefile of src/modules/rlm_krb5/Makefile (from "TARGET = rlm_krb5" > to "TARGET = "), the source build without a problem. But when you try to > start the radiusd, it complains that radiusd can't find the rlm_* modules in > the library path. It looks like libtool doesn't work on OpenBSD. I'm not surprised. > c) If I compile the latest freeradius cvs snapshot under OpenBSD 3.3 and > edit the Makefile of src/modules/rlm_krb5/Makefile (from "TARGET = rlm_krb5" > to "TARGET = ") and add the patch mentioned in ## STEP 1 ## the source build > and radiusd find the modules (rlm_*) but i get the following error from > radiusd: > > # more /var/log/radius.log > /usr/libexec/ld.so: Undefined symbol "_librad_SHA1Final" in > radiusd:/usr/local/freeradius/lib/rlm_pap.so That symbol is defined in src/lib/libradius.a, which should get linked into the server. If the linker can't find it, I'm not sure what to do. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Freeradius on OpenBSD (Part X ;))
The Problem is: a) If I compile the latest freeradius cvs snapshot under OpenBSD 3.3 without any patches and without any changes in the Makefile/Sources, the build process fails at the src/modules/rlm_krb5. b) If I compile the latest freeradius cvs snapshot under OpenBSD 3.3 and edit the Makefile of src/modules/rlm_krb5/Makefile (from "TARGET = rlm_krb5" to "TARGET = "), the source build without a problem. But when you try to start the radiusd, it complains that radiusd can't find the rlm_* modules in the library path. c) If I compile the latest freeradius cvs snapshot under OpenBSD 3.3 and edit the Makefile of src/modules/rlm_krb5/Makefile (from "TARGET = rlm_krb5" to "TARGET = ") and add the patch mentioned in ## STEP 1 ## the source build and radiusd find the modules (rlm_*) but i get the following error from radiusd: # more /var/log/radius.log /usr/libexec/ld.so: Undefined symbol "_librad_SHA1Final" in radiusd:/usr/local/freeradius/lib/rlm_pap.so ### STEP 1 # - Downloaded the latest CVS snapshot - Unpacked it :) - ./configure ... - vi src/modules/rlm_krb5/Makefile => after the configure script: TARGET = rlm_krb5 after i edited: TARGET = - Patched the source with the edited http://www.cs.umd.edu/%7Earunesh/bsd/freeradius-OpenBSD-1.0-AM.patch - make - make install - Then download, edited and runned the http://www.cs.umd.edu/%7Earunesh/bsd/bsd-install script These are the steps i've done. It compiles, but radiusd don't work. Do you have some ideas? Thierry -Original Message- From: Rietsch Thierry [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 3. September 2003 10:28 To: '[EMAIL PROTECTED]' Subject: RE: Freeradius on OpenBSD (Part X ;)) Yes now it compiles. I just have to disable the rlm_krb5 modul. But there's another Problem with the libraries. The Makefile build .a files which OpenBSD doesn't like. You should wait with the release, i'll try to look at the problem. -Original Message- From: Rietsch Thierry [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 3. September 2003 10:08 To: '[EMAIL PROTECTED]' Subject: RE: Freeradius on OpenBSD (Part X ;)) one moment i'll test it -Original Message- From: Paul Hampson [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 3. September 2003 10:05 To: [EMAIL PROTECTED] Subject: RE: Freeradius on OpenBSD (Part X ;)) > From: Rietsch Thierry > Sent: Wednesday, 3 September 2003 4:21 PM > After i now successfull compiled freeradius on OpenBSD i get another error. > When I try to start radiusd i get the following error message on the screen: Is this with your local changes to make BSD-type gethostby{addr,name} work, or are you now able to use the vanilla CVS configure script? If you can tell me that configure now detects your gethostby{addr,name} style as BSD, then 0.9.1 will be all but ready to ship. :-) -- = Paul "TBBle" Hampson Bubblesworth Pty Ltd (ABN: 51 095 284 361) [EMAIL PROTECTED] This is a one line proof...if we start sufficiently far to the left. -- Cambridge University Math Department - Random signature generator 3.0 by Paul "TBBle" Hampson = - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Freeradius on OpenBSD (Part X ;))
Yes now it compiles. I just have to disable the rlm_krb5 modul. But there's another Problem with the libraries. The Makefile build .a files which OpenBSD doesn't like. You should wait with the release, i'll try to look at the problem. -Original Message- From: Rietsch Thierry [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 3. September 2003 10:08 To: '[EMAIL PROTECTED]' Subject: RE: Freeradius on OpenBSD (Part X ;)) one moment i'll test it -Original Message- From: Paul Hampson [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 3. September 2003 10:05 To: [EMAIL PROTECTED] Subject: RE: Freeradius on OpenBSD (Part X ;)) > From: Rietsch Thierry > Sent: Wednesday, 3 September 2003 4:21 PM > After i now successfull compiled freeradius on OpenBSD i get another error. > When I try to start radiusd i get the following error message on the screen: Is this with your local changes to make BSD-type gethostby{addr,name} work, or are you now able to use the vanilla CVS configure script? If you can tell me that configure now detects your gethostby{addr,name} style as BSD, then 0.9.1 will be all but ready to ship. :-) -- = Paul "TBBle" Hampson Bubblesworth Pty Ltd (ABN: 51 095 284 361) [EMAIL PROTECTED] This is a one line proof...if we start sufficiently far to the left. -- Cambridge University Math Department - Random signature generator 3.0 by Paul "TBBle" Hampson = - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Freeradius on OpenBSD (Part X ;))
one moment i'll test it -Original Message- From: Paul Hampson [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 3. September 2003 10:05 To: [EMAIL PROTECTED] Subject: RE: Freeradius on OpenBSD (Part X ;)) > From: Rietsch Thierry > Sent: Wednesday, 3 September 2003 4:21 PM > After i now successfull compiled freeradius on OpenBSD i get another error. > When I try to start radiusd i get the following error message on the screen: Is this with your local changes to make BSD-type gethostby{addr,name} work, or are you now able to use the vanilla CVS configure script? If you can tell me that configure now detects your gethostby{addr,name} style as BSD, then 0.9.1 will be all but ready to ship. :-) -- = Paul "TBBle" Hampson Bubblesworth Pty Ltd (ABN: 51 095 284 361) [EMAIL PROTECTED] This is a one line proof...if we start sufficiently far to the left. -- Cambridge University Math Department - Random signature generator 3.0 by Paul "TBBle" Hampson = - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Freeradius on OpenBSD (Part X ;))
> From: Rietsch Thierry > Sent: Wednesday, 3 September 2003 4:21 PM > After i now successfull compiled freeradius on OpenBSD i get another error. > When I try to start radiusd i get the following error message on the screen: Is this with your local changes to make BSD-type gethostby{addr,name} work, or are you now able to use the vanilla CVS configure script? If you can tell me that configure now detects your gethostby{addr,name} style as BSD, then 0.9.1 will be all but ready to ship. :-) -- = Paul "TBBle" Hampson Bubblesworth Pty Ltd (ABN: 51 095 284 361) [EMAIL PROTECTED] This is a one line proof...if we start sufficiently far to the left. -- Cambridge University Math Department - Random signature generator 3.0 by Paul "TBBle" Hampson = - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html