--===============1022427477==
Content-Type: multipart/alternative; boundary="0-1666440538-1165420242=:82356"
Content-Transfer-Encoding: 8bit

--0-1666440538-1165420242=:82356
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Thank you very much
I have tried with the options given below.
But make install still tries to write files outside in the installation dir I provided.
The command I have used for configure is as follows:
./configure LDFLAGS=-L/usr/lib64 --with-sys-contact=Lab@yz.com --with-sys-location=Lab --with-logfile=/var/log/snmpd.log --with-persistent-directory=/var/net-snmp --with-default-snmp-version=2 --with-out-perl-modules --disable-embedded-perl --prefix=/install

The errors are as follows:
Warning: You do not have permissions to install into /usr/lib/perl5/site_perl/5.8.5 at /usr/lib/perl5/5.8.5/ExtUtils/Install.pm line 114.
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/share/man/man3/NetSNMP::default_store.3pm
Installing /usr/share/man/man3/NetSNMP::ASN.3pm
Installing /usr/share/man/man3/NetSNMP::OID.3pm
Installing /usr/share/man/man3/NetSNMP::agent::default_store.3pm
Installing /usr/share/man/man3/NetSNMP::netsnmp_request_infoPtr.3pm
Installing /usr/share/man/man3/NetSNMP::agent.3pm
Installing /usr/share/man/man3/SNMP.3
Installing /usr/share/man/man3/NetSNMP::TrapReceiver.3pm
Writing /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/Bundle/NetSNMP/.packlist
Appending installation info to /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/perllocal.pod
make[1]: Leaving directory `/cm_data/icogbbfsw/pnu/net-snmp/net-snmp-5.4/perl'


Thanks again,
Reddy


Thomas Anders wrote: Dave Shield wrote:
> On 05/12/06, Venkata Guddeti wrote:
>> Is there an option to choose for those files to go into a different dir (of
>> my choice)?

>
> Not sure, offhand.
> But disabling the perl stuff might help.
> Try
> configure --with-out-perl-modules --disable-embedded-perl


.... --without-perl-modules ..., actually.

If you prefer to keep the Perl stuff,

configure --with-perl-modules=PREFIX=/some/where/else

will put the Perl modules beneath /some/where/else. You can also individually
set INSTALLSITEARCH, INSTALLSITEMAN3DIR and INSTALLSITELIB for more fine-grain
control.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


--0-1666440538-1165420242=:82356
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Thank you very much
I have tried with the options given below.
But make install still tries to write files outside in the installation dir I provided.
The command I have used for configure is as follows:
./configure LDFLAGS=-L/usr/lib64 --with-sys-contact=Lab@yz.com --with-sys-location=Lab --with-logfile=/var/log/snmpd.log --with-persistent-directory=/var/net-snmp  --with-default-snmp-version=2 --with-out-perl-modules  --disable-embedded-perl --prefix=<Mydir_PATH>/install

The errors are as follows:
Warning: You do not have permissions to install into /usr/lib/perl5/site_perl/5.8.5 at /usr/lib/perl5/5.8.5/ExtUtils/Install.pm line 114.
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/share/man/man3/NetSNMP::default_store.3pm
Installing /usr/share/man/man3/NetSNMP::ASN.3pm
Installing /usr/share/man/man3/NetSNMP::OID.3pm
Installing
/usr/share/man/man3/NetSNMP::agent::default_store.3pm
Installing /usr/share/man/man3/NetSNMP::netsnmp_request_infoPtr.3pm
Installing /usr/share/man/man3/NetSNMP::agent.3pm
Installing /usr/share/man/man3/SNMP.3
Installing /usr/share/man/man3/NetSNMP::TrapReceiver.3pm
Writing /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/Bundle/NetSNMP/.packlist
Appending installation info to /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/perllocal.pod
make[1]: Leaving directory `/cm_data/icogbbfsw/pnu/net-snmp/net-snmp-5.4/perl'


Thanks again,
Reddy


Thomas Anders <thomas.anders@blue-cable.de> wrote:
Dave Shield wrote:
> On 05/12/06, Venkata Guddeti wrote:
>> Is there an option to choose for those files to go into a different dir
(of
>> my choice)?
>
> Not sure, offhand.
> But disabling the perl stuff might help.
> Try
> configure --with-out-perl-modules --disable-embedded-perl

... --without-perl-modules ..., actually.

If you prefer to keep the Perl stuff,

configure --with-perl-modules=PREFIX=/some/where/else

will put the Perl modules beneath /some/where/else. You can also individually
set INSTALLSITEARCH, INSTALLSITEMAN3DIR and INSTALLSITELIB for more fine-grain
control.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


--0-1666440538-1165420242=:82356--


--===============1022427477==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
--===============1022427477==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders

--===============1022427477==--