help on OpenSUSE installation

mx5450 mx5450 at prodigy.net.mx
Wed May 13 04:01:33 CEST 2009


Team,

I'm trying to set up freeradius 2.1.4 in a AMD 64 X2 system with an OpenSUSE 11.1 (x86_64.iso) OS.

I must tell you that I'm new to Linux and Freeradius.

According to the instructions on freeradius.org/radiusd/install I can either:

1. Get a pre-installed binary package (Peter Nixon)
2. get the FreeRADIUS tarball


When I try to get the binary package (http://download.opensuse.org/repositories/network:/aaa/openSUSE_11.1/), I get a list of files/folders which I dont know what to do with them:

i586/
network:aaa.repo
repodata/
src/
x86_64/

As I got stuck, I tried to "build it" (? new term to me), by placing the tarball in usr/src/packages/SOURCES; extracting the freeradius.spec and placing it in usr/src/packages/SPECS. Then I run from the terminal prompt:

rpmbuild -ba usr/src/packages/SPECS/ freeradius.spec

However I got the message:

marcos at win-219e0010bba:~> rpmbuild -ba /usr/src/packages/SPECS/freeradius.spec
sh: apxs2-prefork: command not found
sh: apxs2-prefork: command not found
sh: apxs2-prefork: command not found
error: Failed build dependencies:
	db-devel is needed by freeradius-server-2.1.4-0.x86_64
	e2fsprogs-devel is needed by freeradius-server-2.1.4-0.x86_64
	gcc-c++ is needed by freeradius-server-2.1.4-0.x86_64
	gdbm-devel is needed by freeradius-server-2.1.4-0.x86_64
	gettext-devel is needed by freeradius-server-2.1.4-0.x86_64
	glibc-devel is needed by freeradius-server-2.1.4-0.x86_64
	libtool is needed by freeradius-server-2.1.4-0.x86_64
	ncurses-devel is needed by freeradius-server-2.1.4-0.x86_64
	openldap2-devel is needed by freeradius-server-2.1.4-0.x86_64
	openssl-devel is needed by freeradius-server-2.1.4-0.x86_64
	pam-devel is needed by freeradius-server-2.1.4-0.x86_64
	postgresql-devel is needed by freeradius-server-2.1.4-0.x86_64
	python-devel is needed by freeradius-server-2.1.4-0.x86_64
	unixODBC-devel is needed by freeradius-server-2.1.4-0.x86_64
	zlib-devel is needed by freeradius-server-2.1.4-0.x86_64
	apache2-devel is needed by freeradius-server-2.1.4-0.x86_64
	cyrus-sasl-devel is needed by freeradius-server-2.1.4-0.x86_64
	krb5-devel is needed by freeradius-server-2.1.4-0.x86_64
	libapr1-devel is needed by freeradius-server-2.1.4-0.x86_64
	libmysqlclient-devel is needed by freeradius-server-2.1.4-0.x86_64
marcos at win-219e0010bba:~> 

I read about this and regarding the dependencies it seems that some "features" are not installed and that I need the OpenSUSE disk to load them from the YAST.

However I can not seem to find what the "sh: apxs2-prefork: command not found" message is about or how to fix that.

I'm stuck again.

Could you help with this?

Thanks in advance





More information about the Freeradius-Users mailing list