On Thu, 2010-06-03 at 20:48 +0200, KP Kirchdoerfer wrote:
> Am Donnerstag, 3. Juni 2010 17:15:46 schrieb Andrew:
-snip-
> > Hmm... Strange, it looks that it needs perl - in some reason it found
> > your perl interpreter, but can't link it's library; and on my system it
> > doesn't found perl - possible due to cross-compilation on x86-64.
> > I disabled embedded perl interpreter in net-snmp; try now to build
> > net-snmp.
>
> Andrew;
>
> this makes things worse - it just looks for a full version of perl.
> I doubt your package will run on a LEAF router without perl...
>
> I went back to 5.3.x and it compiles without problems. AFAIR the perl
> dependency was the reason we've never updated net-snmp in the 3.x series.
KP & Andrew,
Does this help?
http://www.net-snmp.org/docs/INSTALL.html
Some systems require unusual options for compilation or linking
that
the `configure' script does not know about. You can give `configure'
initial values for variables by setting them in the environment. Using
a Bourne-compatible shell, you can do that on the command line like
this:
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
Or on systems that have the `env' program, you can do it like this:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
> Is there a reason you updated net-snmp?
--
Mike Noyes <mhnoyes at users.sourceforge.net>
http://sourceforge.net/users/mhnoyes/
SF.net Projects: leaf, sourceforge/sitedocs
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
leaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-devel