Wireshark-dev: Re: [Wireshark-dev] error while doing "make rpm-package" on wireshark latest tru
From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Thu, 01 Nov 2012 11:38:48 -0400
Sorry, I'm not sure what you mean: do you mean how do you ensure that
"make rpm-package" doesn't built the Qt version of Wireshark or how do
you do "make rpm-package" when you don't have the Qt tools installed or...?
At the moment there is no way to do "make rpm-package" without the Qt tools installed. Doing so would require commenting out some of the Qt stuff out from the Makefiles.
P Gyanesh Patra wrote:
Thanks for your reply. I still have one doubt :).How will i make sure that the Qt Tools will not get build while doing "make rpm-package" ?- GyaneshOn Tue, Oct 9, 2012 at 11:59 PM, Jeff Morriss <jeff.morriss.ws@xxxxxxxxx <mailto:jeff.morriss.ws@xxxxxxxxx>> wrote:Pascal Quantin wrote: [Back to -dev mailing list] 2012/10/7 P Gyanesh Patra <c3m3gyanesh@xxxxxxxxx <mailto:c3m3gyanesh@xxxxxxxxx> <mailto:c3m3gyanesh@xxxxxxxxx <mailto:c3m3gyanesh@xxxxxxxxx>>__> just need one info.. i am compiling wireshark on centos6.1 64bit.. while doing "make rpm-package" i am getting following error: make[1]: Entering directory `/root/wireshark-svn/__wireshark/ui/qt' uic main_welcome.ui -o ui_main_welcome.h make[1]: uic: Command not found make[1]: *** [ui_main_welcome.h] Error 127 make[1]: Leaving directory `/root/wireshark-svn/__wireshark/ui/qt' make: *** [distdir] Error 1 Please tell me what package i need to install as i have tried to search a lot but still unable to fix it. Gyanesh Hi Gyanesh, uic is the Qt user interface compiler (used to build qtShark, a new GUI based on Qt framework). So you need to install the Qt packages for CentOS. Not sure why the compilation of qtShark is part of the make rpm-package though as I have never built such package myself. Maybe someone else can give an advice. The "problem" is that RPMs are (always) built from source tarballs. When you're doing a "make rpm-package" you're working from the (untar'd or from SVN) source so in order to make an RPM the tools must first do "make dist" to make the tarball. "make dist" currently requires you to have the Qt stuff installed (presumably that makes sense from a Qt perspective). I've noticed this before and have intentionally *not* added the Qt tools to the list of things you must have to build Wireshark: most of us aren't building Qt anyway... But it does leave us in an ugly situation: autogen.sh doesn't complain that the tools are missing and if you don't then "make dist" (or a Qt build?) fails much later on. _______________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx <mailto:wireshark-dev@xxxxxxxxxxxxx>> Archives: http://www.wireshark.org/__lists/wireshark-dev <http://www.wireshark.org/lists/wireshark-dev> Unsubscribe: https://wireshark.org/mailman/__options/wireshark-dev <https://wireshark.org/mailman/options/wireshark-dev> mailto:wireshark-dev-request@__wireshark.org <mailto:wireshark-dev-request@xxxxxxxxxxxxx>?subject=__unsubscribe
- Next by Date: [Wireshark-dev] pcapng options
- Next by thread: [Wireshark-dev] pcapng options
- Index(es):