Problems installing

2006-11-30 Thread Peter Param
hi all,

I'm trying to install FR onto a new box but am getting errors during
make.  I using Linux debian 2.6.8-2-386.

./configure --with-openssl-libraries=/usr/local/ssl/include/openssl/
--with-rlm-perl-lib-dir=/usr/lib/perl/ --with-snmp=no

errors during make:

*** Warning: Linking the shared library rlm_perl.la against the
*** static library /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a is not
portable!
gcc -shared  .libs/rlm_perl.o  -Wl,--rpath
-Wl,/root/freeradius-1.1.3/src/lib/.libs -Wl,--rpath -Wl,/usr/local/lib
/root/freeradius-1.1.3/src/lib/.libs/libradius.so -L/usr/local/lib
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE
-lperl -ldl -lm -lc -lcrypt -lnsl -lresolv -lpthread  -Wl,-E -Wl,-soname
-Wl,rlm_perl-1.1.3.so -o .libs/rlm_perl-1.1.3.so
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[6]: *** [rlm_perl.la] Error 1
make[6]: Leaving directory `/root/freeradius-1.1.3/src/modules/rlm_perl'
make[5]: *** [common] Error 2
make[5]: Leaving directory `/root/freeradius-1.1.3/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/freeradius-1.1.3/src/modules'
make[3]: *** [common] Error 2
make[3]: Leaving directory `/root/freeradius-1.1.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/freeradius-1.1.3/src'
make[1]: *** [common] Error 2
make[1]: Leaving directory `/root/freeradius-1.1.3'
make: *** [all] Error 2


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been virus
scanned and although no viruses were detected by the system, St Vincents 
Mater Health Sydney accepts no liability for any consequential damage
resulting from email containing any computer viruses.

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


Re: Problems installing

2006-11-30 Thread Stephen Gran
On Fri, Dec 01, 2006 at 10:06:07AM +1100, Peter Param said:
 hi all,
 
 I'm trying to install FR onto a new box but am getting errors during
 make.  I using Linux debian 2.6.8-2-386.
 
 ./configure --with-openssl-libraries=/usr/local/ssl/include/openssl/
 --with-rlm-perl-lib-dir=/usr/lib/perl/ --with-snmp=no
 
 errors during make:
 
 *** Warning: Linking the shared library rlm_perl.la against the
 *** static library /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a is not
 portable!
 gcc -shared  .libs/rlm_perl.o  -Wl,--rpath
 -Wl,/root/freeradius-1.1.3/src/lib/.libs -Wl,--rpath -Wl,/usr/local/lib
 /root/freeradius-1.1.3/src/lib/.libs/libradius.so -L/usr/local/lib
 /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE
 -lperl -ldl -lm -lc -lcrypt -lnsl -lresolv -lpthread  -Wl,-E -Wl,-soname
 -Wl,rlm_perl-1.1.3.so -o .libs/rlm_perl-1.1.3.so
 /usr/bin/ld: cannot find -lperl

apt-get install libperl-dev
-- 
 --
|  Stephen Gran  | Though I'll admit readability suffers   |
|  [EMAIL PROTECTED] | slightly...  -- Larry Wall  |
|  http://www.lobefin.net/~steve | in [EMAIL PROTECTED] |
 --


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

Re: Problems installing

2006-11-30 Thread Peter Param
ah yes.  Thanks it worked.

 [EMAIL PROTECTED] 12/01/06 11:21 AM 
On Fri, Dec 01, 2006 at 10:06:07AM +1100, Peter Param said:
 hi all,
 
 I'm trying to install FR onto a new box but am getting errors during
 make.  I using Linux debian 2.6.8-2-386.
 
 ./configure --with-openssl-libraries=/usr/local/ssl/include/openssl/
 --with-rlm-perl-lib-dir=/usr/lib/perl/ --with-snmp=no
 
 errors during make:
 
 *** Warning: Linking the shared library rlm_perl.la against the
 *** static library /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a is
not
 portable!
 gcc -shared  .libs/rlm_perl.o  -Wl,--rpath
 -Wl,/root/freeradius-1.1.3/src/lib/.libs -Wl,--rpath
-Wl,/usr/local/lib
 /root/freeradius-1.1.3/src/lib/.libs/libradius.so -L/usr/local/lib
 /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl/5.8/CORE
 -lperl -ldl -lm -lc -lcrypt -lnsl -lresolv -lpthread  -Wl,-E
-Wl,-soname
 -Wl,rlm_perl-1.1.3.so -o .libs/rlm_perl-1.1.3.so
 /usr/bin/ld: cannot find -lperl

apt-get install libperl-dev
-- 

--
|  Stephen Gran  | Though I'll admit readability suffers
  |
|  [EMAIL PROTECTED] | slightly...  -- Larry
Wall  |
|  http://www.lobefin.net/~steve | in [EMAIL PROTECTED]  
  |

--


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been virus
scanned and although no viruses were detected by the system, St Vincents 
Mater Health Sydney accepts no liability for any consequential damage
resulting from email containing any computer viruses.

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


RE: Solaris 10 (SPARC 64bit) - problems installing freeradius 1.0.5

2005-11-14 Thread Reiko U.

Garrett's hint :
https://list.xs4all.nl/pipermail/freeradius-users/2005-November/048278.html
solved this problem ...

I've used:
CLFAGS=-I../include -I/usr/sfw/include/openssl ./configure 
--prefix=/usr/local/freeradius --localstatedir=/var/ --sysconfdir=/etc


and make  make install  finished successfully.

great thanks
reiko


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


Solaris 10 (SPARC 64bit) - problems installing freeradius 1.0.5

2005-11-10 Thread Reiko U.

