Re: unable to buld FreeRADIUS 2.0.5 under Solaris 10

2008-07-31 Thread Artur Frysiak

Ralf S. Engelschall pisze:

On Wed, Jul 30, 2008, Artur Frysiak wrote:


Victor G. Bolshakov wrote:

I try to build openldap and also without success:

 /openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H
-I../../../include -I../../../include -I.. -I./.. -I/openpkg/include
-I/openpkg/include/pth -c monitor.c -o monitor.o
In file included from ../../../include/ac/signal.h:20,
 from ../slap.h:38,
 from ../back-monitor/back-monitor.h:28,
 from back-ldap.h:27,
 from monitor.c:33:
/usr/include/signal.h:222: error: conflicting types for 'pth_sigwait'
/openpkg/include/pth/pth.h:536: error: previous declaration of
'pth_sigwait' was here
make[3]: *** [monitor.lo] Error 1
make[2]: *** [.backend] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1

On Solaris 9:

/bin/sh ../../..//libtool --tag=disable-shared --mode=compile
/openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H
-I../../../include-I../../../include -I.. -I./..
-I/openpkg/include -I/openpkg/include/pth-c monitor.c
 /openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H
-I../../../include -I../../../include -I.. -I./.. -I/openpkg/include
-I/openpkg/include/pth -c monitor.c -o monitor.o
In file included from ../../../include/ac/signal.h:20,
 from ../slap.h:38,
 from ../back-monitor/back-monitor.h:28,
 from back-ldap.h:27,
 from monitor.c:33:
/openpkg/lib/gcc/sparc-sun-solaris2.9/4.2.4/include/signal.h:218: error:
conflicting types for 'pth_sigwait'
/openpkg/include/pth/pth.h:536: error: previous declaration of
'pth_sigwait' was here


Ok, I applied a workaround. Please retry with the latest openldap
package as of this evening.


Build fine. Thanks.

--
Artur Frysiak


KOELNER S.A. z siedzib? we Wroc?awiu przy ul. Kwidzy?skiej 6,
51-416 Wroc?aw, zarejestrowana w rejestrze przedsi?biorców
prowadzonym przez S?d Rejonowy dla Wroc?awia-Fabrycznej
Wydzia? VI Gospodarczy Krajowego Rejestru S?dowego pod
numerem KRS 033537, NIP 895-16-87-880,
kapita? zak?adowy: 32.560.000,00 z? w ca?o?ci wp?acony
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: unable to buld FreeRADIUS 2.0.5 under Solaris 10

2008-07-31 Thread Victor G. Bolshakov

Ralf S. Engelschall wrote:

On Wed, Jul 30, 2008, Artur Frysiak wrote:


Victor G. Bolshakov wrote:

I try to build openldap and also without success:

 /openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H
-I../../../include -I../../../include -I.. -I./.. -I/openpkg/include
-I/openpkg/include/pth -c monitor.c -o monitor.o
In file included from ../../../include/ac/signal.h:20,
 from ../slap.h:38,
 from ../back-monitor/back-monitor.h:28,
 from back-ldap.h:27,
 from monitor.c:33:
/usr/include/signal.h:222: error: conflicting types for 'pth_sigwait'
/openpkg/include/pth/pth.h:536: error: previous declaration of
'pth_sigwait' was here
make[3]: *** [monitor.lo] Error 1
make[2]: *** [.backend] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1

On Solaris 9:

/bin/sh ../../..//libtool --tag=disable-shared --mode=compile
/openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H
-I../../../include-I../../../include -I.. -I./..
-I/openpkg/include -I/openpkg/include/pth-c monitor.c
 /openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H
-I../../../include -I../../../include -I.. -I./.. -I/openpkg/include
-I/openpkg/include/pth -c monitor.c -o monitor.o
In file included from ../../../include/ac/signal.h:20,
 from ../slap.h:38,
 from ../back-monitor/back-monitor.h:28,
 from back-ldap.h:27,
 from monitor.c:33:
/openpkg/lib/gcc/sparc-sun-solaris2.9/4.2.4/include/signal.h:218: error:
conflicting types for 'pth_sigwait'
/openpkg/include/pth/pth.h:536: error: previous declaration of
'pth_sigwait' was here


Ok, I applied a workaround. Please retry with the latest openldap
package as of this evening.


new version of openldap package under solaris 10 compiled.

freeradius with and without openldap not
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: unable to buld FreeRADIUS 2.0.5 under Solaris 10

2008-07-31 Thread Ralf S. Engelschall
On Thu, Jul 31, 2008, Victor G. Bolshakov wrote:

 [...]
 freeradius with and without openldap not

That was because the remaining problem was related to Libtool and not
OpenLDAP. I applied a patch which now has resolved the problem for me
under Solaris 10. Just retry with the latest freeradius package from
today.
   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: unable to buld FreeRADIUS 2.0.5 under Solaris 10

2008-07-31 Thread Victor G. Bolshakov

Ralf S. Engelschall wrote:

On Thu, Jul 31, 2008, Victor G. Bolshakov wrote:


[...]
freeradius with and without openldap not


That was because the remaining problem was related to Libtool and not
OpenLDAP. I applied a patch which now has resolved the problem for me
under Solaris 10. Just retry with the latest freeradius package from
today.


1. Wrong href for freeradius in 00INDEX.rdf.bz2
rdf:Description about=freeradius-2.0.5-20080731 
href=00UPLOAD/freeradius-2.0.5-20080731.src.rpm

2. I'm unable to build latest package...
(cd .libs  /openpkg/bin/cc  -I/openpkg/RPM/TMP/freeradius-server-2.0.5/src/include -O2 -pipe -I/openpkg/include -c 
-fno-builtin radiusdS.c)

rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
/openpkg/bin/cc .libs/radiusdS.o -o radiusd acct.o auth.o client.o conffile.o crypt.o exec.o files.o listen.o log.o 
mainconfig.o modules.o modcall.o radiusd.o radius_snmp.o session.o smux.o threads.o util.o valuepair.o version.o xlat.o 
event.o realms.o evaluate.o vmps.o detail.o -Wl,--export-dynamic  ../modules/rlm_acctlog/.libs/rlm_acctlog.a 
-L/openpkg/lib ../modules/rlm_acct_unique/.libs/rlm_acct_unique.a ../modules/rlm_always/.libs/rlm_always.a 
../modules/rlm_attr_filter/.libs/rlm_attr_filter.a ../modules/rlm_attr_rewrite/.libs/rlm_attr_rewrite.a 
../modules/rlm_chap/.libs/rlm_chap.a ../modules/rlm_checkval/.libs/rlm_checkval.a 
../modules/rlm_copy_packet/.libs/rlm_copy_packet.a ../modules/rlm_counter/.libs/rlm_counter.a 
../modules/rlm_detail/.libs/rlm_detail.a ../modules/rlm_digest/.libs/rlm_digest.a ../modules/rlm_eap/.libs/rlm_eap.a 
../modules/rlm_exec/.libs/rlm_exec.a ../modules/rlm_expiration/.libs/rlm_expiration.a 
../modules/rlm_expr/.libs/rlm_expr.a ../modules/rlm_fastusers/.libs/rlm_fastusers.a 
../modules/rlm_files/.libs/rlm_files.a ../modules/rlm_ippool/.libs/rlm_ippool.a /openpkg/lib/libgdbm.a 
../modules/rlm_logintime/.libs/rlm_logintime.a ../modules/rlm_mschap/.libs/rlm_mschap.a 
../modules/rlm_pap/.libs/rlm_pap.a ../modules/rlm_passwd/.libs/rlm_passwd.a 
../modules/rlm_preprocess/.libs/rlm_preprocess.a ../modules/rlm_radutmp/.libs/rlm_radutmp.a 
../modules/rlm_realm/.libs/rlm_realm.a ../modules/rlm_sqlcounter/.libs/rlm_sqlcounter.a 
../modules/rlm_sql_log/.libs/rlm_sql_log.a ../modules/rlm_unix/.libs/rlm_unix.a ../modules/rlm_policy/.libs/rlm_policy.a 
../modules/rlm_eap/types/rlm_eap_md5/.libs/rlm_eap_md5.a ../modules/rlm_eap/types/rlm_eap_leap/.libs/rlm_eap_leap.a 
../modules/rlm_eap/types/rlm_eap_sim/.libs/rlm_eap_sim.a 
/openpkg/RPM/TMP/freeradius-server-2.0.5/src/modules/rlm_eap/libeap/.libs/libfreeradius-eap.a 
../modules/rlm_eap/types/rlm_eap_mschapv2/.libs/rlm_eap_mschapv2.a 
../modules/rlm_eap/types/rlm_eap_gtc/.libs/rlm_eap_gtc.a ../modules/rlm_eap/libeap/.libs/libfreeradius-eap.a 
/openpkg/RPM/TMP/freeradius-server-2.0.5/src/lib/.libs/libfreeradius-radius.a -lnsl -lresolv -lsocket -lcrypt 
/openpkg/lib/libltdl.a -L/openpkg/lib/ -lssl -lcrypto

