Well I've been trying to debug and found something interesting.

When I run ./configure as with the "--with-experimental-modules" it won't configure and gives an error: /bin/sh: -c: line 1: `for mod in ; do what=all; [ "$what" = "all"

Here is the configure statement with the error:

./configure --localstatedir=/var --sysconfdir=/etc --enable-ltdl-install --with-rlm-mysql-lib-dir=/usr/local/mysql/lib --with-rlm-mysql-include-dir=/usr/local/mysql/include --with-experimental-modules

However, if I take off the "--with-experimental-modules" from the end of the statement, it configures fine with no errors. I am running with the rlm_sqlcounter module so how do I go about configuring if I can't get configure to work with the "--with-experimental-modules" option?

Ed

From: "Ed H" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Upgrade Problems - WAS: dictionary not being installed
Date: Mon, 04 Aug 2003 17:35:09 +0000

If anyone has a clue, it would be most helpful. I am ugrading from freeradius-0.8.1 to freeradius-0.9..0 on Redhat Linux 7.2, using MySQL for a backend dbase.

For "configure" i used:

./configure --localstatedir=/var --sysconfdir=/etc --enable-ltdl-install --with-rlm-mysql-lib-dir=/usr/local/mysql/lib --with-rlm-mysql-include-dir=/usr/local/mysql/include --with-experimental-modules

When I run the "make" command I get the following error - I never got this error when installing the 0.8.1 version, but now in the upgrade I am:

Making all in modules...
gmake[4]: Entering directory `/usr/local/freeradius-0.9.0/src/modules'
gmake[5]: Entering directory `/usr/local/freeradius-0.9.0/src/modules'
/bin/sh: -c: line 1: syntax error near unexpected token `;'
/bin/sh: -c: line 1: `for mod in ; do what=all; [ "$what" = "all" ] && what="static dynamic"; if [ -d $mod ]; then echo "Making $what in $mod..."; (cd $mod && /usr/bin/gmake -w $what) || exit 1; fi; done'
gmake[5]: *** [common] Error 2
gmake[5]: Leaving directory `/usr/local/freeradius-0.9.0/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/usr/local/freeradius-0.9.0/src/modules'
gmake[3]: *** [common] Error 1
gmake[3]: Leaving directory `/usr/local/freeradius-0.9.0/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/local/freeradius-0.9.0/src'
gmake[1]: *** [common] Error 1
gmake[1]: Leaving directory `/usr/local/freeradius-0.9.0'
make: *** [all] Error 2



Thanks, Ed

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



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

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



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

Reply via email to