Re: Patch for build instructions

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
On 03/21/18 19:47, Eric S. Raymond wrote:
>>From 2ffbdd9e8f15eb3e3dc985ab3aa0a12d798e4b78 Mon Sep 17 00:00:00 2001
> From: "Eric S. Raymond" <[email protected]>
> Date: Wed, 21 Mar 2018 20:24:40 -0400
> Subject: [PATCH] INSTALL: Fix for build instructions.
> 
> Mention a prerequisite that will trip people up under Ubuntu.
> ---
>   INSTALL | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/INSTALL b/INSTALL
> index 24f8d6c..aad9099 100644
> --- a/INSTALL
> +++ b/INSTALL
> @@ -27,7 +27,8 @@ QUICK INSTRUCTIONS
>        (due to prompting done by the configure script, this is very rarely
>         necessary.)
>   
> -  3) make
> +  3) Run make.  If the build fails with a complaint that it can't resolve
> +     -lperl, install libperl-dev and try again.
>   
>     4) Run the next command as root:
>     5) make install

This should be elaborated further: another alternative is to pass 
--disable-embedded-perl to the configure script.

Bart.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
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.