modules.o: In function `setup_modules':
modules.c:(.text+0x10b4): undefined reference to 
`lt__PROGRAM__LTX_preloaded_symbols'
modules.c:(.text+0x10c4): undefined reference to 
`lt__PROGRAM__LTX_preloaded_symbols'
collect2: ld returned 1 exit status
rm -f .libs/radiusdS.o
gmake[4]: *** [radiusd] Error 1
gmake[3]: *** [common] Error 2
gmake[2]: *** [all] Error 2
gmake[1]: *** [common] Error 2
make: *** [all] Error 2
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: unable to buld FreeRADIUS 2.0.5 under Solaris 10

2008-07-31 Thread Ralf S. Engelschall
On Thu, Jul 31, 2008, Victor G. Bolshakov wrote:

 Ralf S. Engelschall wrote:
 On Thu, Jul 31, 2008, Victor G. Bolshakov wrote:

 [...]
 freeradius with and without openldap not

 That was because the remaining problem was related to Libtool and not
 OpenLDAP. I applied a patch which now has resolved the problem for me
 under Solaris 10. Just retry with the latest freeradius package from
 today.

 1. Wrong href for freeradius in 00INDEX.rdf.bz2
 rdf:Description about=freeradius-2.0.5-20080731 
 href=00UPLOAD/freeradius-2.0.5-20080731.src.rpm

This certainly was just a temporary problem as you were faster than the
upload processing procedure picked up and relocated the new source RPM.

 2. I'm unable to build latest package...
 [...]

Sure, because you still used the older package version. Retry now. The
00INDEX.rdf.bz2 should be now correct as the uploaded newer package was
already relocated to the final location.

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: unable to buld FreeRADIUS 2.0.5 under Solaris 10

2008-07-31 Thread Ralf S. Engelschall
On Thu, Jul 31, 2008, Victor G. Bolshakov wrote:

 Ralf S. Engelschall wrote:
 On Thu, Jul 31, 2008, Victor G. Bolshakov wrote:

 Ralf S. Engelschall wrote:
 On Thu, Jul 31, 2008, Victor G. Bolshakov wrote:

 [...]
 freeradius with and without openldap not
 That was because the remaining problem was related to Libtool and not
 OpenLDAP. I applied a patch which now has resolved the problem for me
 under Solaris 10. Just retry with the latest freeradius package from
 today.
 1. Wrong href for freeradius in 00INDEX.rdf.bz2
 rdf:Description about=freeradius-2.0.5-20080731 
 href=00UPLOAD/freeradius-2.0.5-20080731.src.rpm

 This certainly was just a temporary problem as you were faster than the
 upload processing procedure picked up and relocated the new source RPM.

 2. I'm unable to build latest package...
 [...]

 Sure, because you still used the older package version. Retry now. The
 00INDEX.rdf.bz2 should be now correct as the uploaded newer package was
 already relocated to the final location.

 Strange, but i just ftp://ftp.openpkg.org/current/SRC/00INDEX.rdf.bz2
 downloaded from ftp and find
 href=00UPLOAD/freeradius-2.0.5-20080731.src.rpm in it...

Ah, there was a problem in processing the file.
Now fixed. File should be now updated within the next 15 minutes.

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: unable to buld FreeRADIUS 2.0.5 under Solaris 10

2008-07-31 Thread Victor G. Bolshakov

Ralf S. Engelschall wrote:

On Thu, Jul 31, 2008, Victor G. Bolshakov wrote:


Ralf S. Engelschall wrote:

On Thu, Jul 31, 2008, Victor G. Bolshakov wrote:


Ralf S. Engelschall wrote:

On Thu, Jul 31, 2008, Victor G. Bolshakov wrote:


1. Wrong href for freeradius in 00INDEX.rdf.bz2
rdf:Description about=freeradius-2.0.5-20080731 
href=00UPLOAD/freeradius-2.0.5-20080731.src.rpm

This certainly was just a temporary problem as you were faster than the
upload processing procedure picked up and relocated the new source RPM.


2. I'm unable to build latest package...
[...]

Sure, because you still used the older package version. Retry now. The
00INDEX.rdf.bz2 should be now correct as the uploaded newer package was
already relocated to the final location.

Strange, but i just ftp://ftp.openpkg.org/current/SRC/00INDEX.rdf.bz2
downloaded from ftp and find
href=00UPLOAD/freeradius-2.0.5-20080731.src.rpm in it...


Ah, there was a problem in processing the file.
Now fixed. File should be now updated within the next 15 minutes.


Build fine!!!

P.S. Is it possible to build freeradius with rlm_python?
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: unable to buld FreeRADIUS 2.0.5 under Solaris 10

2008-07-30 Thread Ralf S. Engelschall
On Wed, Jul 30, 2008, Victor G. Bolshakov wrote:

 I`m unable to build FreeRADIUS 2.0.5 under Solaris 10. Buld just stop with

 checking for gcc... /openpkg/bin/cc
 checking for C compiler default output file name...
 configure: error: C compiler cannot create executables

 Many other packages (apache, mysql, postgresql)compiled and worked without 
 any problems.

 Any suggestions?

See the config.log file in the source tree top-level directory of
FreeRADIUS. There is the reason for the problem, usually some libraries
cannot be found or a compiler flag is not understood or something like
this.

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: unable to buld FreeRADIUS 2.0.5 under Solaris 10

2008-07-30 Thread Victor G. Bolshakov

Sorry, I'm just inattentively looked in to config.log for first time...

This is the problem:

configure:2314: checking for C compiler default output file name
configure:2341: /openpkg/bin/cc -I/openpkg/RPM/TMP/freeradius-server-2.0.5/src/include -O2 -pipe -I/openpkg/include 
-I/openpkg/include -L/openpkg/lib conftest.c -llber -lssl -lcrypto 5

/openpkg/bin/ld: cannot find -llber
collect2: ld returned 1 exit status


Ralf S. Engelschall wrote:


I`m unable to build FreeRADIUS 2.0.5 under Solaris 10. Buld just stop with

checking for gcc... /openpkg/bin/cc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables

Many other packages (apache, mysql, postgresql)compiled and worked without any 
problems.

Any suggestions?


See the config.log file in the source tree top-level directory of
FreeRADIUS. There is the reason for the problem, usually some libraries
cannot be found or a compiler flag is not understood or something like
this.


__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: unable to buld FreeRADIUS 2.0.5 under Solaris 10

2008-07-30 Thread kalou
Hello Victor,

   can you try a ls /usr/lib/liblber*.so ? if the lib is not present, you
might need to pkgadd some ldap packages.


 Sorry, I'm just inattentively looked in to config.log for first time...

 This is the problem:

 configure:2314: checking for C compiler default output file name
 configure:2341: /openpkg/bin/cc
 -I/openpkg/RPM/TMP/freeradius-server-2.0.5/src/include -O2 -pipe
 -I/openpkg/include
 -I/openpkg/include -L/openpkg/lib conftest.c -llber -lssl -lcrypto 5
 /openpkg/bin/ld: cannot find -llber
 collect2: ld returned 1 exit status

__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: unable to buld FreeRADIUS 2.0.5 under Solaris 10

2008-07-30 Thread Victor G. Bolshakov

External dependence for OpenPKG packege? I also try to build without LDAP 
(with_openldap=no) without any success...

[EMAIL PROTECTED] wrote:

   can you try a ls /usr/lib/liblber*.so ? if the lib is not present, you
might need to pkgadd some ldap packages.



Sorry, I'm just inattentively looked in to config.log for first time...

This is the problem:

configure:2314: checking for C compiler default output file name
configure:2341: /openpkg/bin/cc
-I/openpkg/RPM/TMP/freeradius-server-2.0.5/src/include -O2 -pipe
-I/openpkg/include
-I/openpkg/include -L/openpkg/lib conftest.c -llber -lssl -lcrypto 5
/openpkg/bin/ld: cannot find -llber
collect2: ld returned 1 exit status


__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: unable to buld FreeRADIUS 2.0.5 under Solaris 10

2008-07-30 Thread Ralf S. Engelschall
On Wed, Jul 30, 2008, Victor G. Bolshakov wrote:

 External dependence for OpenPKG packege? I also try to build without LDAP 
 (with_openldap=no) without any success...

 [EMAIL PROTECTED] wrote:
can you try a ls /usr/lib/liblber*.so ? if the lib is not present, you
 might need to pkgadd some ldap packages.


 Sorry, I'm just inattentively looked in to config.log for first time...

 This is the problem:

 configure:2314: checking for C compiler default output file name
 configure:2341: /openpkg/bin/cc
 -I/openpkg/RPM/TMP/freeradius-server-2.0.5/src/include -O2 -pipe
 -I/openpkg/include
 -I/openpkg/include -L/openpkg/lib conftest.c -llber -lssl -lcrypto 5
 /openpkg/bin/ld: cannot find -llber
 collect2: ld returned 1 exit status

Yes, liblber is part of OpenLDAP. If with_openldap=no doesn't help
then we have to fix something here. But I see already a problem in the
packaging: LDAP libraries are passed in LIBS unconditionally. I've tried
to fix this with the latest freeradius package. Please retry with this
one.
   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: unable to buld FreeRADIUS 2.0.5 under Solaris 10

2008-07-30 Thread Victor G. Bolshakov

Ralf S. Engelschall wrote:

On Wed, Jul 30, 2008, Victor G. Bolshakov wrote:


External dependence for OpenPKG packege? I also try to build without LDAP 
(with_openldap=no) without any success...

[EMAIL PROTECTED] wrote:

   can you try a ls /usr/lib/liblber*.so ? if the lib is not present, you
might need to pkgadd some ldap packages.



Sorry, I'm just inattentively looked in to config.log for first time...

This is the problem:

configure:2314: checking for C compiler default output file name
configure:2341: /openpkg/bin/cc
-I/openpkg/RPM/TMP/freeradius-server-2.0.5/src/include -O2 -pipe
-I/openpkg/include
-I/openpkg/include -L/openpkg/lib conftest.c -llber -lssl -lcrypto 5
/openpkg/bin/ld: cannot find -llber
collect2: ld returned 1 exit status


Yes, liblber is part of OpenLDAP. If with_openldap=no doesn't help
then we have to fix something here. But I see already a problem in the
packaging: LDAP libraries are passed in LIBS unconditionally. I've tried
to fix this with the latest freeradius package. Please retry with this
one.


Better, but got new error:

(cd .libs  /openpkg/bin/cc  -I/openpkg/RPM/TMP/freeradius-server-2.0.5/src/include -O2 -pipe -I/openpkg/include -c 
-fno-builtin radiusdS.c)

rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT
/openpkg/bin/cc .libs/radiusdS.o -o radiusd acct.o auth.o client.o conffile.o crypt.o exec.o files.o listen.o log.o 
mainconfig.o modules.o modcall.o radiusd.o radius_snmp.o session.o smux.o threads.o util.o valuepair.o version.o xlat.o 
event.o realms.o evaluate.o vmps.o detail.o -Wl,--export-dynamic  ../modules/rlm_acctlog/.libs/rlm_acctlog.a 
-L/openpkg/lib ../modules/rlm_acct_unique/.libs/rlm_acct_unique.a ../modules/rlm_always/.libs/rlm_always.a 
../modules/rlm_attr_filter/.libs/rlm_attr_filter.a ../modules/rlm_attr_rewrite/.libs/rlm_attr_rewrite.a 
../modules/rlm_chap/.libs/rlm_chap.a ../modules/rlm_checkval/.libs/rlm_checkval.a 
../modules/rlm_copy_packet/.libs/rlm_copy_packet.a ../modules/rlm_counter/.libs/rlm_counter.a 
../modules/rlm_detail/.libs/rlm_detail.a ../modules/rlm_digest/.libs/rlm_digest.a ../modules/rlm_eap/.libs/rlm_eap.a 
../modules/rlm_exec/.libs/rlm_exec.a ../modules/rlm_expiration/.libs/rlm_expiration.a 
../modules/rlm_expr/.libs/rlm_expr.a ../modules/rlm_fastusers/.libs/rlm_fastusers.a 
../modules/rlm_files/.libs/rlm_files.a ../modules/rlm_ippool/.libs/rlm_ippool.a /openpkg/lib/libgdbm.a 
../modules/rlm_logintime/.libs/rlm_logintime.a ../modules/rlm_mschap/.libs/rlm_mschap.a 
../modules/rlm_pap/.libs/rlm_pap.a ../modules/rlm_passwd/.libs/rlm_passwd.a 
../modules/rlm_preprocess/.libs/rlm_preprocess.a ../modules/rlm_radutmp/.libs/rlm_radutmp.a 
../modules/rlm_realm/.libs/rlm_realm.a ../modules/rlm_sqlcounter/.libs/rlm_sqlcounter.a 
../modules/rlm_sql_log/.libs/rlm_sql_log.a ../modules/rlm_unix/.libs/rlm_unix.a ../modules/rlm_policy/.libs/rlm_policy.a 
../modules/rlm_eap/types/rlm_eap_md5/.libs/rlm_eap_md5.a ../modules/rlm_eap/types/rlm_eap_leap/.libs/rlm_eap_leap.a 
../modules/rlm_eap/types/rlm_eap_sim/.libs/rlm_eap_sim.a 
/openpkg/RPM/TMP/freeradius-server-2.0.5/src/modules/rlm_eap/libeap/.libs/libfreeradius-eap.a 
../modules/rlm_eap/types/rlm_eap_mschapv2/.libs/rlm_eap_mschapv2.a 
../modules/rlm_eap/types/rlm_eap_gtc/.libs/rlm_eap_gtc.a ../modules/rlm_eap/libeap/.libs/libfreeradius-eap.a 
/openpkg/RPM/TMP/freeradius-server-2.0.5/src/lib/.libs/libfreeradius-radius.a -lnsl -lresolv -lsocket -lcrypt 
/openpkg/lib/libltdl.a -L/openpkg/lib/ -lssl -lcrypto

modules.o: In function `setup_modules':
modules.c:(.text+0x10b4): undefined reference to 
`lt__PROGRAM__LTX_preloaded_symbols'
modules.c:(.text+0x10c4): undefined reference to 
`lt__PROGRAM__LTX_preloaded_symbols'
collect2: ld returned 1 exit status
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: unable to buld FreeRADIUS 2.0.5 under Solaris 10