hi all ...

i'm trying to installing freeradius-1.0.5 on a sun-ultra-e220 (2x450MHZ 
ULTRASparcII), OS: Solaris 10 (SPARC 64bit), since three days without 
success. I've read many hours in different news-groups, mailing-lists and 
manuals / howtos but no way. Now i hope someone else already have 
successfully running freeradius on Solaris 10 - Sparc-Architcture and can 
tell me wat's wrong. I've attached the configure.log to this email (hope 
this works in mailinglists ???).


Here are my environments:
uname -a: SunOS r220 5.10 Generic sun4u sparc SUNW,Ultra-60
$CC /usr/local/bin/gcc
$LD_LIBRARY_PATH
/usr/sfw/lib/sparcv9/:/lib/sparcv9/:/usr/sfw/lib/:/lib:/usr/lib:/usr/local/lib:/usr/local/X11/lib:/usr/dt/lib:/usr/openwin/lib
$PATH   
/usr/sbin:/usr/bin:/opt/sfw/bin/:/usr/sfw/bin:/usr/sfw/sbin/:/opt/sfw/sbin/:/sbin/:/usr/sbin/:/usr/ccs/bin/:/usr/local/bin:/usr/local/sbin:/opt/sfw/bin/:/usr/sfw/bin

pkginfo | grep gcc
utility GNUgcc   GNU gcc 3.4.4 SPARC 64bit 
Solaris 10		(installed in /usr/local)

system  SUNWgcc  gcc - The GNU C compiler
system  SUNWgccruntime   GCC Runtime libraries


/usr/local/bin/gcc -v
read specs from /usr/local/lib/gcc/sparc64-sun-solaris2.10/3.4.4/specs
configured with: /var/tmp/gcc-3.4.4/configure --prefix=/usr/local 
--host=sparc64-sun-solaris2.10 --enable-threads=posix 
--with-gxx-include-dir=/usr/local/include/g++ --with-system-zlib 
--enable-shared --with-ld=/usr/ccs/bin/ld --without-gnu-ld

Thread-Modell: posix
gcc-Version 3.4.4




MY PROBLEM:
./configure --localstatedir=/var/ --sysconfdir=/etc/ 
--with-openssl-includes=/usr/sfw/include/openssl/

--with-openssl-libraries=/usr/lib/sparcv9/
produces these warnings:
##
configure: warning: the comm_err library isn't found!
configure: warning: silently not building rlm_krb5.
configure: warning: FAILURE: rlm_krb5 requires:  krb5.
configure: warning: silently not building rlm_ldap.
configure: warning: FAILURE: rlm_ldap requires:  libldap_r.
configure: warning: iodbc headers not found.  Use 
--with-iodbc-include-dir=path.

configure: warning: sql submodule 'iodbc' disabled
configure: warning: silently not building rlm_sql_postgresql.
configure: warning: FAILURE: rlm_sql_postgresql requires:  libpq-fe.h libpq.
configure: warning: oracle headers not found.  Use 
--with-oracle-home-dir=path.

configure: warning: sql submodule 'oracle' disabled
configure: warning: unixODBC headers not found.  Use 
--with-unixodbc-include-dir=path.

configure: warning: sql submodule 'unixodbc' disabled
###

but finished successfully.
./make crashs with the following errors: !I've translated some lines 
because i use a german console!


.
.
.
creating radiusd
gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 
-I/usr/sfw/include/openssl/ -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith 
-Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W 
-Wredundant-decls -Wundef  -I../include  -DHOSTINFO=\\ 
-DRADIUSD_VERSION=\1.0.5\   -c radwho.c
gcc  -L../lib -o radwho radwho.o util.o log.o conffile.o -L/usr/lib/sparcv9/ 
-lssl -L/usr/lib/sparcv9/ -lcrypto -lnsl -lresolv -lsocket -lposix4  
-lpthread  -lradius  -lcrypt

undefined   referenced for first time
Symbol in file
MD5Init ../lib/libradius.a(radius.o)  (symbol is 
part of implicit dependency /lib/libmd5.so.1)
MD5Final../lib/libradius.a(radius.o)  (Symbol 
gehört zu impliziter Abhängigkeit /lib/libmd5.so.1)
MD5Update   ../lib/libradius.a(radius.o)  (Symbol 
gehört zu impliziter Abhängigkeit /lib/libmd5.so.1)

ld: Fatal Error: symbol referencing error. No output in radwho written.
collect2: ld returned 1 exit status
gmake[4]: *** [radwho] Error 1
gmake[4]: Leaving directory `/opt/sfw/freeradius-1.0.5/src/main'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/opt/sfw/freeradius-1.0.5/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/opt/sfw/freeradius-1.0.5/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/opt/sfw/freeradius-1.0.5'
make: *** [all] Error 2
###

Now, I'm not sure is it a comiler problem, a processor problem (64 bit / 
big/little endian) or, i don't think so, a freeradius problem.

Great thanks to all for any 

Problems installing latest snapshot on Solaris 10

2005-10-24 Thread Torkel Mathisen
Hi,

Has anyone been able to install the latest snapshot on Solaris 10?

I get he following error during make:

in file included from /usr/include/arpa/inet.h:45,
 from ../include/libradius.h:33,
 from dict.c:42:
/usr/include/sys/socket.h:260: error: redefinition of 'struct
sockaddr_storage'
gmake[4]: *** [dict.lo] Error 1
gmake[3]: *** [common] Error 2
gmake[2]: *** [all] Error 2
gmake[1]: *** [common] Error 2
make: *** [all] Error 2

I found something about this error online, but not really a solution.

Can anyone help me?

Regards,
Torkel

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