* [Buildroot] PKG_CONFIG_PATH question
@ 2011-10-30 19:27 Łukasz Pułka
2011-11-02 7:59 ` Thomas De Schampheleire
0 siblings, 1 reply; 5+ messages in thread
From: Łukasz Pułka @ 2011-10-30 19:27 UTC (permalink / raw)
To: buildroot
Hi all,
My name is Luke and I am new here.
After two encouraging sessions about buildroot on ELCE, I decided to
give it a try.
I am usually using OpenEmbedded but just for fun I decided to build
similar image with buildroot, I downloaded buildroot-2011.08.
Compiled my own toolchain with crostool-ng (btw, all new CodeSourcery
arm toolchains have ICE when iwmmxt optimization is enabled). And.. i
get stuck for the while.
For the build system I use quite ancient host machine (slackware),
maybe it causes some problems.
I could not compile libxcb, getting error from configure that
xcb-proto version is less than 1.5 (buildroot is looking for
xcb-proto.pc file (during configure) inside " /usr/lib/pkgconfig/" -
on my build system) is that nomal ?
I could move forward by setting environment variable PKC_CONFIG_PATH
to the STAGING_DIR/usr/lib/pkgconfig/, butI do not like this solution.
Best regards,
Luke Pulka
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] PKG_CONFIG_PATH question
2011-10-30 19:27 [Buildroot] PKG_CONFIG_PATH question Łukasz Pułka
@ 2011-11-02 7:59 ` Thomas De Schampheleire
2011-11-02 11:46 ` Łukasz Pułka
0 siblings, 1 reply; 5+ messages in thread
From: Thomas De Schampheleire @ 2011-11-02 7:59 UTC (permalink / raw)
To: buildroot
Hi Luke,
2011/10/30 ?ukasz Pu?ka <lukasz@oxnet.pl>:
> Hi all,
>
> My name is Luke and I am new here.
>
> After two encouraging sessions about buildroot on ELCE, I decided to
> give it a try.
Welcome! It's nice to hear that ELCE made a difference!
> I am usually using OpenEmbedded but just for fun I decided to build
> similar image with buildroot, I downloaded buildroot-2011.08.
> Compiled my own toolchain with crostool-ng (btw, all new CodeSourcery
> arm toolchains have ICE when iwmmxt optimization is enabled). And.. i
> get stuck for the while.
>
> For the build system I use quite ancient host machine (slackware),
> maybe it causes some problems.
>
> I could not compile libxcb, getting error from configure that
> xcb-proto version is less than 1.5 (buildroot is looking for
> xcb-proto.pc file (during configure) inside " /usr/lib/pkgconfig/" -
> on my build system) is that nomal ?
>
> I could move forward by setting environment variable PKC_CONFIG_PATH
> to the STAGING_DIR/usr/lib/pkgconfig/, butI do not like this solution.
Could you give some more details, for example (part of) the build log,
showing which package is being installed. Some packages first install
a host- variant. In that case, it is perfectly valid for the configure
step of that host package to check /usr/lib/pkgconfig.
Best regards,
Thomas
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] PKG_CONFIG_PATH question
2011-11-02 7:59 ` Thomas De Schampheleire
@ 2011-11-02 11:46 ` Łukasz Pułka
2011-11-02 11:58 ` Peter Korsgaard
0 siblings, 1 reply; 5+ messages in thread
From: Łukasz Pułka @ 2011-11-02 11:46 UTC (permalink / raw)
To: buildroot
>> For the build system I use quite ancient host machine (slackware),
>> maybe it causes some problems.
>>
>> I could not compile libxcb, getting error from configure that
>> xcb-proto version is less than 1.5 (buildroot is looking for
>> xcb-proto.pc file (during configure) inside " /usr/lib/pkgconfig/" -
>> on my build system) is that nomal ?
>>
>> I could move forward by setting environment variable PKC_CONFIG_PATH
>> to the STAGING_DIR/usr/lib/pkgconfig/, butI do not like this solution.
> Could you give some more details, for example (part of) the build log,
> showing which package is being installed. Some packages first install
> a host- variant. In that case, it is perfectly valid for the configure
> step of that host package to check /usr/lib/pkgconfig.
The error occured when building xcb-proto for the target machine, not
host-xcb-proto.
My version of pkg-config was 0.21, or 0.20, and it did not supported
PKG_CONFIG_SYSROOT_DIR environment variable.
After updating my build OS (slackware 12) with newer pkg-config
(0.23) it was possible for me to move forward without the trick with
PKG_CONFIG_PATH.
After some time I found that buildroot generates host-pkg-config
package, but I wonder why buildroot uses my host installed pkg-config,
what is the reason to build host-pkg-config and use pkg-config from my
machine?
Best regards,
Lukasz
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] PKG_CONFIG_PATH question
2011-11-02 11:46 ` Łukasz Pułka
@ 2011-11-02 11:58 ` Peter Korsgaard
2011-11-02 13:17 ` Łukasz Pułka
0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2011-11-02 11:58 UTC (permalink / raw)
To: buildroot
>>>>> "?ukasz" == ?ukasz Pu?ka <lukasz@oxnet.pl> writes:
Hi,
?ukasz> The error occured when building xcb-proto for the target
?ukasz> machine, not host-xcb-proto.
I guess you mean libxcb?
?ukasz> My version of pkg-config was 0.21, or 0.20, and it did not supported
?ukasz> PKG_CONFIG_SYSROOT_DIR environment variable.
?ukasz> After updating my build OS (slackware 12) with newer pkg-config
?ukasz> (0.23) it was possible for me to move forward without the trick with
?ukasz> PKG_CONFIG_PATH.
?ukasz> After some time I found that buildroot generates host-pkg-config
?ukasz> package, but I wonder why buildroot uses my host installed pkg-config,
?ukasz> what is the reason to build host-pkg-config and use pkg-config from my
?ukasz> machine?
Because of a missing dependency. I've fixed it in git now.
Thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] PKG_CONFIG_PATH question
2011-11-02 11:58 ` Peter Korsgaard
@ 2011-11-02 13:17 ` Łukasz Pułka
0 siblings, 0 replies; 5+ messages in thread
From: Łukasz Pułka @ 2011-11-02 13:17 UTC (permalink / raw)
To: buildroot
> ??ukasz> The error occured when building xcb-proto for the target
> ??ukasz> machine, not host-xcb-proto.
> I guess you mean libxcb?
Yes, I mean libxcb.
> ??ukasz> After some time I found that buildroot generates host-pkg-config
> ??ukasz> package, but I wonder why buildroot uses my host installed pkg-config,
> ??ukasz> what is the reason to build host-pkg-config and use pkg-config from my
> ??ukasz> machine?
>
> Because of a missing dependency. I've fixed it in git now.
Thanks!
Lukasz
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-11-02 13:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-30 19:27 [Buildroot] PKG_CONFIG_PATH question Łukasz Pułka
2011-11-02 7:59 ` Thomas De Schampheleire
2011-11-02 11:46 ` Łukasz Pułka
2011-11-02 11:58 ` Peter Korsgaard
2011-11-02 13:17 ` Łukasz Pułka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox