Apache & IPv6

NDSoftware extml@ndsoftware.net
Fri, 23 Mar 2001 13:01:12 +0100


OK but the last version for RedHat 6.2 is: glibc-2.1.3-22.i386.rpm !!!
Where i can find a package of glibc 2.2(.2) for RedHat 6.2 ?
Can i use glibc of RedHat 7.0 ?
Help me please !
Thanks

Nicolas DEFFAYET, SurfNetConneXion
ipmaster@surfnetconnexion.com

-----Original Message-----
From: Matti Aarnio [mailto:mea@zmailer.org]On Behalf Of Matti Aarnio
Sent: Friday, March 23, 2001 7:32 AM
To: NDSoftware
Cc: 6bone@ISI.EDU
Subject: Re: Apache & IPv6


On Fri, Mar 23, 2001 at 12:04:39AM +0100, NDSoftware wrote:
> Hi,
> When i want compile apache 1.3.19 with IPv6 support i have:
>
> ===> src/main
>
gcc -c  -I../os/unix -I../include   -DLINUX=22 -DNEED_GETADDRINFO -DNEED_GET
> NAMEINFO -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED
> `../apaci` util.c
> getaddrinfo.c: In function `getaddrinfo':
> In file included from util.c:2322:
> getaddrinfo.c:123: request for member `ai_socktype' in something not a
structure or union

	This is indicative that  <netdb.h>  header does not have
	'struct addrinfo' defined in it.  (Or that some #define is
	is used to hide the real implementation in case such exists..)

	I think that got added at glibc 2.1, which is what RH 6.2 has.
	Do get lattest update of glibc, including glibc-*-devel!

	Alternatively, your patch-set has its own version of netdb.h,
	which conflicts with things.

	The  Apache 2.0 Alphas (not yet beta) do compile just fine
	at my glibc 2.2(.2) based systems, and bind themselves to ::0/0
	giving service at both (I think) IPv4 and IPv6.
	(Be prepared to fix encountered bugs if you try that.)

	For years I have had native IPv6 support at my ZMailer MTA,
	which used to use its own  "netdb6.h"  include in case the
	system <netdb.h> didn't show (at ./configure  time) to have
	getaddrinfo() capabilities.  These days I can compile the
	beast without using my old support library.
	(E.g. Linux systems since the dawn of IPv6 support until
	 glibc caught up and supplied working functions.)

	I have no idea how carefull backwards support is in that
	patch-set you use.

...
> Where i can found the lib getaddrinfo() and getnameinfo() for compile
Apache?
>
> I use RedHat 6.2 with kernel 2.2.18 IPv6.
> Thanks for all help.
>
> Nicolas DEFFAYET, SurfNetConneXion
> ipmaster@surfnetconnexion.com

/Matti Aarnio <matti.aarnio@zmailer.org>