rlm_raw not included in compile
Eric Geier
me at egeier.com
Mon Jun 22 16:11:49 CEST 2009
Thank you, Johan. I'll give it a try.
> -----Original Message-----
> From: freeradius-users-bounces+me=egeier.com at lists.freeradius.org
> [mailto:freeradius-users-bounces+me=egeier.com at lists.freeradius.org] On
> Behalf Of Johan Meiring
> Sent: Monday, June 22, 2009 9:26 AM
> To: FreeRadius users mailing list
> Subject: Re: rlm_raw not included in compile
>
> Eric Geier wrote:
> > Johan,
> >
> > I'm a Linux/freeradius newbie, and I don't understand what you meant
> by "had
> > to run autogen.sh first".
> >
>
> I had to do the following:
>
> 1) dump rlm_raw in src/modules
> 2) run "touch src/modules/rlm_raw/configure" from the freeradius source
> root directory.
> 3) run "./autoconf.sh" from the freeradius source root directory.
> 4) I use debian so I edited debian/rules
> looked for the "configure" line, and added:
> --with-modules=rlm_raw \
> --with-experimental-modules \
> If you do a manual compile, add this to you configure line.
> If you use something else, ask them how to add it to configure.
>
>
> > I'm actually using 1.1.7.so I don't think I need to make the two
> changes you
> > mentioned.
> >
> > Also, what did you mean by "touch src/modules/rlm_raw/configure" and
> "added
> > rlm_raw to debian configure by editing debian/rules" in a previous
> post?
> >
> > Thanks!
> > Eric
> >
> >> -----Original Message-----
> >> From: freeradius-users-bounces+me=egeier.com at lists.freeradius.org
> >> [mailto:freeradius-users-bounces+me=egeier.com at lists.freeradius.org]
> On
> >> Behalf Of Johan Meiring
> >> Sent: Friday, May 29, 2009 12:16 PM
> >> To: FreeRadius users mailing list
> >> Subject: Re: rlm_raw not included in compile
> >>
> >> Alan DeKok wrote:
> >>>> Does anyone have a clue how to add rlm_raw to the current git tar
> >> file?
> >>> $ tar -zxf freeradius-server-2.1.7.tar.gz
> >>> << add rlm_raw >>
> >>> $ tar -zcf freeradius-server-2.1.7.tar.gz freeradius-server-2.1.7
> >>>
> >> It wasn't that simple because rlm_raw did not contain a configure
> >> script.
> >>
> >> You had to run autogen.sh first.
> >>
> >>
> >>>> PS:he rlm_raw I'm using comes from
> >>>> http://lists.cistron.nl/pipermail/freeradius-devel/2005-
> >> January/007873.html
> >>> That was before version 2.0 was released. You'll likely have to
> >>> update the module to use the new API's && header files in 2.0.
> >>>
> >> Using my "copy and paste" method of c coding (I know VERY little
> about
> >> c) I maneged to copy the code from the old rlm_raw into rlm_example.
> >>
> >> I needed to make two changes to get it to compile.
> >>
> >> 1) replace strNcpy with strncpy
> >> 2) replace radlib_safeprint with fr_print_string
> >>
> >> It compiled and IT WORKS!!!
> >>
> >>> Alan DeKok.
> >>
>
>
> --
>
>
> Johan Meiring
> Cape PC Services CC
> Tel: (021) 883-8271
> Fax: (021) 886-7782
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.339 / Virus Database: 270.12.87/2195 - Release Date:
> 06/22/09 06:54:00
More information about the Freeradius-Users
mailing list