2008-07-30 Thread Artur Frysiak

Victor G. Bolshakov wrote:


I try to build openldap and also without success:

 /openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H 
-I../../../include -I../../../include -I.. -I./.. -I/openpkg/include 
-I/openpkg/include/pth -c monitor.c -o monitor.o

In file included from ../../../include/ac/signal.h:20,
 from ../slap.h:38,
 from ../back-monitor/back-monitor.h:28,
 from back-ldap.h:27,
 from monitor.c:33:
/usr/include/signal.h:222: error: conflicting types for 'pth_sigwait'
/openpkg/include/pth/pth.h:536: error: previous declaration of 
'pth_sigwait' was here

make[3]: *** [monitor.lo] Error 1
make[2]: *** [.backend] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1


On Solaris 9:

/bin/sh ../../..//libtool --tag=disable-shared --mode=compile 
/openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H 
-I../../../include-I../../../include -I.. -I./.. 
-I/openpkg/include -I/openpkg/include/pth-c monitor.c
 /openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H 
-I../../../include -I../../../include -I.. -I./.. -I/openpkg/include 
-I/openpkg/include/pth -c monitor.c -o monitor.o

In file included from ../../../include/ac/signal.h:20,
 from ../slap.h:38,
 from ../back-monitor/back-monitor.h:28,
 from back-ldap.h:27,
 from monitor.c:33:
/openpkg/lib/gcc/sparc-sun-solaris2.9/4.2.4/include/signal.h:218: error: 
conflicting types for 'pth_sigwait'
/openpkg/include/pth/pth.h:536: error: previous declaration of 
'pth_sigwait' was here


--
Artur Frysiak

KOELNER S.A. z siedzib? we Wroc?awiu przy ul. Kwidzy?skiej 6,
51-416 Wroc?aw, zarejestrowana w rejestrze przedsi?biorc?w
prowadzonym przez S?d Rejonowy dla Wroc?awia-Fabrycznej
Wydzia? VI Gospodarczy Krajowego Rejestru S?dowego pod
numerem KRS 033537, NIP 895-16-87-880,
kapita? zak?adowy: 32.560.000,00 z? w ca?o?ci wp?acony
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: unable to buld FreeRADIUS 2.0.5 under Solaris 10

2008-07-30 Thread Dieter Klünter
Victor G. Bolshakov [EMAIL PROTECTED] writes:

 Ralf S. Engelschall wrote:
 On Wed, Jul 30, 2008, Victor G. Bolshakov wrote:

 External dependence for OpenPKG packege? I also try to build without LDAP 
 (with_openldap=no) without any success...

 [EMAIL PROTECTED] wrote:

 I try to build openldap and also without success:

  /openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H
 -I../../../include -I../../../include -I.. -I./.. -I/openpkg/include
 -I/openpkg/include/pth -c monitor.c -o monitor.o
 In file included from ../../../include/ac/signal.h:20,
  from ../slap.h:38,
  from ../back-monitor/back-monitor.h:28,
  from back-ldap.h:27,
  from monitor.c:33:
 /usr/include/signal.h:222: error: conflicting types for 'pth_sigwait'
 /openpkg/include/pth/pth.h:536: error: previous declaration of 'pth_sigwait' 
 was here
 make[3]: *** [monitor.lo] Error 1
 make[2]: *** [.backend] Error 1
 make[1]: *** [all-common] Error 1
 make: *** [all-common] Error 1

This error is due to gnu-pth, openldap calls epoll on linux and
/dev/poll on solaris.

-Dieter

-- 
Dieter Klünter | Systemberatung
Mobil: +49.176.51126864
Fax: +49.40.64891521
Key ID:8EF7B6C6
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: unable to buld FreeRADIUS 2.0.5 under Solaris 10

2008-07-30 Thread Ralf S. Engelschall
On Wed, Jul 30, 2008, Artur Frysiak wrote:

 Victor G. Bolshakov wrote:

 I try to build openldap and also without success:

  /openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H
 -I../../../include -I../../../include -I.. -I./.. -I/openpkg/include
 -I/openpkg/include/pth -c monitor.c -o monitor.o
 In file included from ../../../include/ac/signal.h:20,
  from ../slap.h:38,
  from ../back-monitor/back-monitor.h:28,
  from back-ldap.h:27,
  from monitor.c:33:
 /usr/include/signal.h:222: error: conflicting types for 'pth_sigwait'
 /openpkg/include/pth/pth.h:536: error: previous declaration of
 'pth_sigwait' was here
 make[3]: *** [monitor.lo] Error 1
 make[2]: *** [.backend] Error 1
 make[1]: *** [all-common] Error 1
 make: *** [all-common] Error 1

 On Solaris 9:

 /bin/sh ../../..//libtool --tag=disable-shared --mode=compile
 /openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H
 -I../../../include-I../../../include -I.. -I./..
 -I/openpkg/include -I/openpkg/include/pth-c monitor.c
  /openpkg/bin/cc -O2 -pipe -I/openpkg/include/pth -D_AVL_H
 -I../../../include -I../../../include -I.. -I./.. -I/openpkg/include
 -I/openpkg/include/pth -c monitor.c -o monitor.o
 In file included from ../../../include/ac/signal.h:20,
  from ../slap.h:38,
  from ../back-monitor/back-monitor.h:28,
  from back-ldap.h:27,
  from monitor.c:33:
 /openpkg/lib/gcc/sparc-sun-solaris2.9/4.2.4/include/signal.h:218: error:
 conflicting types for 'pth_sigwait'
 /openpkg/include/pth/pth.h:536: error: previous declaration of
 'pth_sigwait' was here

Ok, I applied a workaround. Please retry with the latest openldap
package as of this evening.

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: FreeRadius

2004-09-02 Thread Alexander Belck
As Bill's freeradius-1.0.0 is the closest ver I got to build, could someone tell
me if I can just make a symlink from install to ginstall ?

I searched google for ginstall and got only old (1999/2000) references to that
and in one it told that ginstall has been renamed to install.

Any other advice to get freeradius build will be apreciated.

Thanks,

Alex

