DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] meson build issue
@ 2019-07-04 13:38 Jerin Jacob Kollanukkaran
  2019-07-04 13:50 ` Bruce Richardson
  0 siblings, 1 reply; 6+ messages in thread
From: Jerin Jacob Kollanukkaran @ 2019-07-04 13:38 UTC (permalink / raw)
  To: dev, bruce.richardson, Luca Boccassi, thomas

Anyone else facing this meson build issue in master?

Installing /home/jerin/dpdk-next-eventdev/build-x86-default/meson-private/libdpdk.pc to /home/jerin/dpdk-next-eventdev/build-x86-default/install-root/usr/local/lib/pkgconfig
Running custom install script '/bin/sh /home/jerin/dpdk-next-eventdev/config/../buildtools/symlink-drivers-solibs.sh lib dpdk/pmds-19.08'
Running custom install script '/usr/bin/sh -c rm -f $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/.buildinfo'
Running custom install script '/usr/bin/sh -c install -D -m0644 $MESON_SOURCE_ROOT/doc/guides/custom.css $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/_static/css/custom.css'
## Building cmdline
make: Entering directory '/home/jerin/dpdk-next-eventdev/build-x86-default/install-root/usr/local/share/dpdk/examples/cmdline'
pkgconf: unknown option -- define-prefix
rm -f build/cmdline build/cmdline-static build/cmdline-shared
test -d build && rmdir -p build || true
pkgconf: unknown option -- define-prefix
pkgconf: unknown option -- define-prefix
cc -O3  main.c commands.c parse_obj_list.c -o build/cmdline-shared
main.c:14:10: fatal error: cmdline_rdline.h: No such file or directory
 #include <cmdline_rdline.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
commands.c:23:10: fatal error: cmdline_rdline.h: No such file or directory
 #include <cmdline_rdline.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
parse_obj_list.c:15:10: fatal error: cmdline_parse.h: No such file or directory
 #include <cmdline_parse.h>
          ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:28: build/cmdline-shared] Error 1
make: Leaving directory '/home/jerin/dpdk-next-eventdev/build-x86-default/install-root/usr/local/share/dpdk/examples/cmdline'

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

* Re: [dpdk-dev] meson build issue
  2019-07-04 13:38 [dpdk-dev] meson build issue Jerin Jacob Kollanukkaran
@ 2019-07-04 13:50 ` Bruce Richardson
  2019-07-04 13:52   ` David Marchand
  0 siblings, 1 reply; 6+ messages in thread
From: Bruce Richardson @ 2019-07-04 13:50 UTC (permalink / raw)
  To: Jerin Jacob Kollanukkaran; +Cc: dev, Luca Boccassi, thomas

On Thu, Jul 04, 2019 at 01:38:01PM +0000, Jerin Jacob Kollanukkaran wrote:
> Anyone else facing this meson build issue in master?
> 
> Installing /home/jerin/dpdk-next-eventdev/build-x86-default/meson-private/libdpdk.pc to /home/jerin/dpdk-next-eventdev/build-x86-default/install-root/usr/local/lib/pkgconfig
> Running custom install script '/bin/sh /home/jerin/dpdk-next-eventdev/config/../buildtools/symlink-drivers-solibs.sh lib dpdk/pmds-19.08'
> Running custom install script '/usr/bin/sh -c rm -f $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/.buildinfo'
> Running custom install script '/usr/bin/sh -c install -D -m0644 $MESON_SOURCE_ROOT/doc/guides/custom.css $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/_static/css/custom.css'
> ## Building cmdline
> make: Entering directory '/home/jerin/dpdk-next-eventdev/build-x86-default/install-root/usr/local/share/dpdk/examples/cmdline'
> pkgconf: unknown option -- define-prefix

What distro are you on? You probably need an updated copy of pkg-config or
pkgconf.

/Bruce


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

* Re: [dpdk-dev] meson build issue
  2019-07-04 13:50 ` Bruce Richardson
