Hello, the FreeRadius Wiki say HP/UX is a supported platform :-) I try to compile freeradius 1.1.1 on HP-UX 11i with HP's cc but I have no success :-( My question: have anybody successful compiled freeradius 1.1.1 on HP-UX 11i with the HP compiler and can I use HP's TCB for user authentification with freeradius ???? I use configure with this options: ./configure --prefix=/opt/freeradius-1.1.1 --localstatedir=/var/freeradius \ --with-logdir=/pm/freeradius --with-threads=no --with-snmp=no \ --with-openssl-includes=/opt/openssl/include \ --with-openssl-libraries=/opt/openssl/lib 2>&1 | tee config.prot and see e.g. this errors: cc -Ae +O3 -s -DNDEBUG -I/cdwriteau/freeradius-1.1.1/src/include -c rlm_unix.c +Z -DPIC -o .libs/rlm_unix.lo cc: "compat.h", line 66: error 1000: Unexpected symbol: "shadow_pwd_t". cc: "compat.h", line 66: error 1584: Inconsistent type declaration: "fgetspent". cc: "compat.h", line 67: warning 604: Pointers are not assignment-compatible. gmake[6]: *** [rlm_unix.lo] Error 1 gmake[6]: Leaving directory `/cdwriteau/freeradius-1.1.1/src/modules/rlm_unix' gmake[5]: *** [common] Error 2 Greetings Wolfram Greinert -- ########################################### # Wolfram Greinert # # URZ der Uni Leipzig, Abteilung Netze # # 04109 Leipzig, Augustusplatz 10/11 # # Tel.: +(0341) 97-33325 # # email: greinert@rz.uni-leipzig.de # ###########################################
Hi Wolfram As far as I know none of the core developers use HP/UX so it is in the category of "Known to work at some point in the past but possibly not work at present/on all versions of HP/UX". We would of course be happy to accept patches to fix any problems thrown up by HP's cc (as long as they don't break existing working platforms) You also may with to try gcc as it will likely work better than HP's version. I personally don't have experience on TCB so I can't help you there, but if PAM can talk to it, you should be able to do it that way... Cheers Peter On Tue 04 Apr 2006 16:34, Wolfram Greinert wrote:
Hello,
the FreeRadius Wiki say HP/UX is a supported platform :-) I try to compile freeradius 1.1.1 on HP-UX 11i with HP's cc but I have no success :-( My question: have anybody successful compiled freeradius 1.1.1 on HP-UX 11i with the HP compiler and can I use HP's TCB for user authentification with freeradius ????
I use configure with this options:
./configure --prefix=/opt/freeradius-1.1.1 --localstatedir=/var/freeradius \ --with-logdir=/pm/freeradius --with-threads=no --with-snmp=no \ --with-openssl-includes=/opt/openssl/include \ --with-openssl-libraries=/opt/openssl/lib 2>&1 | tee config.prot
and see e.g. this errors:
cc -Ae +O3 -s -DNDEBUG -I/cdwriteau/freeradius-1.1.1/src/include -c rlm_unix.c +Z -DPIC -o .libs/rlm_unix.lo cc: "compat.h", line 66: error 1000: Unexpected symbol: "shadow_pwd_t". cc: "compat.h", line 66: error 1584: Inconsistent type declaration: "fgetspent". cc: "compat.h", line 67: warning 604: Pointers are not assignment-compatible. gmake[6]: *** [rlm_unix.lo] Error 1 gmake[6]: Leaving directory `/cdwriteau/freeradius-1.1.1/src/modules/rlm_unix' gmake[5]: *** [common] Error 2
Greetings
Wolfram Greinert
-- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
Hello Peter, Peter Nixon writes:
Hi Wolfram
As far as I know none of the core developers use HP/UX so it is in the category of "Known to work at some point in the past but possibly not work at present/on all versions of HP/UX". We would of course be happy to accept
what a shame ! :-)
patches to fix any problems thrown up by HP's cc (as long as they don't break existing working platforms)
You also may with to try gcc as it will likely work better than HP's version.
no, gcc work not better, I see the same error :-(
I personally don't have experience on TCB so I can't help you there, but if PAM can talk to it, you should be able to do it that way...
okay, HP-UX can work with PAM, so I will try to change the soure but I'm not a "great programer" :-) Greetings Wolfram
Cheers
Peter
On Tue 04 Apr 2006 16:34, Wolfram Greinert wrote:
Hello,
the FreeRadius Wiki say HP/UX is a supported platform :-) I try to compile freeradius 1.1.1 on HP-UX 11i with HP's cc but I have no success :-( My question: have anybody successful compiled freeradius 1.1.1 on HP-UX 11i with the HP compiler and can I use HP's TCB for user authentification with freeradius ????
I use configure with this options:
./configure --prefix=/opt/freeradius-1.1.1 --localstatedir=/var/freeradius \ --with-logdir=/pm/freeradius --with-threads=no --with-snmp=no \ --with-openssl-includes=/opt/openssl/include \ --with-openssl-libraries=/opt/openssl/lib 2>&1 | tee config.prot
and see e.g. this errors:
cc -Ae +O3 -s -DNDEBUG -I/cdwriteau/freeradius-1.1.1/src/include -c rlm_unix.c +Z -DPIC -o .libs/rlm_unix.lo cc: "compat.h", line 66: error 1000: Unexpected symbol: "shadow_pwd_t". cc: "compat.h", line 66: error 1584: Inconsistent type declaration: "fgetspent". cc: "compat.h", line 67: warning 604: Pointers are not assignment-compatible. gmake[6]: *** [rlm_unix.lo] Error 1 gmake[6]: Leaving directory `/cdwriteau/freeradius-1.1.1/src/modules/rlm_unix' gmake[5]: *** [common] Error 2
Greetings
Wolfram Greinert
--
Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
[application/pgp-signature is not supported, skipping...]
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- ########################################### # Wolfram Greinert # # URZ der Uni Leipzig, Abteilung Netze # # 04109 Leipzig, Augustusplatz 10/11 # # Tel.: +(0341) 97-33325 # # email: greinert@rz.uni-leipzig.de # ###########################################
participants (2)
-
greinert@rz.uni-leipzig.de -
Peter Nixon