Citando [EMAIL PROTECTED]:

 Now I rebuild with:

 openpkg rpm --rebuild -D with_gdbm_passwd=no
 freeradius-1.0.0-20040812.src.rpm

 Executing(%install): env -i /opkg/lib/openpkg/bash --norc --noprofile --posix
 -e
 /opkg/RPM/TMP/rpm-tmp.9186
 + cd /opkg/RPM/TMP
 + cd freeradius-1.0.0
 + DESTDIR=/opkg/RPM/TMP/freeradius-1.0.0-root
 + export DESTDIR
 + GZIP=-v9nf
 + export GZIP
 + perl -e '$_=$ENV{DESTDIR}./; exit (!m:/tmp/\w\S+/:i || m:/\.\./:)'
 + rm -rf /opkg/RPM/TMP/freeradius-1.0.0-root
 + mkdir -p /opkg/RPM/TMP/freeradius-1.0.0-root
 + ginstall -d /opkg/RPM/TMP/freeradius-1.0.0-root/etc/logrotate.d
 /opkg/RPM/TMP/freeradius-1.0.0-root/etc/pam.d
 /opkg/RPM/TMP/freeradius-1.0.0-root/etc/rc.d/init.d
 /opkg/RPM/TMP/rpm-tmp.9186: line 39: ginstall: command not found
 error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.9186 (%install)


 RPM build errors:
 Bad exit status from /opkg/RPM/TMP/rpm-tmp.9186 (%install)


 Should I have ginstall ??

 Citando Bill Campbell [EMAIL PROTECTED]:

  On Wed, Sep 01, 2004, [EMAIL PROTECTED] wrote:
  I tryed to rebuild Bill's version and got:
  Installing freeradius-1.0.0-20040812.src.rpm
  error: File /opkg/RPM/SRC/freeradius/%{Name}-%{Version}-CSYS.patch: No
 such
  file
  or directory
 
  If you install this, it provides some additional Macros that I've been
  using from the old Caldera version of RPM.
 
 

ftp://ftp.celestial.com/private/ftp.openpkg.org/release/2.1/SRC/csrpmutils-0.90-20030119.src.rpm
 
  Bill
  --
  INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Systems, Inc.
  UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
  FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206)
 236-1676
  URL: http://www.celestial.com/
 
  Memoirs -- Bill Clinton is getting $12 million for his memoirs, and his
  wife Hillary got $8 million for hers.  That's $20 million for memories from
  two people who for eight years repeatedly testified  they couldn't remember
  anything.
  __
  The OpenPKG Projectwww.openpkg.org
  User Communication List  [EMAIL PROTECTED]
 




 
 This message was sent using IMP, the Internet Messaging Program.
 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]



--
ATIX Tecnologia e Com Ltda
Tel.: +55-(11) 4667-5900


This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-09-02 Thread alexb
NO, but I do not know that I needed them as it does not apears as a prerequisit.
Will build it and try again.

Thanks,

Alex

Citando Bill Campbell [EMAIL PROTECTED]:

 On Thu, Sep 02, 2004, Alexander Belck wrote:
 I can't say if I have the libltdl problem (I have it also in /usr/lib/), but
 didn't understand if this is a problem. Should I rebuild libtool ?
 
 After symlinking install-ginstall I could build freeradius, but when I
 tryed to
 install it I got lots of errors like:
 
 /opkg/RPM/TMP/rpm-tmp.73953: gcp: command not found
 /opkg/sbin/radiusd-conf: gchown: command not found

 This means that you don't have the OpenPKG coreutils installed.

 Bill
 --
 INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
 UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
 FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
 URL: http://www.celestial.com/

 ``If the personal freedoms guaranteed by the Constitution inhibit the
 government's ability to govern the people, we should look to limit those
 guarantees.''
-President Bill Clinton, August 12, 1993
 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]






This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


FreeRadius

2004-09-01 Thread Alexander Belck
I'm trying to install freeradius.
I got freeradius-1.0.0-20040810.src.rpm from current, then:

openpkg rpm --rebuild freeradius-1.0.0-20040810.src.rpm
:
:

../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_mac.o)(.text+0x71): In
function `x99_mac':
: undefined reference to `DES_cbc_encrypt'
../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0x3c4): In
function `x99_pw_valid':: undefined reference to `MD4'
../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0x5ea): In
function `x99_pw_valid':: undefined reference to `MD4'
../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0xde6): In
function `x99_pw_valid':: undefined reference to `MD5'
collect2: ld returned 1 exit status
rm -f .libs/radiusdS.o
gmake[4]: *** [radiusd] Error 1
gmake[3]: *** [common] Error 1
gmake[2]: *** [all] Error 2
gmake[1]: *** [common] Error 1
make: *** [all] Error 2
error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.85465 (%build)


Why is this happining ?
I'm used to build packages with: openpkg build package
But this only works for release packages. How should I proceed with a packages
of current ?
Am I missing somthing ?  Do I need to download/build somthing from current to
mix release-21 and current packages ?

Thanks,

Alex


--
ATIX Tecnologia e Com Ltda
Tel.: +55-(11) 4667-5900


This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-09-01 Thread Ralf S. Engelschall
On Wed, Sep 01, 2004, Alexander Belck wrote:

 I'm trying to install freeradius.
 I got freeradius-1.0.0-20040810.src.rpm from current, then:

 openpkg rpm --rebuild freeradius-1.0.0-20040810.src.rpm
 :
 ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_mac.o)(.text+0x71): In
 function `x99_mac':
 : undefined reference to `DES_cbc_encrypt'
 ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0x3c4): In
 function `x99_pw_valid':: undefined reference to `MD4'
 ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0x5ea): In
 function `x99_pw_valid':: undefined reference to `MD4'
 ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0xde6): In
 function `x99_pw_valid':: undefined reference to `MD5'
 collect2: ld returned 1 exit status
 rm -f .libs/radiusdS.o
 gmake[4]: *** [radiusd] Error 1
 gmake[3]: *** [common] Error 1
 gmake[2]: *** [all] Error 2
 gmake[1]: *** [common] Error 1
 make: *** [all] Error 2
 error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.85465 (%build)


 Why is this happining ?
 I'm used to build packages with: openpkg build package
 But this only works for release packages. How should I proceed with a packages
 of current ?
 Am I missing somthing ?  Do I need to download/build somthing from current to
 mix release-21 and current packages ?

Well, the package is brand-new in OpenPKG-CURRENT and still not well
tested. But it at least builds fine for me under FreeBSD 4. Under what
OS are you trying to build this?

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-09-01 Thread alexb
;-((  I'm locked to RH7.3

Citando Ralf S. Engelschall [EMAIL PROTECTED]:

 On Wed, Sep 01, 2004, Alexander Belck wrote:

  I'm trying to install freeradius.
  I got freeradius-1.0.0-20040810.src.rpm from current, then:
 
  openpkg rpm --rebuild freeradius-1.0.0-20040810.src.rpm
  :
  ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_mac.o)(.text+0x71): In
  function `x99_mac':
  : undefined reference to `DES_cbc_encrypt'
  ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0x3c4): In
  function `x99_pw_valid':: undefined reference to `MD4'
  ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0x5ea): In
  function `x99_pw_valid':: undefined reference to `MD4'
  ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0xde6): In
  function `x99_pw_valid':: undefined reference to `MD5'
  collect2: ld returned 1 exit status
  rm -f .libs/radiusdS.o
  gmake[4]: *** [radiusd] Error 1
  gmake[3]: *** [common] Error 1
  gmake[2]: *** [all] Error 2
  gmake[1]: *** [common] Error 1
  make: *** [all] Error 2
  error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.85465 (%build)
 
 
  Why is this happining ?
  I'm used to build packages with: openpkg build package
  But this only works for release packages. How should I proceed with a
 packages
  of current ?
  Am I missing somthing ?  Do I need to download/build somthing from current
 to
  mix release-21 and current packages ?

 Well, the package is brand-new in OpenPKG-CURRENT and still not well
 tested. But it at least builds fine for me under FreeBSD 4. Under what
 OS are you trying to build this?

Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com

 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]






This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-09-01 Thread Alexander Belck
I was checking my system trying to find out whats wrong.
I realy don't understand exactly where things come from, but perhaps this
information can help you to help me :-))

I search for references of DES_cbc_encrypt, where I found:
a) In /opkg/include/openssl/des.h is a definition of a function with that name
b) From RH7.3 I also have a des.h under /usr/include/openssl/des.h that do not
have that function defined.

