Jens Schleusener <[EMAIL PROTECTED]> writes: >>> --12:36:51-- http://www.example.com/ >>> => `index.html' >>> Resolving www.example.com... failed: Invalid flags in hints. >> >> This is really bad. Apparently your version of getaddrinfo is broken >> or Wget is using it incorrectly. Can you intuit which flags cause the >> problem? Depending on the circumstances, Wget uses AI_ADDRCONFIG, >> AI_PASSIVE, and/or AI_NUMERICHOST. > > Yes, all three seems defined, probably via /usr/include/netdb.h.
Then I am guessing that AIX's getaddrinfo doesn't like AF_UNSPEC family + AI_ADDRCONFIG hint. If you use `wget -4 http://www.example.com/', does it then work? > But I have no idea were the error message "Invalid flags in hints" > comes from. Directly from wget (probably not) or from system > resolver routines? >From the system resolver, which Wget invokes via getaddrinfo. > That doesn't works (typo ?) better seems > > ./configure CPPFLAGS=-I/usr/local/contrib/include > LDFLAGS=-L/usr/local/contrib/lib That's what I meant, sorry. But that is pretty much what --with-ssl=/usr/local/include does. (I misread your original message, thinking that the OpenSSL includes were in an entirely different location). > respectively in my case > > --with-ssl=/usr/local/contrib > > should probably do that job. Yes. I'd like to see config.log, or the relevant parts thereof, which should contain errors. > After long trial and error testing I have the impression that the > "configure"-script has an error. If I change for e.g. at line 25771 > > { ac_try='test -s conftest.$ac_objext' > > into > > { ac_try='test -s .libs/conftest.$ac_objext' > > the generated test object file will now be found. But why don't I (and other non-AIX testers) have that problem? Maybe Libtool is doing something strange on AIX?
