-----------------------------------------------
Intel Corporation NV/SA
Kings Square, Veldkant 31
2550 Kontich
RPM (Bruxelles) 0415.497.718. 
Citibank, Brussels, account 570/1031255/09


> -----Original Message-----
> From: Patrick Ohly [mailto:[email protected]]
> Sent: Monday, January 12, 2015 10:14 PM
> To: VanCutsem, Geoffroy
> Cc: Kévin THIERRY; [email protected]; [email protected]
> Subject: Re: [IVI] [Dev] Tizen-Distro the Tizen build with Yocto Project is
> available
> 
> On Mon, 2015-01-12 at 15:34 +0000, VanCutsem, Geoffroy wrote:
> > Hi Patrick,
> >
> > > -----Original Message-----
> > > From: Patrick Ohly [mailto:[email protected]]
> > > Sent: Monday, January 12, 2015 8:59 AM
> > > To: VanCutsem, Geoffroy
> > > Cc: Kévin THIERRY; [email protected]; [email protected]
> > > Subject: Re: [IVI] [Dev] Tizen-Distro the Tizen build with Yocto Project 
> > > is
> > > available
> > >
> > > On Fri, 2015-01-09 at 10:18 +0000, VanCutsem, Geoffroy wrote:
> > > > Hi Kevin,
> > > >
> > > > I got past this error by installing pcre-devel on my Fedora dev
> > > > machine (sudo yum install pcre-devel). Swig was then successfully
> > > > compiled.
> > >
> > > Was that swig-native or swig for the target architecture?
> > I don't know, how can I find out?
> 
> The name of all native tools end with -native. In this case it was the
> swig for the target that failed.
Easy enough, I'll remember that :-)

> 
> >  One might get
> > > away with linking the native swig against the native pcre-devel, but
> > > doing the same for the target is almost certainly wrong.
> > >
> > > meta-oe/recipes-devtools/swig/swig.inc declares the dependency on
> > > libpcre. A log of the actual build failure would be useful to determine
> > > why it was not found.
> > The log (do_configure) was attached to my previous mail, here it is again.
> 
> My bad. Somehow I managed to overlook both the attachment and your
> comment about it.
No problem at all.

> 
> Unfortunately the log doesn't show much about the state of the sysroot
> at the time of the failure. But I was able to reproduce it:
> libpcre-devel in Yocto installs only the .pc file, whereas swig is
> looking for the older pcre-config. There is a patch replacing that with
> pkg-config, but the swig recipe fails to re-generate configure after
> patching configure.ac.
> 
> Looks like an upsteam meta-oe bug. I'll check in more detail tomorrow.
Thanks!

Geoffroy
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to