Re: Fedora 1.1.6 rpm build BROKEN

2007-04-19 Thread Alan DeKok
Jacob Jarick wrote:
 The deps have incorrect names, ie requests apache2-devel but fedora
 calls it httpd2-devel and so on.

  The Redhat freeradius.spec file distributed with FreeRADIUS doesn't
reference apache2-devel.  If you're using the Redhat spec file, please
ask them about fixing it.

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

  The Redhat spec file distributed with FreeRADIUS has the correct
version number.

 # cp freeradius-1.1.6/suse/freeradius.spec  /usr/src/redhat/SPECS/
 # rpmbuild -ba /usr/src/redhat/SPECS/freeradius.spec

  Oh... you're using the SUSE spec file on a REDHAT platform.

  Perhaps you could try using the REDHAT spec file on a REDHAT platform.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Fedora 1.1.6 rpm build BROKEN

2007-04-19 Thread A . L . M . Buxey
Hi,
 The deps have incorrect names, ie requests apache2-devel but fedora
 calls it httpd2-devel and so on.


argh!!!

now it all makes sense. from your previous email you said

cp freeradius-1.1.6/suse/freeradius.spec  /usr/src/redhat/SPECS/


why the **  would you be trying to use a SUSE spec file on
a Fedora system???   Fedora is REDHAT.  use the REDHAT spec file!

/freeradius-1.1.6/redhat/

look. not only the correct spec file, but also a nice init.d script
so you can run it as a service upon boot. oh! and a nice
logrotate script too.

I really cant see the problem here.

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


Re: Fedora 1.1.6 rpm build BROKEN

2007-04-19 Thread Jacob Jarick
hahaha sorry alan.

Big mistake of mine, I am dsylexic and yer well there u go.
I was reading suse as fedors (dont ask why).

Sorry for the false alarm, I did check and double check but sometimes
I never see the words right once I have mis-read them until some1 else
points it out.

So I should be using the redhat spec file for fedora correct ? - will
try that asap.

On 4/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi,
  The deps have incorrect names, ie requests apache2-devel but fedora
  calls it httpd2-devel and so on.


 argh!!!

 now it all makes sense. from your previous email you said

 cp freeradius-1.1.6/suse/freeradius.spec  /usr/src/redhat/SPECS/


 why the **  would you be trying to use a SUSE spec file on
 a Fedora system???   Fedora is REDHAT.  use the REDHAT spec file!

 /freeradius-1.1.6/redhat/

 look. not only the correct spec file, but also a nice init.d script
 so you can run it as a service upon boot. oh! and a nice
 logrotate script too.

 I really cant see the problem here.

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

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


Re: Fedora 1.1.6 rpm build BROKEN

2007-04-19 Thread A . L . M . Buxey
Hi,

 So I should be using the redhat spec file for fedora correct ? - will

correct. SUSE is a very different beast to RedHat - as you have
discovered

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


Re: Fedora 1.1.6 rpm build BROKEN

2007-04-19 Thread Jacob Jarick
Here is my updated Install (now the same as the wikis) and yes works
the way I expected. Swapping to 1.1.6 now, then back to figuring out
LDAP :)

# 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/
# cp freeradius-1.1.6/redhat/freeradius.spec  /usr/src/redhat/SPECS/
# rpmbuild -ba /usr/src/redhat/SPECS/freeradius.spec

On 4/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi,

  So I should be using the redhat spec file for fedora correct ? - will

 correct. SUSE is a very different beast to RedHat - as you have
 discovered

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

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


Re: Fedora 1.1.6 rpm build BROKEN

2007-04-19 Thread Peter Nixon
On Thu 19 Apr 2007, [EMAIL PROTECTED] wrote:
 Hi,

  So I should be using the redhat spec file for fedora correct ? - will

 correct. SUSE is a very different beast to RedHat - as you have
 discovered

Erm.. Having said that, the SUSE spec file should and DOES build on Fedora as 
well. I have gone to quite some trouble to make it compatible with SUSE, 
Fedora and Mandriva.. The same is not true for the existing RedHat spec 
file..

Cheers

-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Fedora 1.1.6 rpm build BROKEN

2007-04-19 Thread Jacob Jarick
Unless I did something wrong mate it def doesnt build (dependancies
have diff names).

On the topic though. 1.1.6 built fine from the redhat spec file, I am
going to trial it once Im done with testing this ldap search problem.

On 4/19/07, Peter Nixon [EMAIL PROTECTED] wrote:
 On Thu 19 Apr 2007, [EMAIL PROTECTED] wrote:
  Hi,
 
   So I should be using the redhat spec file for fedora correct ? - will
 
  correct. SUSE is a very different beast to RedHat - as you have
  discovered

 Erm.. Having said that, the SUSE spec file should and DOES build on Fedora as
 well. I have gone to quite some trouble to make it compatible with SUSE,
 Fedora and Mandriva.. The same is not true for the existing RedHat spec
 file..

 Cheers

 --

 Peter Nixon
 http://www.peternixon.net/
 PGP Key: http://www.peternixon.net/public.asc
 -
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

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


Re: Fedora 1.1.6 rpm build BROKEN

2007-04-19 Thread Peter Nixon
On Thu 19 Apr 2007, Jacob Jarick wrote:
 Unless I did something wrong mate it def doesnt build (dependancies
 have diff names).

Well, sorry. to be more clear, the latest version of the spec file which is 
used to build the rpms in opensuse does. I may have forgotten to commit this 
back to cvs. The rpms and source rpms which you may simply rebuild are at:

http://software.opensuse.org/download/network:/aaa/

-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Fedora 1.1.6 rpm build BROKEN

2007-04-18 Thread Jacob Jarick
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 [EMAIL PROTECTED]
Date: Apr 19, 2007 10:18 AM
Subject: 1.1.6 rpm build errors
To: FreeRadius users mailing list freeradius-users@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:

[EMAIL PROTECTED] 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.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html