This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Building deb file in Ubuntu 14.04.3

0

So I encountered a bug and the solution is to download the latest sources and build. But as I have quite a number of hosts, I want to make a deb file. But it fails with the error below. I can't really figure out what the error is.

I do the following:

sudo apt-get install make g++ Automake qt4-default fakeroot docbook-xml quilt libnl-genl-3-dev libnl-route-3-dev asciidoc cmake
cd /tmp # do not use NFS
wget --no-check-certificate https://1.as.dl.wireshark.org/src/wireshark-1.12.7.tar.bz2
tar -xf wireshark-1.12.7.tar.bz2
cd wireshark-1.12.7
./configure
make debian-package

After some time I get this error:

- Enabled features:

– Disabled features:

– Docdir install: /usr/share/doc/wireshark-doc – Configuring incomplete, errors occurred! See also "/tmp/wireshark-1.12.7/obj-x86_64-linux-gnu/CMakeFiles/CMakeOutput.log". See also "/tmp/wireshark-1.12.7/obj-x86_64-linux-gnu/CMakeFiles/CMakeError.log". dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DENABLE_GUIDES=ON -DCMAKE_INSTALL_LIBDIR=/usr/lib/x86_64-linux-gnu -DENABLE_QT5=OFF returned exit code 1 make[2]: *** [override_dh_auto_configure] Error 2 make[2]: Leaving directory /tmp/wireshark-1.12.7' make[1]: *** [build] Error 2 make[1]: Leaving directory /tmp/wireshark-1.12.7' dpkg-buildpackage: error: debian/rules build gave error exit status 2 make: *** [debian-package] Error 2

My version

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:    14.04
Codename:   trusty

asked 27 Aug ‘15, 13:11

Kjeld%20Flarup's gravatar image

Kjeld Flarup
6448
accept rate: 0%