make install putting perl files in wrong location

Hamster <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

I am trying to compile net-snmp 5.4 from source on an Ubuntu system.

I am using a ./configure line that looks like:
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
--with-persistent-directory=/var/lib/snmp --enable-embedded-perl

When I run make install, the perl modules *always* get put in
/usr/local/lib/perl, and I don't want them there :-) I'd like them to
obey my --prefix settings.

I see that --enable-embedded-perl also forces --with-perl-modules, and
that --with-perl-modules takes an optional =ARGS. Can I do something
with ARGS?

But in a nutshell, how do I tell the perl section where I want the
perl files placed? It seems to completely ignore --prefix (even if I
do something silly like setting --prefix=/foo, the perl modules get
put in /usr/local/lib/perl) so I'm a bit stumped as to what to do.

Thanks!

H.

-------------------------------------------------------------------------
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-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.