Hello
From 5.4 net-snmp is now default requiring perl, BUT that has been
forgotten in the description in the INSTALL file for 5.4 and 5.4.1, i
hope that this is already corrected in the next versions, but haven't
checked..
See the release notes for 5.4:
Important Changes:
- The default configuration now enables embedded Perl and the Perl
modules by default when possible unless explicitly disabled. You
may use the --disable-embedded-perl and --without-perl-modules
configure options, respectively, to revert to the former default
configuration.
Good luck
Best regards
///Thomas
On Jun 26, 2007, at 9:54 PM, Need Help wrote:
I am at the point where I am integrating the NetSNMP package into
our system's build environment. I perform the "./configure" with
the approriate compiler and linker options. After this completes,
I perform a successful "make" as well. However, when the "make
install" is performed I get a permissions error when it tries to
install "perl":
I did not explicitly tell it to install perl in the configure
command, so I am not sure why it is trying to install perl. Is
Perl required to co-exist with NetSNMP for some reason? If so, why?
Here is the "./configure" command I am using:
./configure \
--prefix=/export/home/rosent1/vegasCCdriver/2.267/usr/local \
--srcdir=/export/home/rosent1/vegasCCdriver/2.267/buildsys/B173/
system/netsnmp \
--with-default-snmp-version="3" \
--with-sys-contact="contact" \
--with-sys-location="location" \
--with-logfile="/export/home/rosent1/vegasCCdriver/2.267/buildsys/
B173/system/netsnmp/var/log/snmpd.log" \
--with-persistent-directory="/export/home/rosent1/vegasCCdriver/
2.267/buildsys/B173/system/netsnmp/var/net-snmp" \
--with-cc=$(CC) \
--with-linkcc=$(CC) \
--with-cflags=$(CFLAGS) \
--with-ldflags=$(LDFLAGS);
Here is the warning I receive when the "make install" is issued:
Warning: You do not have permissions to install into /usr/lib/perl5/
site_perl/5.8.5/i386-linux-thread-multi at /usr/lib/perl5/5.8.5/
ExtUtils/Install.pm line 114.
Cannot forceunlink /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-
multi/auto/NetSNMP/default_store/default_store.so: Permission
denied at /usr/lib/perl5/5.8.5/File/Find.pm line 874
make[1]: *** [pure_site_install] Error 255
make[1]: Leaving directory `/export/home/rosent1/vegasCCdriver/
2.267/buildsys/B173/system/netsnmp/perl'
make: *** [perlinstall] Error 1
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s
user panel and lay it on us.
----------------------------------------------------------------------
---
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders