Re: 1.1.3 on Solaris 10 (sparc)

2006-09-07 Thread Rob Shepherd

Rafiqul Ahsan wrote:
Thanks to Lin, Mercel, and Rob for your input. I am not sure about 
Mercel's comment on value of AR, this has been set to false in the 
Makefile at libltdl/ directory (where it actually fails). The question 
is what value should it be ?
 
Also, Rob - when I put the /usr/ccs/bin/ on top of my PATH, it picks a 
make that gives me error as make: Fatal error in reader: Makefile, line 
41: Unexpected end of line seen. Wheras my earlier picks on make file 
from /usr/local/bin - did not give me this error. Following is the 
various command output FYI. Also - I could you please explain a little 
more on where to put this get -R/path/to/dep alongside the -L linker 
flags (an example would be appreciated). Is it needed to add on the 
Makefile on ./libltdl/ directory ?
 
Thanks for your help.
 
Rafi
 



I've got the ball rolling with a Solaris build page on the WIKI

http://wiki.freeradius.org/index.php/Solaris

Rob


--
Rob Shepherd | Computer and Network Engineer | Technium CAST | LL57 4HJ
[EMAIL PROTECTED] | 01248 675024 | 07776 210516
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: 1.1.3 on Solaris 10 (sparc)

2006-09-07 Thread Rob Shepherd

Peter Nixon wrote:


Thanks for doing this, however there is already a Solaris section on 
the Build page of the wiki at:


My Bad!



http://wiki.freeradius.org/index.php/Build#Building_on_Solaris_10

I think the info you have added should probably be rolled into that page 
rather than starting a new one.




The method described on the Build#Building_on_Solaris_10 page is a 
different method altogether, not that either way is wrong of course.


When I have time, I'll familiarise myself with the approach of the
exisiting method and attempt to merge the information without confusing
either method.

At present mine is an 'alternative', and I'm biased to state that it's
the easiest method, of course.

I've linked it as an alternative into the original document, hopefully
it can still be of some help.

Cheers

Rob



--
Rob Shepherd | Computer and Network Engineer | Technium CAST | LL57 4HJ
[EMAIL PROTECTED] | 01248 675024 | 07776 210516

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


Re: 1.1.3 on Solaris 10 (sparc)

2006-09-07 Thread Lin Richardson
Cool, I'll have to take a closer look at Method 2.On 9/7/06, Rob Shepherd [EMAIL PROTECTED] wrote:
Peter Nixon wrote: Thanks for doing this, however there is already a Solaris section on
 the Build page of the wiki at:My Bad! http://wiki.freeradius.org/index.php/Build#Building_on_Solaris_10
 I think the info you have added should probably be rolled into that page rather than starting a new one.The method described on the Build#Building_on_Solaris_10 page is adifferent method altogether, not that either way is wrong of course.
When I have time, I'll familiarise myself with the approach of theexisiting method and attempt to merge the information without confusingeither method.At present mine is an 'alternative', and I'm biased to state that it's
the easiest method, of course.I've linked it as an alternative into the original document, hopefullyit can still be of some help.CheersRob--Rob Shepherd | Computer and Network Engineer | Technium CAST | LL57 4HJ
[EMAIL PROTECTED] | 01248 675024 | 07776 210516-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: 1.1.3 on Solaris 10 (sparc)

2006-09-06 Thread Marcel . De_Boer

Lin Richardson wrote:
You should post this to thet userlist (I am cc'ing them on this 
reply).  Perhaps someone there has seen the false cru error before...


I'm no compiler guru, but google tells me that libtool may be to blame. 
I don't acutally show libtool installed on my box and don't know much 
about it.
I'm no compiler guru either, but the system appears to be missing 'ar' 
(I thought I remembered 'ar' being called with options 'cru' before, and 
the config.log confirms this:)


Error:


