Re: Regarding the installation path of perl lib

Leo Cacciari <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <1299489560.2243.5.camel@galadriel>
Il giorno lun, 21/02/2011 alle 10.41 +0100, [email protected] ha
scritto:
> I'm configuring netsnmp-5.5 like this :
> 
> ./configure --build x86_64-linux-gnu --prefix=/usr --mandir=${prefix}/share/man --infodir=${prefix}/share/info CFLAGS="-g -O2" \
> 	--disable-scripts --with-persistent-directory=/var/net-snmp --disable-embedded-perl
> 
> Yet make install keep installing some perl lib into /usr/local/lib/perl/.
> 
> Any idea of what am I doing wrong ?
> 
Hi, 
If as it seems, you intend to install perl modules under /usr/lib/perl
you should give the option INSTALLDIRS=vendor to --with-perl-modules
i.e. your config command should be

./configure --build x86_64-linux-gnu --prefix=/usr \
   --mandir=${prefix}/share/man --infodir=${prefix}/share/info \
     CFLAGS="-g -O2" --disable-scripts \
--with-persistent-directory=/var/net-snmp --disable-embedded-perl \
--with-perl-modules="INSTALLDIRS=vendor"

If you need some other location, then its a bit more complicated, and
not well documented :D


-- 
Leo Cacciari
Aliae nationes servitutem pati possunt. Populi romani est propria
libertas


------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.