[Q] How to build libmnl


#1

Dear developers.

Does anyone knows how to build libmnl submodule

Sincerely.

[code]
git submodule update --init pkgs/libmnl
cd pkgs/libmnl
git checkout helium

[code]

 dpkg-buildpackage -rfakeroot -D -us -uc -i -b -nc
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): 
dpkg-buildpackage: source package libmnl
dpkg-buildpackage: source version 1.0.3-5+vyos1+helium1
dpkg-buildpackage: source changed by Daniil Baturin <daniil@baturin.org>
 dpkg-source -i --before-build libmnl
dpkg-buildpackage: host architecture amd64
dpkg-source: info: using options from libmnl/debian/source/options: --compression=bzip2 --compression-level=9
 debian/rules build
autoreconf -i
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'
 fakeroot debian/rules binary
dh binary 
   dh_install
dh_install: libmnl-dev missing files (usr/include/*), aborting
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1325:
dpkg-buildpackage -rfakeroot -D -us -uc -i -b -nc failed
make: *** [libmnl] Error 29

#2

Hi all,

I’m having the same problem, anyone managed to fix it?

Thanks in advance,
Adrian


#3

I have scripts to rebuild the entire distribution. You might want to look at http://www.five-ten-sg.com/mapper/blog/lithium - That worked the last time I ran it, about a month ago.