@ 2019-07-04 13:52   ` David Marchand
  0 siblings, 0 replies; 6+ messages in thread
From: David Marchand @ 2019-07-04 13:52 UTC (permalink / raw)
  To: Bruce Richardson; +Cc: Jerin Jacob Kollanukkaran, dev, Luca Boccassi, thomas

On Thu, Jul 4, 2019 at 3:51 PM Bruce Richardson <bruce.richardson@intel.com>
wrote:

> On Thu, Jul 04, 2019 at 01:38:01PM +0000, Jerin Jacob Kollanukkaran wrote:
> > Anyone else facing this meson build issue in master?
> >
> > Installing
> /home/jerin/dpdk-next-eventdev/build-x86-default/meson-private/libdpdk.pc
> to
> /home/jerin/dpdk-next-eventdev/build-x86-default/install-root/usr/local/lib/pkgconfig
> > Running custom install script '/bin/sh
> /home/jerin/dpdk-next-eventdev/config/../buildtools/symlink-drivers-solibs.sh
> lib dpdk/pmds-19.08'
> > Running custom install script '/usr/bin/sh -c rm -f
> $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/.buildinfo'
> > Running custom install script '/usr/bin/sh -c install -D -m0644
> $MESON_SOURCE_ROOT/doc/guides/custom.css
> $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/_static/css/custom.css'
> > ## Building cmdline
> > make: Entering directory
> '/home/jerin/dpdk-next-eventdev/build-x86-default/install-root/usr/local/share/dpdk/examples/cmdline'
> > pkgconf: unknown option -- define-prefix
>
> What distro are you on? You probably need an updated copy of pkg-config or
> pkgconf.
>
>
I got the same error on my rhel 7.6.


-- 
David Marchand

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

* Re: [dpdk-dev] meson build issue
  2019-07-04 14:01 ` Bruce Richardson
@ 2019-07-04 14:14   ` Luca Boccassi
  0 siblings, 0 replies; 6+ messages in thread
From: Luca Boccassi @ 2019-07-04 14:14 UTC (permalink / raw)
  To: Bruce Richardson, Jerin Jacob Kollanukkaran; +Cc: dev, thomas

On Thu, 2019-07-04 at 15:01 +0100, Bruce Richardson wrote:
> On Thu, Jul 04, 2019 at 01:57:14PM +0000, Jerin Jacob Kollanukkaran
> wrote:
> > 
> > > -----Original Message-----
> > > From: Bruce Richardson <
> > > bruce.richardson@intel.com
> > > >
> > > Sent: Thursday, July 4, 2019 7:21 PM
> > > To: Jerin Jacob Kollanukkaran <
> > > jerinj@marvell.com
> > > >
> > > Cc: dev <
> > > dev@dpdk.org
> > > >; Luca Boccassi <
> > > bluca@debian.org
> > > >;
> > > thomas@monjalon.net
> > > 
> > > Subject: [EXT] Re: meson build issue
> > > 
> > > On Thu, Jul 04, 2019 at 01:38:01PM +0000, Jerin Jacob
> > > Kollanukkaran wrote:
> > > > Anyone else facing this meson build issue in master?
> > > > 
> > > > Installing
> > > > /home/jerin/dpdk-next-eventdev/build-x86-default/meson-
> > > 
> > > private/libdpdk
> > > > .pc to
> > > > /home/jerin/dpdk-next-eventdev/build-x86-default/install-
> > > > root/usr/loca
> > > > l/lib/pkgconfig Running custom install script '/bin/sh
> > > > /home/jerin/dpdk-next-eventdev/config/../buildtools/symlink-
> > > > drivers-
> > > 
> > > solibs.sh lib dpdk/pmds-19.08'
> > > > Running custom install script '/usr/bin/sh -c rm -f
> > > 
> > > $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/.buildinfo'
> > > > Running custom install script '/usr/bin/sh -c install -D -m0644
> > > 
> > > $MESON_SOURCE_ROOT/doc/guides/custom.css
> > > $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/_static/css/c
> > > us
> > > tom.css'
> > > > ## Building cmdline
> > > > make: Entering directory '/home/jerin/dpdk-next-eventdev/build-
> > > > x86-
> > > 
> > > default/install-root/usr/local/share/dpdk/examples/cmdline'
> > > > pkgconf: unknown option -- define-prefix
> > > 
> > > What distro are you on? You probably need an updated copy of pkg-
> > > config or
> > > pkgconf.
> > 
> > It is arch linux(rolling distro)
> > 
> > $ pkg-config --version
> > 0.28
> > 
> > $ pkgconf --version
> > 0.28
> > 
> 
> Maybe pkgconf doesn't support that flag yet. If you install pkg-
> config
> rather than pkgconf does it make the problem go away? (at least on
> ubuntu
> when I tried it the two were mutually exclusive)
> 
> /Bruce

Support for that flag was added in pkgconf 1.2.0 in January 2017 and
pkg-config 0.29 in August 2015 - the problem is that version of pkg-
config is even older, 0.28 from 2013 - strange that Arch doesn't have
anything newer?

-- 
Kind regards,
Luca Boccassi

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

* Re: [dpdk-dev] meson build issue
  2019-07-04 13:57 Jerin Jacob Kollanukkaran
@ 2019-07-04 14:01 ` Bruce Richardson
  2019-07-04 14:14   ` Luca Boccassi
  0 siblings, 1 reply; 6+ messages in thread
From: Bruce Richardson @ 2019-07-04 14:01 UTC (permalink / raw)
  To: Jerin Jacob Kollanukkaran; +Cc: dev, Luca Boccassi, thomas

On Thu, Jul 04, 2019 at 01:57:14PM +0000, Jerin Jacob Kollanukkaran wrote:
> 
> 
> > -----Original Message-----
> > From: Bruce Richardson <bruce.richardson@intel.com>
> > Sent: Thursday, July 4, 2019 7:21 PM
> > To: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
> > Cc: dev <dev@dpdk.org>; Luca Boccassi <bluca@debian.org>;
> > thomas@monjalon.net
> > Subject: [EXT] Re: meson build issue
> > 
> > On Thu, Jul 04, 2019 at 01:38:01PM +0000, Jerin Jacob Kollanukkaran wrote:
> > > Anyone else facing this meson build issue in master?
> > >
> > > Installing
> > > /home/jerin/dpdk-next-eventdev/build-x86-default/meson-
> > private/libdpdk
> > > .pc to
> > > /home/jerin/dpdk-next-eventdev/build-x86-default/install-root/usr/loca
> > > l/lib/pkgconfig Running custom install script '/bin/sh
> > > /home/jerin/dpdk-next-eventdev/config/../buildtools/symlink-drivers-
> > solibs.sh lib dpdk/pmds-19.08'
> > > Running custom install script '/usr/bin/sh -c rm -f
> > $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/.buildinfo'
> > > Running custom install script '/usr/bin/sh -c install -D -m0644
> > $MESON_SOURCE_ROOT/doc/guides/custom.css
> > $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/_static/css/cus
> > tom.css'
> > > ## Building cmdline
> > > make: Entering directory '/home/jerin/dpdk-next-eventdev/build-x86-
> > default/install-root/usr/local/share/dpdk/examples/cmdline'
> > > pkgconf: unknown option -- define-prefix
> > 
> > What distro are you on? You probably need an updated copy of pkg-config or
> > pkgconf.
> 
> It is arch linux(rolling distro)
> 
> $ pkg-config --version
> 0.28
> 
> $ pkgconf --version
> 0.28
> 
Maybe pkgconf doesn't support that flag yet. If you install pkg-config
rather than pkgconf does it make the problem go away? (at least on ubuntu
when I tried it the two were mutually exclusive)

/Bruce

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

* Re: [dpdk-dev] meson build issue
@ 2019-07-04 13:57 Jerin Jacob Kollanukkaran
  2019-07-04 14:01 ` Bruce Richardson
  0 siblings, 1 reply; 6+ messages in thread
