On Tue, 10 May 2005, Frank, Jason wrote:

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.

First of all, have you also tried the CVS HEAD? Dealing with autoconf issues is not everyone's idea of a good time, and if I were to provide a patch for your evaluation it would be against HEAD.


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.

Okay, here's the rub... There's this explicit comment in configure.in: # On some platforms (Irix) libnsl and libsocket should not be used.

I read that as, well, a red flag that tells me to tread with care :-)

Have you tried running configure as
        ./configure --with-libs=-lsocket --with-libwrap=[...]
?

Knowing whether or not that works makes it (slightly) easier to figure out the next step.

Cheers,

                                -- Bert

--
Bert Driehuis -- [EMAIL PROTECTED] -- +31-20-3116119
If the only tool you've got is an axe, every problem looks like fun!


------------------------------------------------------- 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_id=7393&alloc_id=16281&op=click _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to