I find I need the attached patch (attached as it includes tabs) to stop
the man pages and mibs from being installed in /. It could be because I
am using fairly new autotools, but it boils down to Makefile containing
datarootdir = ${prefix}/share
datadir = ${datarootdir}
mandir = ${datarootdir}/man
If datarootdir isn't defined, mandir=/man...
Cheers,
Patrick
--ZPt4rx8FFjLCG7dd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=snmppat
Index: Makefile.top
===================================================================
RCS file: /cvsroot/net-snmp/net-snmp/Makefile.top,v
retrieving revision 5.19
diff -u -r5.19 Makefile.top
--- Makefile.top 6 Sep 2005 15:19:59 -0000 5.19
+++ Makefile.top 8 Oct 2005 15:06:41 -0000
@@ -15,6 +15,7 @@
bindir = @bindir@
sbindir = @sbindir@
libdir = @libdir@
+datarootdir = @datarootdir@
datadir = @datadir@
includedir = @includedir@/net-snmp
ucdincludedir = @includedir@/ucd-snmp
--ZPt4rx8FFjLCG7dd--
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
Net-snm...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
indeed. What versions are you using? I don't think we can apply the patch
until we upgrade our tools. It didn't cause any problems on Linux, but I don't
want to gamble on all the other platforms...
--
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>
You are lost in a twisty maze of little standards, all different.
Yes - I suspect it may well be down to an incompatibility with
your version of autotools. In the Makefile on my system,
the relevant definition is
mandir = ${prefix}/man
which seems to be picked up from a setting in one of the autoconf files.
We would be somewhat reluctant to upgrade the required version of
autoconf, without careful liaison among the core developers first.
And the run-up to a new release (let alone two!) is hardly the
ideal time for that :-)
Dave
There isn't a gamble: the older version don't use datarootdir, so
all that happens is you end up with
datarootdir=
in your Makefile :-)
Patrick
Agreed, this was my gut reaction also. But since we supply the generated
configure in CVS, there's no general need to use autoconf anyway (let
aside using later versions). I'd vote to apply this to MAIN only.
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
No, if autoconf hasn't been updated, you'd end up with
datarootdir=@datarootdir@
and I'm less sure what various versions of 'make' will, uh, make, of that.
--
NOTE: messages sent directly to me, instead of the lists, will be deleted
unless they are requests for paid consulting services.
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>
You are lost in a twisty maze of little standards, all different.
Ah yes - that would be more problematic..
Patrick