[Buildroot] [PATCH] package/pcre: install headers in legacy location
Romain Naour
romain.naour at openwide.fr
Sun Dec 14 13:32:35 UTC 2014
Hi Yann, all,
Le 13/12/2014 18:08, Yann E. MORIN a écrit :
> nmap is looking for pcre headers in pcre/pcre.h which our current
> version of pcre does not populates.
>
> So, just create those as symlinks to the actual headers.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: Romain Naour <romain.naour at openwide.fr>
>
> ---
> Note: this is not fixing anything for now, because the error in nmap is
> hidden by another error. But this is relaticvely easy to fix, so here we
> go... ;-)
> ---
Confirmed by the nmap's configure output before this patch...
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
... and after this patch:
checking pcre/pcre.h usability... yes
checking pcre/pcre.h presence... yes
checking for pcre/pcre.h... yes
But it seems that the bundled nmap's libpcre is not build even with this patch.
In nmap's Makefile, "pcre_build" is not part of "all" target.
But for consistency with --with-libpcre="$(STAGING_DIR)/usr", let's the pcre
checking works...
(Maybe some other packages are looking for pcre in /usr/include/pcre/ directory).
So;
Acked-by: Romain Naour <romain.naour at openwide.fr>
Best regards,
--
Romain Naour
OPEN WIDE Ingénierie - Paris
23/25, rue Daviel| 75013 PARIS
http://ingenierie.openwide.fr
Le blog des technologies libres et embarquées :
http://www.linuxembedded.fr
More information about the buildroot
mailing list