Ask Your Question

Revision history [back]

Build failure: 3.0.3 on Ubuntu 18.04

I'm trying to build WS 3.0.3 on Ubuntu 18.04 and the build fails at:

[ 95%] Built target opcua
make[4]: Leaving directory '/home/daryl/wireshark/wireshark-3.0.3/obj-x86_64-linux-gnu'
[ 95%] Built target tshark
make[3]: Leaving directory '/home/daryl/wireshark/wireshark-3.0.3/obj-x86_64-linux-gnu'
Makefile:143: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/daryl/wireshark/wireshark-3.0.3/obj-x86_64-linux-gnu'
dh_auto_build: cd obj-x86_64-linux-gnu && make -j4 returned exit code 2
debian/rules:32: recipe for target 'override_dh_auto_build' failed

I took the option given in INSTALL at 11./b, since I'm on Ubuntu 18.04 and it runs apt, to build with the command "dpkg-buildpackage -us -uc -rfakeroot"

I will try the cmake approach (although I'm not sure about all the options), but if anyone can point out my error on the "easy" approach, I'd appreciate some guidance.