If you want to build libwrap support into net-snmp-5.2.1 under Solaris, it doesn't make it past the configure test as it stands today. This is due to the fact that Solaris has some unusual locations for some of it's networking functions.
The basic idea is that you have to use the socket library when you use just about anything with networking under Solaris. I am not a configure guru in any way, so I don't know the correct way to fix this. I do know that the following changes to configure will get you past the configure and complete the build successfully. I'm not sure if the build was already working correctly, and just the configure script was wrong, or if the configure change I made fixed the build. Although I suspect the build was just fine and this one piece was missed on the configure. In any event, it works with these changes. I'm sure that some of these changes are surplus, but since this isn't the real fix, I didn't bother investigating which ones are. If someone want to email me a patch for testing, I'll be happy to do so. I can test on Solaris 8 and 9. Jason 12826c12826 < LIBS="-lnsl $LIBS" --- > LIBS="-lnsl -lsocket $LIBS" 12889c12889 < LIBS="-lnsl $LIBS" --- > LIBS="-lnsl -lsocket $LIBS" 12945c12945 < WRAPLIBS="$WRAPLIBS -lwrap -lnsl" --- > WRAPLIBS="$WRAPLIBS -lwrap -lnsl -lsocket" ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