Could it be that building freeradius it uses the wrong ver of des.h ?
I do not know if it should be using the headers from OPKG or RH, but I guess it
should be from OPKG as my servers are all from OPKG and if they need I guess
they use OPKG version of openssl.

Thanks for any tip that could bring me further.

Alex

Citando Ralf S. Engelschall [EMAIL PROTECTED]:

 On Wed, Sep 01, 2004, Alexander Belck wrote:

  I'm trying to install freeradius.
  I got freeradius-1.0.0-20040810.src.rpm from current, then:
 
  openpkg rpm --rebuild freeradius-1.0.0-20040810.src.rpm
  :
  ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_mac.o)(.text+0x71): In
  function `x99_mac':
  : undefined reference to `DES_cbc_encrypt'
  ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0x3c4): In
  function `x99_pw_valid':: undefined reference to `MD4'
  ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0x5ea): In
  function `x99_pw_valid':: undefined reference to `MD4'
  ../modules/rlm_x99_token/.libs/rlm_x99_token.a(x99_pwe.o)(.text+0xde6): In
  function `x99_pw_valid':: undefined reference to `MD5'
  collect2: ld returned 1 exit status
  rm -f .libs/radiusdS.o
  gmake[4]: *** [radiusd] Error 1
  gmake[3]: *** [common] Error 1
  gmake[2]: *** [all] Error 2
  gmake[1]: *** [common] Error 1
  make: *** [all] Error 2
  error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.85465 (%build)
 
 
  Why is this happining ?
  I'm used to build packages with: openpkg build package
  But this only works for release packages. How should I proceed with a
 packages
  of current ?
  Am I missing somthing ?  Do I need to download/build somthing from current
 to
  mix release-21 and current packages ?

 Well, the package is brand-new in OpenPKG-CURRENT and still not well
 tested. But it at least builds fine for me under FreeBSD 4. Under what
 OS are you trying to build this?

Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com

 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]



--
ATIX Tecnologia e Com Ltda
Tel.: +55-(11) 4667-5900


This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-09-01 Thread Michael van Elst
On Wed, Sep 01, 2004 at 02:59:22PM -0300, Alexander Belck wrote:

 Could it be that building freeradius it uses the wrong ver of des.h ?

It is either using the wrong des.h or the wrong crypto library.

The names of the crypto API changed between openssl 0.9.6 and 0.9.7.

-- 
Michael van Elst
Internet: [EMAIL PROTECTED]
A potential Snark may lurk in every tree.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-09-01 Thread Bill Campbell
On Wed, Sep 01, 2004, Alexander Belck wrote:
I'm trying to install freeradius.
I got freeradius-1.0.0-20040810.src.rpm from current, then:

openpkg rpm --rebuild freeradius-1.0.0-20040810.src.rpm

I have a slightly different freeradius SRPMS that's based on the one I've
been using for a couple of years now.  It has a couple of options to
support a private gdbm password file, and a hack to work with
Nortel/Baynetworks Annex RACs that generate bogus header information.  The
other thing that's different is that I'm using daemontools to control
freeradius, and I've written  a radiusd-conf script that generates the
appropriate /service structure.

ftp://ftp.celestial.com/private/ftp.openpkg.org/release/2.1/SRC/freeradius-1.0.0-20040812.src.rpm

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Do not meddle in the affairs of cats, for they are subtle and will piss on
your computer.''  --Bruce Graham
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-09-01 Thread Alexander Belck
But shouldn't openpkg use libs/headers from openpkg version ?

Why does it seams to be mixing the underlaying OS-stuff with the OPKG ones ?

From RH7.3 I have openssl-0.9.6b-35.7 and
from OPKG2.1 I have openssl-0.9.7d-2.1.0

It seams to me that when building it takes the headers from OpenPKG (thus
refering to DES_cbc_encrypt), but when linking it use the lib from RH7.3 where
it could not find this function.

Can I be interpreting this write ?
Any sugestion how to fix it ?

Thanks,

Alex

Citando Michael van Elst [EMAIL PROTECTED]:

 On Wed, Sep 01, 2004 at 02:59:22PM -0300, Alexander Belck wrote:

  Could it be that building freeradius it uses the wrong ver of des.h ?

 It is either using the wrong des.h or the wrong crypto library.

 The names of the crypto API changed between openssl 0.9.6 and 0.9.7.

 --
 Michael van Elst
 Internet: [EMAIL PROTECTED]
 A potential Snark may lurk in every tree.
 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]



--
ATIX Tecnologia e Com Ltda
Tel.: +55-(11) 4667-5900


This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-09-01 Thread alexb
I tryed to rebuild Bill's version and got:
Installing freeradius-1.0.0-20040812.src.rpm
error: File /opkg/RPM/SRC/freeradius/%{Name}-%{Version}-CSYS.patch: No such file
or directory

Thanks,

Alex

Citando Bill Campbell [EMAIL PROTECTED]:

 On Wed, Sep 01, 2004, Alexander Belck wrote:
 I'm trying to install freeradius.
 I got freeradius-1.0.0-20040810.src.rpm from current, then:
 
 openpkg rpm --rebuild freeradius-1.0.0-20040810.src.rpm

 I have a slightly different freeradius SRPMS that's based on the one I've
 been using for a couple of years now.  It has a couple of options to
 support a private gdbm password file, and a hack to work with
 Nortel/Baynetworks Annex RACs that generate bogus header information.  The
 other thing that's different is that I'm using daemontools to control
 freeradius, and I've written  a radiusd-conf script that generates the
 appropriate /service structure.


ftp://ftp.celestial.com/private/ftp.openpkg.org/release/2.1/SRC/freeradius-1.0.0-20040812.src.rpm

 Bill
 --
 INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
 UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
 FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
 URL: http://www.celestial.com/

 ``Do not meddle in the affairs of cats, for they are subtle and will piss on
 your computer.''  --Bruce Graham
 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]






This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-09-01 Thread Bill Campbell
On Wed, Sep 01, 2004, [EMAIL PROTECTED] wrote:
Hi Bill

Do you know if I can use an LDAP backand with your version of FreeRadius ?
I'm trying to integrate this with ISPman, that holds all account infos on LDAP.

I don't see why not although I haven't built it with ldap support.  If I
remember correctly, there may have been issues with the LDAP support which
could well be the same problems you've found.

Thanks,

Alex

Citando Bill Campbell [EMAIL PROTECTED]:

 On Wed, Sep 01, 2004, Alexander Belck wrote:
 I'm trying to install freeradius.
 I got freeradius-1.0.0-20040810.src.rpm from current, then:
 
 openpkg rpm --rebuild freeradius-1.0.0-20040810.src.rpm

 I have a slightly different freeradius SRPMS that's based on the one I've
 been using for a couple of years now.  It has a couple of options to
 support a private gdbm password file, and a hack to work with
 Nortel/Baynetworks Annex RACs that generate bogus header information.  The
 other thing that's different is that I'm using daemontools to control
 freeradius, and I've written  a radiusd-conf script that generates the
 appropriate /service structure.


ftp://ftp.celestial.com/private/ftp.openpkg.org/release/2.1/SRC/freeradius-1.0.0-20040812.src.rpm

 Bill
 --
 INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
 UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
 FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
 URL: http://www.celestial.com/

 ``Do not meddle in the affairs of cats, for they are subtle and will piss on
 your computer.''  --Bruce Graham
 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]






This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


-- 
Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

If the Democrats had wanted Gore to be president, they should have
voted for impeachment.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-09-01 Thread Bill Campbell
On Wed, Sep 01, 2004, [EMAIL PROTECTED] wrote:
I tryed to rebuild Bill's version and got:
Installing freeradius-1.0.0-20040812.src.rpm
error: File /opkg/RPM/SRC/freeradius/%{Name}-%{Version}-CSYS.patch: No such file
or directory

