Re: compile errors due to rlm_counter.c?

2002-02-25 Thread Alan DeKok

Nick Davis <[EMAIL PROTECTED]> wrote:
> It looks like gdbm is not very well maintained. Here is what I found while 
> searching for a 1.8 debian package...

  OK...
 
> gdbm (1.7.3-27) unstable; urgency=low
> 
>   * No 1.8 yet because a) the soname has changed, making packaging it less
> trivial, b) the upstream changes are not hugely important and c) 1.8
> appears after 5 years of upstream inactivity and has since been
> followed by another 18 months of upstream inactivity despite some
> trivial and annoying build bugs in 1.8 which must hit almost everyone
> who tries to build it from source.  

  And people wonder why I don't like a lot of the GNU packages.  The
FSF is rabid about GNU software, and GPL'd software in general.

  Yet they would rather ship garbage for *years* than accept patches
from people who aren't buddy-buddy with RMS.

  

  OK, the CVS snapshot from tonight should have 'configure' fixed for
the counter module.

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: compile errors due to rlm_counter.c?

2002-02-25 Thread Nick Davis


> It's obviously too much for me to expect that gdbm
> doesn't have massive variations between versions.
>
>   Upgrade your gdbm libraries && header files.  The latest version is
> 1.8
>
>   The alternative is to go back to the previous version of the
> 'counter' module.
>
>   I'll try to put an update in tonight.
>
>   Alan DeKok.

It looks like gdbm is not very well maintained. Here is what I found while 
searching for a 1.8 debian package...

gdbm (1.7.3-27) unstable; urgency=low

  * No 1.8 yet because a) the soname has changed, making packaging it less
trivial, b) the upstream changes are not hugely important and c) 1.8
appears after 5 years of upstream inactivity and has since been
followed by another 18 months of upstream inactivity despite some
trivial and annoying build bugs in 1.8 which must hit almost everyone
who tries to build it from source.  

  * Migration warnings are left unchanged as a result of (c) above.

This is from the changelog.Debian.gz file that comes with the debian package 
version 1.7.3-27

Just wanted to post this info as an FYI for everyone.

-- 
Nick Davis 
Associate Systems Administrator 
[EMAIL PROTECTED] 
Internet Exposure, Inc. 
http://www.iexposure.com  

(612)676-1946 
Web Development-Web Marketing-ISP Services

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: compile errors due to rlm_counter.c?

2002-02-25 Thread Alan DeKok

"Andrew Kelaidis" <[EMAIL PROTECTED]> wrote:
> I have similars problems with counter module. When I try to run configure I 
> got the following message: counter module require gdbm

  Have you tried looking at 'config.log', as was suggested on the list
earlier today?

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: compile errors due to rlm_counter.c?

2002-02-25 Thread Andrew Kelaidis

I have similars problems with counter module. When I try to run configure I 
got the following message: counter module require gdbm
I have already installed the latest version of gdbm from RPM (RedHat 7.2). I 
tried and the stable version (0.4) but I got the same message. What's wrong? 
Is the RPM fake?
Please help.

>From: "Alan DeKok" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: compile errors due to rlm_counter.c?
>Date: Mon, 25 Feb 2002 13:31:34 -0500
>
>Nick Davis <[EMAIL PROTECTED]> wrote:
> > the configure went perfectly. The problems came when I started the make.
> >
> > Here are the errors that it reported:
> >
> > rlm_counter.c: In function `counter_instantiate':
> > rlm_counter.c:330: `GDBM_NOLOCK' undeclared (first use in this function)
> > rlm_counter.c:330: (Each undeclared identifier is reported only once
> > rlm_counter.c:330: for each function it appears in.)
> > rlm_counter.c:336: warning: implicit declaration of function 
>`gdbm_fdesc'
>
> It's obviously too much for me to expect that gdbm
>doesn't have massive variations between versions.
>
>   Upgrade your gdbm libraries && header files.  The latest version is
>1.8
>
>   The alternative is to go back to the previous version of the
>'counter' module.
>
>   I'll try to put an update in tonight.
>
>   Alan DeKok.
>
>-
>List info/subscribe/unsubscribe? See 
>http://www.freeradius.org/list/users.html

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: compile errors due to rlm_counter.c?

2002-02-25 Thread Alan DeKok

Nick Davis <[EMAIL PROTECTED]> wrote:
> the configure went perfectly. The problems came when I started the make.
> 
> Here are the errors that it reported:
> 
> rlm_counter.c: In function `counter_instantiate':
> rlm_counter.c:330: `GDBM_NOLOCK' undeclared (first use in this function)
> rlm_counter.c:330: (Each undeclared identifier is reported only once
> rlm_counter.c:330: for each function it appears in.)
> rlm_counter.c:336: warning: implicit declaration of function `gdbm_fdesc'

It's obviously too much for me to expect that gdbm
doesn't have massive variations between versions.

  Upgrade your gdbm libraries && header files.  The latest version is
1.8

  The alternative is to go back to the previous version of the
'counter' module.

  I'll try to put an update in tonight.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



compile errors due to rlm_counter.c?

2002-02-25 Thread Nick Davis

I downloaded the CVS snapshot freeradius-snapshot-20020225 and went to 
compile it with these flags:

./configure --localstatedir=/var --sysconfdir=/etc --with-thread-pool 
--with-mysql-include-dir=/usr/include/mysql/ --with-mysql-lib-dir=/usr/lib/ 
--with-mysql-dir=/usr/bin/mysql/

the configure went perfectly. The problems came when I started the make.

Here are the errors that it reported:

rlm_counter.c: In function `counter_instantiate':
rlm_counter.c:330: `GDBM_NOLOCK' undeclared (first use in this function)
rlm_counter.c:330: (Each undeclared identifier is reported only once
rlm_counter.c:330: for each function it appears in.)
rlm_counter.c:336: warning: implicit declaration of function `gdbm_fdesc'
rlm_counter.c: In function `counter_accounting':
rlm_counter.c:384: `GDBM_NOLOCK' undeclared (first use in this function)
rlm_counter.c: In function `counter_authorize':
rlm_counter.c:517: `GDBM_NOLOCK' undeclared (first use in this function)
make[6]: *** [rlm_counter.o] Error 1
make[6]: Leaving directory 
`/root/freeradius-snapshot-20020225/src/modules/rlm_counter'
make[5]: *** [common] Error 1
make[5]: Leaving directory `/root/freeradius-snapshot-20020225/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/freeradius-snapshot-20020225/src/modules'
make[3]: *** [common] Error 1
make[3]: Leaving directory `/root/freeradius-snapshot-20020225/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/freeradius-snapshot-20020225/src'
make[1]: *** [common] Error 1
make[1]: Leaving directory `/root/freeradius-snapshot-20020225'
make: *** [all] Error 2

___

Does anyone have any ideas on how to get this to finish the make? I really 
don't need the counter module, so I am going to try commenting it out and 
seeing if it will then finish the make. I just wanted to see if there was 
something else that I might be doing wrong.

I am compiling this on a debian 2.2 system.

-- 
Nick Davis 
Associate Systems Administrator 
[EMAIL PROTECTED] 
Internet Exposure, Inc. 
http://www.iexposure.com  

(612)676-1946 
Web Development-Web Marketing-ISP Services

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html