Discussion:
[Dnsmasq-discuss] Facing compilation issue with dnsmasq
Mariappan Rajendran
2016-02-25 12:04:11 UTC
Permalink
Hi,

I just downloaded the dnsmasq latest version from GIT and facing the below error when i compile.
Please suggest to resolve this.

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


***@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
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
make[1]: Entering directory `/home/hadmin/Mari/dnsmasq/src'
cc -Wall -W -O2 -DLOCALEDIR='"/opt/dnsmasq/share/locale"' -DVERSION='"2.69test3-546-gfe3d87f"' -c util.c
util.c:28:18: fatal error: idna.h: No such file or directory
compilation terminated.
make[1]: *** [util.o] Error 1
make[1]: Leaving directory `/home/hadmin/Mari/dnsmasq/src'
make: *** [all-i18n] Error 2

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
H/w:
Intel core - i3-4030U CPU @ 1.90GHz * 4
Memory - 3.8GB
OS type - 64 bit

Thanks,
Mari.




This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s).
If you are not the intended recipient, please notify so to the sender by e-mail and delete the original message.
In such cases, please notify us immediately at ***@infinite.com . Further, you are not to copy,
disclose, or distribute this e-mail or its contents to any unauthorized person(s) .Any such actions are
considered unlawful. This e-mail may contain viruses. Infinite has taken every reasonable precaution to minimize
this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should
carry out your own virus checks before opening the e-mail or attachments. Infinite reserves the right to monitor
and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail
address may be stored on the Infinite e-mail system.

***INFINITE******** End of Disclaimer********INFINITE********
/dev/rob0
2016-02-25 13:56:25 UTC
Permalink
Post by Mariappan Rajendran
I just downloaded the dnsmasq latest version from GIT and facing
the below error when i compile.
Please suggest to resolve this.
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.
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
Post by Mariappan Rajendran
Do i have to build the libidn first, if yes from where to compile ?
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:
m***@infinite.com
2016-02-26 04:59:04 UTC
Permalink
Yes it is resolved after installing the libidn package. Thanks a lot.


-----Original Message-----
From: /dev/rob0
Sent: Thursday, February 25, 2016 7:26 PM
To: dnsmasq-***@lists.thekelleys.org.uk
Subject: Re: [Dnsmasq-discuss] Facing compilation issue with dnsmasq
Post by Mariappan Rajendran
I just downloaded the dnsmasq latest version from GIT and facing
the below error when i compile.
Please suggest to resolve this.
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.
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
Post by Mariappan Rajendran
Do i have to build the libidn first, if yes from where to compile ?
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:

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-***@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s).
If you are not the intended recipient, please notify so to the sender by e-mail and delete the original message.
In such cases, please notify us immediately at ***@infinite.com . Further, you are not to copy,
disclose, or distribute this e-mail or its contents to any unauthorized person(s) .Any such actions are
considered unlawful. This e-mail may contain viruses. Infinite has taken every reasonable precaution to minimize
this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should
carry out your own virus checks before opening the e-mail or attachments. Infinite reserves the right to monitor
and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail
address may be stored on the Infinite e-mail system.

***INFINITE******** End of Disclaimer********INFINITE********
Loading...