* question about libgcrypt
@ 2018-03-30 10:10 Zheng, Ruoqin
2018-03-30 10:33 ` Anuj Mittal
0 siblings, 1 reply; 3+ messages in thread
From: Zheng, Ruoqin @ 2018-03-30 10:10 UTC (permalink / raw)
To: openembedded-core
Hi,
I got the following error when building wireshark 2.4.5 during do_configure,
......
| checking for libgcrypt-config...
/yocto/work001/fnst/huangqy/upgrade/build/tmp/work/i586-poky-linux/wireshark/1_2.4.5-r0/recipe-sysroot/usr/bin/crossscripts/libgcrypt-config
| checking for LIBGCRYPT - version >= 1.4.2... ERROR:
/usr/bin/libgcrypt-config should not be used, use an alternative such as pkg-config
| ../wireshark-2.4.5/configure: line 20214: test:
--should-not-have-used-/usr/bin/libgcrypt-config: integer expression expected
| ../wireshark-2.4.5/configure: line 20217: test:
--should-not-have-used-/usr/bin/libgcrypt-config: integer expression expected
.....
And I found it's caused by libgcrypt-config as follows
#!/bin/sh
echo 'ERROR: /usr/bin/libgcrypt-config should not be used, use an alternative such as pkg-config' >&2
echo '--should-not-have-used-/usr/bin/libgcrypt-config'
exit 1
I think this error is caused by libgcrypt, it creates the wrong file, does anyone have any idea about this?
--------------------------------------------------
Zheng Ruoqin
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
ADDR.: No.6 Wenzhu Road, Software Avenue,
Nanjing, 210012, China
MAIL : zhengrq.fnst@cn.fujistu.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: question about libgcrypt
2018-03-30 10:10 question about libgcrypt Zheng, Ruoqin
@ 2018-03-30 10:33 ` Anuj Mittal
2018-04-01 6:01 ` Zheng, Ruoqin
0 siblings, 1 reply; 3+ messages in thread
From: Anuj Mittal @ 2018-03-30 10:33 UTC (permalink / raw)
To: Zheng, Ruoqin, openembedded-core
Hi Ruoqin,
On 03/30/2018 06:10 PM, Zheng, Ruoqin wrote:
> Hi,
>
> I got the following error when building wireshark 2.4.5 during do_configure,
> ......
> | checking for libgcrypt-config...
> /yocto/work001/fnst/huangqy/upgrade/build/tmp/work/i586-poky-linux/wireshark/1_2.4.5-r0/recipe-sysroot/usr/bin/crossscripts/libgcrypt-config
> | checking for LIBGCRYPT - version >= 1.4.2... ERROR:
> /usr/bin/libgcrypt-config should not be used, use an alternative such as pkg-config
> | ../wireshark-2.4.5/configure: line 20214: test:
> --should-not-have-used-/usr/bin/libgcrypt-config: integer expression expected
> | ../wireshark-2.4.5/configure: line 20217: test:
> --should-not-have-used-/usr/bin/libgcrypt-config: integer expression expected
> .....
You will have to change wireshark configure to use pkg-config for
libgcrypt instead of relying on binconfig file to get the version and flags.
Thanks,
Anuj
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: question about libgcrypt
2018-03-30 10:33 ` Anuj Mittal
@ 2018-04-01 6:01 ` Zheng, Ruoqin
0 siblings, 0 replies; 3+ messages in thread
From: Zheng, Ruoqin @ 2018-04-01 6:01 UTC (permalink / raw)
To: Anuj Mittal, openembedded-core
Hi Anuj,
How to change wireshark configure to use pkg-config for libgcrypt?
Thanks
--------------------------------------------------
Zheng Ruoqin
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
ADDR.: No.6 Wenzhu Road, Software Avenue,
Nanjing, 210012, China
MAIL : zhengrq.fnst@cn.fujistu.com
-----Original Message-----
From: Anuj Mittal [mailto:anuj.mittal@intel.com]
Sent: Friday, March 30, 2018 6:33 PM
To: Zheng, Ruoqin/郑 若钦 <zhengrq.fnst@cn.fujitsu.com>; openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] question about libgcrypt
Hi Ruoqin,
On 03/30/2018 06:10 PM, Zheng, Ruoqin wrote:
> Hi,
>
> I got the following error when building wireshark 2.4.5 during do_configure,
> ......
> | checking for libgcrypt-config...
> /yocto/work001/fnst/huangqy/upgrade/build/tmp/work/i586-poky-linux/wireshark/1_2.4.5-r0/recipe-sysroot/usr/bin/crossscripts/libgcrypt-config
> | checking for LIBGCRYPT - version >= 1.4.2... ERROR:
> /usr/bin/libgcrypt-config should not be used, use an alternative such as pkg-config
> | ../wireshark-2.4.5/configure: line 20214: test:
> --should-not-have-used-/usr/bin/libgcrypt-config: integer expression expected
> | ../wireshark-2.4.5/configure: line 20217: test:
> --should-not-have-used-/usr/bin/libgcrypt-config: integer expression expected
> .....
You will have to change wireshark configure to use pkg-config for libgcrypt instead of relying on binconfig file to get the version and flags.
Thanks,
Anuj
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-01 6:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-30 10:10 question about libgcrypt Zheng, Ruoqin
2018-03-30 10:33 ` Anuj Mittal
2018-04-01 6:01 ` Zheng, Ruoqin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.