Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] e2progs and pkgconfig file
@ 2014-11-05 16:05 Michael Sumulong
  2014-11-05 19:04 ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Sumulong @ 2014-11-05 16:05 UTC (permalink / raw)
  To: buildroot

I am currently trying to get partclone to compile under buildroot which
uses the ext2fs libraries. However, I get an issue when partclone compiles
and its looking for a ext2fs.pc file under usr/lib/pkgconfig. Compiling
e2fsprogs for the target does not produce this file under
output/target/usr/lib/pkgconfig but if I compile the host-e2fsprogs it does
generate a ext2fs.pc file under output/host/usr/lib/pkgconfig. I'm not sure
if this is a bug or done on purpose for some reason.

-Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141105/a1e7a0c7/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] e2progs and pkgconfig file
  2014-11-05 16:05 [Buildroot] e2progs and pkgconfig file Michael Sumulong
@ 2014-11-05 19:04 ` Baruch Siach
  2014-11-06 13:55   ` Michael Sumulong
  0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2014-11-05 19:04 UTC (permalink / raw)
  To: buildroot

Hi Michael,

On Wed, Nov 05, 2014 at 11:05:16AM -0500, Michael Sumulong wrote:
> I am currently trying to get partclone to compile under buildroot which
> uses the ext2fs libraries. However, I get an issue when partclone compiles
> and its looking for a ext2fs.pc file under usr/lib/pkgconfig. Compiling
> e2fsprogs for the target does not produce this file under
> output/target/usr/lib/pkgconfig but if I compile the host-e2fsprogs it does
> generate a ext2fs.pc file under output/host/usr/lib/pkgconfig. I'm not sure
> if this is a bug or done on purpose for some reason.

The ext2fs.pc file for the target e2fsprogs package should be under 
output/staging/usr/lib/pkgconfig/ like all other build facilities (headers, 
static libraries, etc.). The command

	output/host/usr/bin/pkg-config --libs ext2fs

gives the expected output on my system.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] e2progs and pkgconfig file
  2014-11-05 19:04 ` Baruch Siach
@ 2014-11-06 13:55   ` Michael Sumulong
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Sumulong @ 2014-11-06 13:55 UTC (permalink / raw)
  To: buildroot

On Wed, Nov 5, 2014 at 2:04 PM, Baruch Siach <baruch@tkos.co.il> wrote:

> Hi Michael,
>
> On Wed, Nov 05, 2014 at 11:05:16AM -0500, Michael Sumulong wrote:
> > I am currently trying to get partclone to compile under buildroot which
> > uses the ext2fs libraries. However, I get an issue when partclone
> compiles
> > and its looking for a ext2fs.pc file under usr/lib/pkgconfig. Compiling
> > e2fsprogs for the target does not produce this file under
> > output/target/usr/lib/pkgconfig but if I compile the host-e2fsprogs it
> does
> > generate a ext2fs.pc file under output/host/usr/lib/pkgconfig. I'm not
> sure
> > if this is a bug or done on purpose for some reason.
>
> The ext2fs.pc file for the target e2fsprogs package should be under
> output/staging/usr/lib/pkgconfig/ like all other build facilities (headers,
> static libraries, etc.). The command
>
>         output/host/usr/bin/pkg-config --libs ext2fs
>
> gives the expected output on my system.
>
> baruch
>
> --
>      http://baruch.siach.name/blog/                  ~. .~   Tk Open
> Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>

Yes, you're absolutely correct. I'm still fairly new to buildroot. I didn't
realize what the staging folder was for. Thanks, this helped fix my issue!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141106/36b2b832/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-06 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-05 16:05 [Buildroot] e2progs and pkgconfig file Michael Sumulong
2014-11-05 19:04 ` Baruch Siach
2014-11-06 13:55   ` Michael Sumulong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox