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