Operating System - HP-UX
1847179 Members
5337 Online
110263 Solutions
New Discussion

Re: apache and mod_auth_radius

 
Richard Mertz
Regular Advisor

apache and mod_auth_radius

I am trying to install mod_auth_radius into our apache server running on HP-UX 11.0. It is looking, so far, for three header files:

ap_hook.h
ap_ctx.h
ap_mm.h

I have searched everywhere I can think of to get these. I have seen references to these files but haven't been able to get the source.

Any ideas?
What anybody thinks of me is none of my business.
4 REPLIES 4
Dave Kelly_1
Respected Contributor

Re: apache and mod_auth_radius

What version of Apache do you have ?

I checked the source code for 1.3.17 and cannot see any reference to ap_hook.h.

I have also checked the Radius site for mod_auth_radius and the mod_auth_radius.c file does not contain a reference to ap_hook.h.

I don't know where you are getting this reference from ?
Jason VanDerMark
Trusted Contributor

Re: apache and mod_auth_radius

Hmmm, these files are for the Apache development tools. Strange that they would be needed. Just to be sure that you have the best apache files for HP-UX you could download it from the following URL:

http://hpux.cs.utah.edu/hppd/hpux/Networking/WWW/apache-1.3.17/

I did find the files you talked about earlier but they only seemed to be available for the various Linux distros. I found them on redhat's website at the following URL:

http://www.redhat.com/swr/i386/apache-devel-1.3.12-2.i386_fl.html

Hope that this helps.

Good Luck,
Jason V.
Tie two birds together, eventhough they have four wings, they cannot fly.
Richard Mertz
Regular Advisor

Re: apache and mod_auth_radius

When I do apxs -i -a -c mod_auth_radius.c, I get the missing files. I am using Apache 1.3.9. I found the files, however, now when I try the apxs, I get:

gcc -DSOLARIS2=260 -DMOD_SSL=204110 -DEAPI -DUSE_EXPAT -I../lib/expat-lite -fPIC
-DSHARED_MODULE -I/software/oracle/ias/Apache/Apache/include -c /software/mod_auth_radius-1.5.2/mod_auth_radius.c
In file included from /usr/include/unistd.h:11,
from /software/oracle/ias/Apache/Apache/include/ap_config.h:113
2,
from /software/oracle/ias/Apache/Apache/include/httpd.h:71,
from /software/mod_auth_radius-1.5.2/mod_auth_radius.c:264:
/usr/include/sys/unistd.h:271: conflicting types for `gethostname'
/software/oracle/ias/Apache/Apache/include/ap_config.h:188: previous declaration
of `gethostname'
apxs:Break: Command failed with rc=65536
What anybody thinks of me is none of my business.
Jason VanDerMark
Trusted Contributor

Re: apache and mod_auth_radius

I would have to suggest that you download the latest HP-UX build of apache from the link I supplied above. There may have been fixes applied since 1.3.9 thus making the process much smoother with the newer version. Just a suggestion. Hope this helps.

Regards,
Jason V.
Tie two birds together, eventhough they have four wings, they cannot fly.