false cru .libs/libltdl.a  ltdl.o
gmake[3]: *** [libltdl.la http://libltdl.la] Error 1
gmake[3]: Leaving directory
`/export/home/dev/rafi_dir/free_radius_1.1.3/freeradius-1.1.3/libltdl'


config.log:


checking for ar... false

Apparently something is wrong with the configure script, and it uses 
'false' as the command for 'ar', instead of exiting with an error 
because it couldn't find 'ar'.



Gtnx
   Marcel

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


Re: 1.1.3 on Solaris 10 (sparc)

2006-09-06 Thread Rob Shepherd

[EMAIL PROTECTED] wrote:

Lin Richardson wrote:
You should post this to thet userlist (I am cc'ing them on this 
reply).  Perhaps someone there has seen the false cru error before...


I'm no compiler guru, but google tells me that libtool may be to 
blame. I don't acutally show libtool installed on my box and don't 
know much about it.
I'm no compiler guru either, but the system appears to be missing 'ar' 
(I thought I remembered 'ar' being called with options 'cru' before, and 
the config.log confirms this:)


For solaris...

Add /usr/ccs/bin to the top of your path.

In addition, as mentioned in this thread. The preferable way of 
satisfying run time lib dependencies on solaris is by get -R/path/to/dep 
alongside the -L linker flags.


Rob




--
Rob Shepherd | Computer and Network Engineer | Technium CAST | LL57 4HJ
[EMAIL PROTECTED] | 01248 675024 | 07776 210516
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: 1.1.3 on Solaris 10 (sparc)

2006-09-06 Thread Lin Richardson
So to confirm the observations and comments above:My environment worked without any errors. The following give some detail as to why.bash-3.00# which ar/usr/ccs/bin/arbash-3.00# echo $PATH/usr/local/bin:/usr/bin:/usr/ccs/bin:/usr/sbin
ar is a command line tool that is not in your path, so I guess ./configure sets it to false... and then tries to run it with the command false.Fix your path to include the location of ar and you will probably have better results. Thanks to the others on the list for catching this detail. 
It may be a good idea to add to the wiki as well.LinOn 9/6/06, Rafiqul Ahsan [EMAIL PROTECTED]
 wrote:Thanks to Lin, Mercel, and Rob for your input. I am not sure about Mercel's comment on value of AR, this has been set to false in the Makefile at libltdl/ directory (where it actually fails). The question is what value should it be ?


Also, Rob - when I put the /usr/ccs/bin/ on top of my PATH, it picks a make that gives me error as make: Fatal error in reader: Makefile, line 41: Unexpected end of line seen. Wheras my earlier picks on make file from /usr/local/bin - did not give me this error. Following is the various command output FYI. Also - I could you please explain a little more on where to put this get -R/path/to/dep alongside the -L linker flags (an example would be appreciated). Is it needed to add on the Makefile on ./libltdl/ directory ?


Thanks for your help.

Rafi


# /usr/local/bin/make -vGNU Make 3.80Copyright (C) 2002 Free Software Foundation, Inc.This is free software; see the source for copying conditions.There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.# /usr/ccs/bin/make -vmake: Warning: Ignoring DistributedMake -v optionmake: Fatal error in reader: Makefile, line 41: Unexpected end of line seen
Here is my PATH (after I added /usr/ccs/bin - as suggested by Rob)
# echo $PATH/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/sfw/bin/:/usr/local/bin


On 9/6/06, Rob Shepherd [EMAIL PROTECTED]
 wrote:

[EMAIL PROTECTED] wrote: Lin Richardson wrote:
 You should post this to thet userlist (I am cc'ing them on this reply).Perhaps someone there has seen the false cru error before... I'm no compiler guru, but google tells me that libtool may be to
 blame. I don't acutally show libtool installed on my box and don't know much about it. I'm no compiler guru either, but the system appears to be missing 'ar' (I thought I remembered 'ar' being called with options 'cru' before, and
 the config.log confirms this:)For solaris...Add /usr/ccs/bin to the top of your path.In addition, as mentioned in this thread. The preferable way ofsatisfying run time lib dependencies on solaris is by get -R/path/to/dep
alongside the -L linker flags.Rob--Rob Shepherd | Computer and Network Engineer | Technium CAST | LL57 4HJ
[EMAIL PROTECTED] | 01248 675024 | 07776 210516
-List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Rafiqul Ahsan630-717-1698(h)
2120 Periwinkle Ln 630-689-1457(h)Naperville, IL 60540847-812-6176(c)

-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: 1.1.3 on Solaris 10 (sparc)

2006-09-06 Thread Rafiqul Ahsan
Hi Lin, and others

It worked with the path. I am able to build, and install the free radius on Solaris 10. Thanks for your help.
I am planning to add EAP-AKA on the Free radius, as I understand this does not support currently. Any idea where to start ?

Thanks for your help.

Rafi
On 9/6/06, Lin Richardson [EMAIL PROTECTED] wrote:

So to confirm the observations and comments above:My environment worked without any errors. The following give some detail as to why.bash-3.00# which ar/usr/ccs/bin/arbash-3.00# echo $PATH
/usr/local/bin:/usr/bin:/usr/ccs/bin:/usr/sbin ar is a command line tool that is not in your path, so I guess ./configure sets it to false... and then tries to run it with the command false.Fix your path to include the location of ar and you will probably have better results. Thanks to the others on the list for catching this detail. 
It may be a good idea to add to the wiki as well.
Lin

On 9/6/06, Rafiqul Ahsan [EMAIL PROTECTED] 
 wrote: 


Thanks to Lin, Mercel, and Rob for your input. I am not sure about Mercel's comment on value of AR, this has been set to false in the Makefile at libltdl/ directory (where it actually fails). The question is what value should it be ? 


Also, Rob - when I put the /usr/ccs/bin/ on top of my PATH, it picks a make that gives me error as make: Fatal error in reader: Makefile, line 41: Unexpected end of line seen. Wheras my earlier picks on make file from /usr/local/bin - did not give me this error. Following is the various command output FYI. Also - I could you please explain a little more on where to put this get -R/path/to/dep alongside the -L linker flags (an example would be appreciated). Is it needed to add on the Makefile on ./libltdl/ directory ? 


Thanks for your help.

Rafi


# /usr/local/bin/make -vGNU Make 3.80Copyright (C) 2002 Free Software Foundation, Inc.This is free software; see the source for copying conditions.There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE.# /usr/ccs/bin/make -vmake: Warning: Ignoring DistributedMake -v optionmake: Fatal error in reader: Makefile, line 41: Unexpected end of line seen
Here is my PATH (after I added /usr/ccs/bin - as suggested by Rob)
# echo $PATH/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/sfw/bin/:/usr/local/bin



On 9/6/06, Rob Shepherd [EMAIL PROTECTED] 
 wrote: 

[EMAIL PROTECTED] wrote: Lin Richardson wrote:  You should post this to thet userlist (I am cc'ing them on this reply).Perhaps someone there has seen the false cru error before...
 I'm no compiler guru, but google tells me that libtool may be to  blame. I don't acutally show libtool installed on my box and don't know much about it. I'm no compiler guru either, but the system appears to be missing 'ar'
 (I thought I remembered 'ar' being called with options 'cru' before, and  the config.log confirms this:)For solaris...Add /usr/ccs/bin to the top of your path.In addition, as mentioned in this thread. The preferable way of
satisfying run time lib dependencies on solaris is by get -R/path/to/dep alongside the -L linker flags.Rob--Rob Shepherd | Computer and Network Engineer | Technium CAST | LL57 4HJ
[EMAIL PROTECTED] | 01248 675024 | 07776 210516 -List info/subscribe/unsubscribe? See 
http://www.freeradius.org/list/users.html
-- Rafiqul Ahsan630-717-1698(h) 2120 Periwinkle Ln 630-689-1457(h)Naperville, IL 60540847-812-6176(c)-List info/subscribe/unsubscribe? See 
http://www.freeradius.org/list/users.html -List info/subscribe/unsubscribe? See 
http://www.freeradius.org/list/users.html-- Rafiqul Ahsan630-717-1698(h)2120 Periwinkle Ln 630-689-1457(h)Naperville, IL 60540847-812-6176(c)

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

Re: 1.1.3 on Solaris 10 (sparc)

2006-09-06 Thread Alan DeKok
Rafiqul Ahsan [EMAIL PROTECTED] wrote:
 I am planning to add EAP-AKA on the Free radius, as I understand this does
 not support currently. Any idea where to start ?

  There's a patch on bugzilla.

  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: 1.1.3 on Solaris 10 (sparc)

2006-08-30 Thread Bernie Dolan

Geoffroy,
I would be most intersted in your posting. At this point I'm try to get 
plain old rlm_unix working using /etc/passwd  secret to get a foundation 
established, but I'm getting authnet failures, which I think are to do with 
the compliation and radiusd.conf of unix and pam.

Regards
BernieD

- Original Message - 
From: Geoffroy Arnoud [EMAIL PROTECTED]

To: FreeRadius users mailing list freeradius-users@lists.freeradius.org
Sent: Tuesday, August 29, 2006 4:08 PM
Subject: Re : 1.1.3 on Solaris 10 (sparc)


I am quite pleased to report I have, with minimal discomfort, version 
1.1.3 running on Solaris 10.


The source actually compiles perfectly once OS dependencies etc. are met.
I will share a few tips here for any who may be attempting the same.
My main goal was LDAP functionality.  Other bells and whistles might 
require additional steps.
Please forgive the Solaris info here, it is dangerously close to being 
off-topic... except that you need

it to install freeradius.


I suggest that those tips shall be stored in the docs directory under 
FreeRadius CVS.


Geoff.



-
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: 1.1.3 on Solaris 10 (sparc)

2006-08-30 Thread Alan DeKok
 I would be most intersted in your posting. At this point I'm try to get 
 plain old rlm_unix working using /etc/passwd  secret to get a foundation 
 established, but I'm getting authnet failures, which I think are to do with 
 the compliation and radiusd.conf of unix and pam.

  So... post the debug log.

  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 : 1.1.3 on Solaris 10 (sparc)

2006-08-29 Thread Geoffroy Arnoud
 I am quite pleased to report I have, with minimal discomfort, version 1.1.3 
 running on Solaris 10. 
  
 The source actually compiles perfectly once OS dependencies etc. are met. 
 I will share a few tips here for any who may be attempting the same.  
 My main goal was LDAP functionality.  Other bells and whistles might require 
 additional steps. 
 Please forgive the Solaris info here, it is dangerously close to being 
 off-topic... except that you need 
 it to install freeradius.  
 
I suggest that those tips shall be stored in the docs directory under 
FreeRadius CVS. 
 
Geoff. 
 


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


Re: 1.1.3 on Solaris 10 (sparc)

2006-08-29 Thread Peter Nixon
On Tue 29 Aug 2006 00:45, Lin Richardson wrote:
 I am quite pleased to report I have, with minimal discomfort, version
 1.1.3running on Solaris 10.

 The source actually compiles perfectly once OS dependencies etc. are met.
 I will share a few tips here for any who may be attempting the same.
 My main goal was LDAP functionality.  Other bells and whistles might
 require additional steps.
 Please forgive the Solaris info here, it is dangerously close to being
 off-topic... except that you need it to install freeradius.

Hi Lin

We appreciate the info and would appreciate it even more if you would take the 
time to add it to the wiki at http://wiki.freeradius.org/

Cheers

-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc


pgpGEfHJwCQuu.pgp
Description: PGP signature
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

1.1.3 on Solaris 10 (sparc)

2006-08-28 Thread Lin Richardson
I am quite pleased to report I have, with minimal discomfort, version 1.1.3 running on Solaris 10.The source actually compiles perfectly once OS dependencies etc. are met.I will share a few tips here for any who may be attempting the same.
My main goal was LDAP functionality. Other bells and whistles might require additional steps.Please forgive the Solaris info here, it is dangerously close to being off-topic... except that you need it to install freeradius.
---Solaris System HeadersSolaris 10 will likely require you to fix the system headers.http://sunfreeware.com/indexsparc10.html
.

Commands as root:
cd /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools/vi mkheaders.conf
 - Then put the line SHELL=/bin/sh on the first line of the mkheaders.conf
file.
 - It should look something like the following:
SHELL=/bin/sh
SYSTEM_HEADER_DIR=/usr/include
OTHER_FIXINCLUDES_DIRS=
FIXPROTO_DEFINES=
STMP_FIXPROTO=stmp-fixproto
STMP_FIXINC=stmp-fixinc

Then you run the following command as root.  It may take several minutes to rebuild the headers.
./mkheaders---Solaris PackagesSolaris 10 has versions of openssl and openLDAP installed I believe with the system. They do not fulfill the compile requirements for freeradius functionality.
you should go to http://sunfreeware.com/  and get the packages there, and also resolve any unmet dependencies.If you have other modules you are concerned with that are not building correctly, don't trust the OS packages. Look for equiv packages and try the build with them installed as well.
download packagegunzip packagename.gzsudo pkgadd -d packagename---
Installing FreeRadiusInstalling actually went off without a hitch. ./configure, make, sudo make installNo problems except I needed the packages so rlm_ldap would compile properly.---
RunTime EnvironmentIn order for the ldap queries to work, the following needs to be set
as an environmental variable, OR if you're handy with compiler flags
you can take care of it during the compile with the `-RLIBDIR' linker
flag.

export LD_LIBRARY_PATH=/usr/local/lib/;/usr/local/freeradius-1.1.3/lib

The two locations in the above path are for access to the libgcc_s.so.1 libraries and the rlm_ldap libraries respectively.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html