If you install this, it provides some additional Macros that I've been
using from the old Caldera version of RPM.

ftp://ftp.celestial.com/private/ftp.openpkg.org/release/2.1/SRC/csrpmutils-0.90-20030119.src.rpm

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Systems, Inc.
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

Memoirs -- Bill Clinton is getting $12 million for his memoirs, and his
wife Hillary got $8 million for hers.  That's $20 million for memories from
two people who for eight years repeatedly testified  they couldn't remember
anything.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-09-01 Thread alexb
Now I rebuild with:

openpkg rpm --rebuild -D with_gdbm_passwd=no freeradius-1.0.0-20040812.src.rpm

Executing(%install): env -i /opkg/lib/openpkg/bash --norc --noprofile --posix -e
/opkg/RPM/TMP/rpm-tmp.9186
+ cd /opkg/RPM/TMP
+ cd freeradius-1.0.0
+ DESTDIR=/opkg/RPM/TMP/freeradius-1.0.0-root
+ export DESTDIR
+ GZIP=-v9nf
+ export GZIP
+ perl -e '$_=$ENV{DESTDIR}./; exit (!m:/tmp/\w\S+/:i || m:/\.\./:)'
+ rm -rf /opkg/RPM/TMP/freeradius-1.0.0-root
+ mkdir -p /opkg/RPM/TMP/freeradius-1.0.0-root
+ ginstall -d /opkg/RPM/TMP/freeradius-1.0.0-root/etc/logrotate.d
/opkg/RPM/TMP/freeradius-1.0.0-root/etc/pam.d
/opkg/RPM/TMP/freeradius-1.0.0-root/etc/rc.d/init.d
/opkg/RPM/TMP/rpm-tmp.9186: line 39: ginstall: command not found
error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.9186 (%install)


RPM build errors:
Bad exit status from /opkg/RPM/TMP/rpm-tmp.9186 (%install)


Should I have ginstall ??

Citando Bill Campbell [EMAIL PROTECTED]:

 On Wed, Sep 01, 2004, [EMAIL PROTECTED] wrote:
 I tryed to rebuild Bill's version and got:
 Installing freeradius-1.0.0-20040812.src.rpm
 error: File /opkg/RPM/SRC/freeradius/%{Name}-%{Version}-CSYS.patch: No such
 file
 or directory

 If you install this, it provides some additional Macros that I've been
 using from the old Caldera version of RPM.


ftp://ftp.celestial.com/private/ftp.openpkg.org/release/2.1/SRC/csrpmutils-0.90-20030119.src.rpm

 Bill
 --
 INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Systems, Inc.
 UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
 FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
 URL: http://www.celestial.com/

 Memoirs -- Bill Clinton is getting $12 million for his memoirs, and his
 wife Hillary got $8 million for hers.  That's $20 million for memories from
 two people who for eight years repeatedly testified  they couldn't remember
 anything.
 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]






This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-09-01 Thread alexb
Since Bill's version required lib-tool, I build it from Opkg-2.1.

Than I give freeradius-1.0.0 from CURRENT an other try

I think I it passes the previus point, but now it stops when linking radiusd.

Can someone take a look to see if it is visible where things ar taken from wrong
place and perhaps fix some PREFIX or LIB orther so that it can finish building
?

when the /opkg/bin/cc command line adds option -lssl is it taken ssl from RH or
from OPKG ?




extracting global C symbols from
`../modules/rlm_eap/types/rlm_eap_gtc/.libs/rlm_eap_gtc.a'

(cd .libs  /opkg/bin/cc -c -fno-builtin -fno-rtti -fno-exceptions
radiusdS.c)
cc1: warning: command line option -fno-rtti is valid for C++/ObjC++ but not
for C

rm -f .libs/radiusdS.c .libs/radiusd.nm .libs/radiusd.nmS .libs/radiusd.nmT

/opkg/bin/cc .libs/radiusdS.o -O2 -pipe -I/opkg/include -DOPENSSL_NO_KRB5 -Wall
-D_GNU_SOURCE -DNDEBUG -I../include -DHOSTINFO=\\ -DRADIUSD_VERSION=\1.0.0\
-o radiusd radiusd.o files.o util.o acct.o nas.o log.o valuepair.o version.o
proxy.o exec.o auth.o timestr.o conffile.o modules.o modcall.o session.o xlat.o
threads.o smux.o radius_snmp.o client.o request_list.o mainconfig.o
-Wl,--export-dynamic  ../modules/rlm_acct_unique/.libs/rlm_acct_unique.a
-lresolv ../modules/rlm_always/.libs/rlm_always.a -lresolv
../modules/rlm_attr_filter/.libs/rlm_attr_filter.a -lresolv
../modules/rlm_attr_rewrite/.libs/rlm_attr_rewrite.a -lresolv
../modules/rlm_chap/.libs/rlm_chap.a -lresolv
../modules/rlm_counter/.libs/rlm_counter.a -lresolv
../modules/rlm_detail/.libs/rlm_detail.a -lresolv
../modules/rlm_digest/.libs/rlm_digest.a -lresolv
../modules/rlm_eap/.libs/rlm_eap.a
-L/opkg/RPM/TMP/freeradius-1.0.0/src/modules/rlm_eap/libeap
/opkg/RPM/TMP/freeradius-1.0.0/src/modules/rlm_eap/libeap/.libs/libeap.a
-lresolv ../modules/rlm_exec/.libs/rlm_exec.a -lresolv
../modules/rlm_expr/.libs/rlm_expr.a -lresolv
../modules/rlm_fastusers/.libs/rlm_fastusers.a -lresolv
../modules/rlm_files/.libs/rlm_files.a -lresolv
../modules/rlm_ippool/.libs/rlm_ippool.a -lresolv
../modules/rlm_ldap/.libs/rlm_ldap.a /usr/lib/libsasl.so -L/usr/kerberos/lib
/usr/lib/libgdbm.so -lcrypt -lresolv -lresolv -L/opkg/lib /opkg/lib/libldap.a
/opkg/lib/liblber.a -lresolv -lssl -lcrypto -lresolv
../modules/rlm_mschap/.libs/rlm_mschap.a -lresolv
../modules/rlm_ns_mta_md5/.libs/rlm_ns_mta_md5.a -lresolv
../modules/rlm_pam/.libs/rlm_pam.a -lpam -ldl -lresolv
../modules/rlm_pap/.libs/rlm_pap.a -lresolv
../modules/rlm_passwd/.libs/rlm_passwd.a -lresolv
../modules/rlm_preprocess/.libs/rlm_preprocess.a -lresolv
../modules/rlm_radutmp/.libs/rlm_radutmp.a -lresolv
../modules/rlm_realm/.libs/rlm_realm.a -lresolv
../modules/rlm_unix/.libs/rlm_unix.a -lcrypt -lresolv
../modules/rlm_x99_token/.libs/rlm_x99_token.a -lresolv
../modules/rlm_checkval/.libs/rlm_checkval.a -lresolv
../modules/rlm_eap/types/rlm_eap_md5/.libs/rlm_eap_md5.a -lresolv
../modules/rlm_eap/types/rlm_eap_leap/.libs/rlm_eap_leap.a -lresolv
../modules/rlm_eap/types/rlm_eap_mschapv2/.libs/rlm_eap_mschapv2.a -lresolv
../modules/rlm_eap/types/rlm_eap_gtc/.libs/rlm_eap_gtc.a -lresolv
-L/opkg/RPM/TMP/freeradius-1.0.0/src/lib -lcrypt -lnsl -lresolv
/opkg/RPM/TMP/freeradius-1.0.0/src/lib/.libs/libradius.a -lcrypt
modules.o(.text+0xab): In function `detach_modules':
: undefined reference to `lt_dlclose'
modules.o(.text+0x28d): In function `find_module_instance':
:
:
l o t s  o f  e r r o r s
:



This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-08-06 Thread Ralf S. Engelschall
On Thu, Aug 05, 2004, Alexander Belck wrote:

 Is there any plan to include FreeRadius in OpenPKG ?
 [...]

We have a freeradius package in OpenPKG-CURRENT since 2 weeks. It is a
little bit weak in build-time portability and not still well tested by
us under run-time, but try it out and feel free to give us feedback.

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-08-06 Thread Ralf S. Engelschall
On Thu, Aug 05, 2004, [EMAIL PROTECTED] wrote:

 Whats needed to put freeradius under ftp.openpkg.org/release/2.1/SRC/PLUS/ ?

Well, there _is_ a freeradius package, but only in
ftp://ftp.openpkg.org/current/SRC/ because it is still
not part of any release...
   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


FreeRadius

2004-08-05 Thread Alexander Belck
Is there any plan to include FreeRadius in OpenPKG ?
It has manny new features, I guess its the only Open Source handling wireless
802.1x authentication and also supports many external authentications like
LDAP, MySQL, PgSQL, ...

Thanks,

Alex

--
ATIX Tecnologia e Com Ltda
Tel.: +55-(11) 4667-5900


This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-08-05 Thread Bill Campbell
On Thu, Aug 05, 2004, Alexander Belck wrote:
Is there any plan to include FreeRadius in OpenPKG ?
It has manny new features, I guess its the only Open Source handling wireless
802.1x authentication and also supports many external authentications like
LDAP, MySQL, PgSQL, ...

I've built freeradius-0.9.3 under OpenPKG, but haven't had any particular
reason to update it as it's been Just Working(tm).

The version I've done has been hacked to use a gdbm hash for password
lookups from a private file to allow it to do *nix style authentication
independent of the underlying system's password files.  I've also modified
it to work with Annex 8000 RACs that have a broken checksum, and no easy
way to get fixed software from Nortel.  These changes are selectable using
normal package options, with_annex_md5_kludge and with_gdbm_passwd
(although I haven't tested builds with these turned off).

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

Democracy, n.:
A government of the masses.  Authority derived through mass
meeting or any other form of direct expression.  Results in mobocracy.
Attitude toward property is communistic... negating property rights.
Attitude toward law is that the will of the majority shall regulate,
whether it is based upon deliberation or governed by passion,
prejudice, and impulse, without restraint or regard to consequences.
Result is demagogism, license, agitation, discontent, anarchy.
-- U. S. Army Training Manual No. 2000-25 (1928-1932),
   since withdrawn.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-08-05 Thread Alexander Belck
Where can I find this OpenPKG vers of FreeRadius ?

Can it easyly by upgradet to 1.0.0 and does it provide  --with-ldap ?

Thanks,

Alex

Citando Bill Campbell [EMAIL PROTECTED]:

 On Thu, Aug 05, 2004, Alexander Belck wrote:
 Is there any plan to include FreeRadius in OpenPKG ?
 It has manny new features, I guess its the only Open Source handling
 wireless
 802.1x authentication and also supports many external authentications like
 LDAP, MySQL, PgSQL, ...

 I've built freeradius-0.9.3 under OpenPKG, but haven't had any particular
 reason to update it as it's been Just Working(tm).

 The version I've done has been hacked to use a gdbm hash for password
 lookups from a private file to allow it to do *nix style authentication
 independent of the underlying system's password files.  I've also modified
 it to work with Annex 8000 RACs that have a broken checksum, and no easy
 way to get fixed software from Nortel.  These changes are selectable using
 normal package options, with_annex_md5_kludge and with_gdbm_passwd
 (although I haven't tested builds with these turned off).

 Bill
 --
 INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
 UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
 FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
 URL: http://www.celestial.com/

 Democracy, n.:
   A government of the masses.  Authority derived through mass
 meeting or any other form of direct expression.  Results in mobocracy.
 Attitude toward property is communistic... negating property rights.
 Attitude toward law is that the will of the majority shall regulate,
 whether it is based upon deliberation or governed by passion,
 prejudice, and impulse, without restraint or regard to consequences.
 Result is demagogism, license, agitation, discontent, anarchy.
   -- U. S. Army Training Manual No. 2000-25 (1928-1932),
  since withdrawn.
 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]



--
ATIX Tecnologia e Com Ltda
Tel.: +55-(11) 4667-5900


This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-08-05 Thread Bill Campbell
On Thu, Aug 05, 2004, Alexander Belck wrote:
Where can I find this OpenPKG vers of FreeRadius ?

ftp://ftp.celestial.com/ftp.openpkg.org/release/2.1/SRC/freeradius-0.9.3-20031119.src.rpm

Can it easyly by upgradet to 1.0.0 and does it provide  --with-ldap ?

I don't think it would be a problem updating to 1.0.0.  I haven't looked at
the ldap support in detail.

You may need to install another package that I've built that adds some rpm
macros that came from Caldera's version of RPM, and that I tended to use a
lot.  It also tweaks the %{l_prefix}/etc/openpkg/rpmrc file prepending
%{l_prefix}/etc/rpm/macros to macrofiles allowing local overrides to macros
if necessary.

ftp://ftp.celestial.com/ftp.openpkg.org/release/2.1/SRC/csrpmutils-0.90-20030119.src.rpm

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Never do your enemy a minor injury.''
- Machiavelli
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-08-05 Thread alexb
Whats needed to put freeradius under ftp.openpkg.org/release/2.1/SRC/PLUS/ ?

So in future it will be esear to find it :-))

Thanks,

Alex
Citando Bill Campbell [EMAIL PROTECTED]:

 On Thu, Aug 05, 2004, Alexander Belck wrote:
 Where can I find this OpenPKG vers of FreeRadius ?


ftp://ftp.celestial.com/ftp.openpkg.org/release/2.1/SRC/freeradius-0.9.3-20031119.src.rpm

 Can it easyly by upgradet to 1.0.0 and does it provide  --with-ldap ?

 I don't think it would be a problem updating to 1.0.0.  I haven't looked at
 the ldap support in detail.

 You may need to install another package that I've built that adds some rpm
 macros that came from Caldera's version of RPM, and that I tended to use a
 lot.  It also tweaks the %{l_prefix}/etc/openpkg/rpmrc file prepending
 %{l_prefix}/etc/rpm/macros to macrofiles allowing local overrides to macros
 if necessary.


ftp://ftp.celestial.com/ftp.openpkg.org/release/2.1/SRC/csrpmutils-0.90-20030119.src.rpm

 Bill
 --
 INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
 UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
 FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
 URL: http://www.celestial.com/

 ``Never do your enemy a minor injury.''
 - Machiavelli
 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]






This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FreeRadius

2004-08-05 Thread Bill Campbell
On Thu, Aug 05, 2004, Alexander Belck wrote:
Couldn't access the links.

Whoops:

ftp://ftp.celestial.com/ftp.openpkg.org doesn't exist for me.
should be:
ftp://ftp.celestial.com/private/ftp.openpkg.org doesn't exist for me.

I found ftp://ftp.celestial.com/pub/ftp.openpkg.org but empty
  and   ftp://ftp.celestial.com/mirror/ftp.openpkg.org but no csrpmutils.

Is there any restriction for anonymous access ?

None other than simulataneous users.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Systems, Inc.
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Mechanical Engineers build weapons.  Civil Engineers build targets.''
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]