Building libnl's Python module

Thomas Haller thaller at redhat.com
Mon Feb 9 02:47:39 PST 2015


On Fri, 2015-02-06 at 10:34 -0800, Shatil Rafiullah wrote:
> There is no setup.py as mentioned in the python/README, so I tried
> autoreconf. libnl on Debian requires installation of dh-autoreconf.
> 
> $ git clone https://github.com/tgraf/libnl

probably better:
  git://git.infradead.org/users/tgr/libnl.git
or
  git://github.com/thom311/libnl.git



> $ sudo aptitude -t wheezy-backports install dh-autoreconf
> 
> $ cd libnl
> 
> $ ./autogen.sh
> configure.ac:15: installing `build-aux/install-sh'
> configure.ac:15: installing `build-aux/missing'
> libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
> libtoolize: copying file `build-aux/ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
> libtoolize: copying file `m4/libtool.m4'
> libtoolize: copying file `m4/ltoptions.m4'
> libtoolize: copying file `m4/ltsugar.m4'
> libtoolize: copying file `m4/ltversion.m4'
> libtoolize: copying file `m4/lt~obsolete.m4'
> configure.ac:83: error: possibly undefined macro: AC_MSG_WARN
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> autoreconf: /usr/bin/autoconf failed with exit status: 1
> Error during autoreconf
> Shatil (@shatil)

Seems like you are missing some required packages to build libnl3.
Do you have automake and autoconf? Maybe you also need libtool and
pkg-config... (I don't know).


Thomas


> On Fri, Jan 30, 2015 at 11:41 PM, Arend van Spriel <arend at broadcom.com> wrote:
> > On 01/31/15 01:40, Shatil Rafiullah wrote:
> >>
> >> Hi all,
> >>
> >> I'd like to try the libnl Python module, but encountered difficulty
> >> using autogen.sh. Is there documentation somewhere on how to build
> >> libnl 3? (I cloned from GitHub.)
> >
> >
> > It would help if you would send console output so people can see what your
> > "encountered difficulty" is. Maybe you are missing some prerequisite stuff.
> > For one you need python-dev and swig packages installed.
> >
> > Regards,
> > Arend
> >
> >> I'm running Debian 7 (Wheezy) with backports enabled.
> >>
> >> Shatil (@shatil)
> >>
> >> _______________________________________________
> >> libnl mailing list
> >> libnl at lists.infradead.org
> >> http://lists.infradead.org/mailman/listinfo/libnl
> >
> >
> 
> _______________________________________________
> libnl mailing list
> libnl at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/libnl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20150209/e9a04d03/attachment.sig>


More information about the libnl mailing list