From: Jerin Jacob Kollanukkaran @ 2019-07-04 13:57 UTC (permalink / raw)
  To: Bruce Richardson; +Cc: dev, Luca Boccassi, thomas



> -----Original Message-----
> From: Bruce Richardson <bruce.richardson@intel.com>
> Sent: Thursday, July 4, 2019 7:21 PM
> To: Jerin Jacob Kollanukkaran <jerinj@marvell.com>
> Cc: dev <dev@dpdk.org>; Luca Boccassi <bluca@debian.org>;
> thomas@monjalon.net
> Subject: [EXT] Re: meson build issue
> 
> On Thu, Jul 04, 2019 at 01:38:01PM +0000, Jerin Jacob Kollanukkaran wrote:
> > Anyone else facing this meson build issue in master?
> >
> > Installing
> > /home/jerin/dpdk-next-eventdev/build-x86-default/meson-
> private/libdpdk
> > .pc to
> > /home/jerin/dpdk-next-eventdev/build-x86-default/install-root/usr/loca
> > l/lib/pkgconfig Running custom install script '/bin/sh
> > /home/jerin/dpdk-next-eventdev/config/../buildtools/symlink-drivers-
> solibs.sh lib dpdk/pmds-19.08'
> > Running custom install script '/usr/bin/sh -c rm -f
> $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/.buildinfo'
> > Running custom install script '/usr/bin/sh -c install -D -m0644
> $MESON_SOURCE_ROOT/doc/guides/custom.css
> $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/_static/css/cus
> tom.css'
> > ## Building cmdline
> > make: Entering directory '/home/jerin/dpdk-next-eventdev/build-x86-
> default/install-root/usr/local/share/dpdk/examples/cmdline'
> > pkgconf: unknown option -- define-prefix
> 
> What distro are you on? You probably need an updated copy of pkg-config or
> pkgconf.

It is arch linux(rolling distro)

$ pkg-config --version
0.28

$ pkgconf --version
0.28

> 
> /Bruce


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

end of thread, other threads:[~2019-07-04 14:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-04 13:38 [dpdk-dev] meson build issue Jerin Jacob Kollanukkaran
2019-07-04 13:50 ` Bruce Richardson
2019-07-04 13:52   ` David Marchand
2019-07-04 13:57 Jerin Jacob Kollanukkaran
2019-07-04 14:01 ` Bruce Richardson
2019-07-04 14:14   ` Luca Boccassi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).