[Dnsmasq-discuss] Facing compilation issue with dnsmasq

/dev/rob0 rob0 at gmx.co.uk
Thu Feb 25 13:56:25 GMT 2016


On Thu, Feb 25, 2016 at 12:04:11PM +0000, Mariappan Rajendran wrote:
> I just downloaded the dnsmasq latest version from GIT and facing 
> the below error when i compile.
> Please suggest to resolve this.
> 
> hadmin at ICSCHELAP1003:~/Mari$ git clone https://github.com/guns/dnsmasq
> Cloning into 'dnsmasq'...
> remote: Counting objects: 7776, done.
> remote: Total 7776 (delta 0), reused 0 (delta 0), pack-reused 7776
> Receiving objects: 100% (7776/7776), 7.88 MiB | 23.00 KiB/s, done.
> Resolving deltas: 100% (5206/5206), done.
> Checking connectivity... done.
> 
> 
> root at ICSCHELAP1003:/home/hadmin/Mari/dnsmasq# make install
> Package libidn was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libidn.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libidn' found
snip
> Do i have to build the libidn first, if yes from where to compile ?
> 
> Here is my system config:
> Ubuntu 14.04 kernel version - 3.13.0-32-generic

Ubuntu provides a libidn package.  You simply need to install it; 
there might be one called "libidn-devel" which contains the header 
files needed at compile time.

While you're at it you should review your environment to be sure 
other compile-time needs are met.  Ubuntu probably provides a 
metapackage which will do this.

You might also consider learning how to build a .deb so your 
installed software can be managed by your OS packaging system.

Consult Ubuntu documentation for help with these issues.
-- 
  http://rob0.nodns4.us/
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:



More information about the Dnsmasq-discuss mailing list