Fedora 1.1.6 rpm build BROKEN

Jacob Jarick mem.namefix at gmail.com
Thu Apr 19 06:50:37 CEST 2007


The deps have incorrect names, ie requests apache2-devel but fedora
calls it httpd2-devel and so on.

So atm, rpm building completely broken, any comments / suggestions are
welcome. I will be going back to compiling from source until the bins
are resolved.

I suppose I could use some "random rpm" for 1.1.6 or compile the
source but for now I will go back to using 1.1.3 that is provided with
fedora (it installs without dep errors).

---------- Forwarded message ----------
From: Jacob Jarick <mem.namefix at gmail.com>
Date: Apr 19, 2007 10:18 AM
Subject: 1.1.6 rpm build errors
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>


Notes:
* The wiki glosses over a little and gives u an incorrect dir
* the spec file expects 1.1.5 tar.gz

# cd /usr/src
# tar zxvf /root/Desktop/freeradius-1.1.6.tar.gz
# cp /root/Desktop/freeradius-1.1.6.tar.gz
/usr/src/redhat/SOURCES/freeradius-1.1.5.tar.gz
# cp freeradius-1.1.6/suse/freeradius.spec  /usr/src/redhat/SPECS/
# rpmbuild -ba /usr/src/redhat/SPECS/freeradius.spec

^ that gets me to this point here:

[root at localhost src]# rpmbuild -ba /usr/src/redhat/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:
        apache2-devel is needed by freeradius-1.1.5-0.generic.i386
        db-devel is needed by freeradius-1.1.5-0.generic.i386
        gettext-devel is needed by freeradius-1.1.5-0.generic.i386
        mysql-devel is needed by freeradius-1.1.5-0.generic.i386
        net-snmp-devel is needed by freeradius-1.1.5-0.generic.i386
        openldap2-devel is needed by freeradius-1.1.5-0.generic.i386
        postgresql-devel is needed by freeradius-1.1.5-0.generic.i386
        unixODBC-devel is needed by freeradius-1.1.5-0.generic.i386

now checking yum and smart --gui I do not see apache2-devel for starters.

So for the mean time I am back to compiling as rpm's are causing the
issues they are famous for. If some1 has some tips on resolving
dependancies I will be intrested. But I do not see what it needs
apache2 headers anyway.



More information about the Freeradius-Users mailing list