Wireshark-dev: Re: [Wireshark-dev] Cmake and RPM
From: Jonne Zutt <[email protected]>
Date: Tue, 16 Aug 2016 15:41:44 +0200
I see, thanks for that. I was already trying this path after reading the reply of Anders.

I installed the rpms that were suggested by wireshark/tools/install_rpms_for_devel.sh

I then also installed qtchooser-39-1.fc20.x86_64, but configure is still unable to find it somehow. I guess I need to help it a bit somehow, I'll keep trying!

Thanks,
Jonne.


....
checking for GLIB... yes
checking for Qt5Core - version >= 5.0.0... yes (version 5.3.2)
checking for Qt5Gui - version >= 5.0.0... yes (version 5.3.2)
checking for Qt5Widgets - version >= 5.0.0... yes (version 5.3.2)
checking for Qt5PrintSupport - version >= 5.0.0... yes (version 5.3.2)
checking for Qt5Multimedia - version >= 5.0.0... yes (version 5.3.2)
checking for Qt5MacExtras - version >= 5.0.0... no
checking whether Qt works without -fPIC... no
checking whether Qt works with -fPIC... yes
checking for qtchooser... no
checking for uic-qt5... /usr/bin/uic-qt5
checking for qtchooser... no
checking for moc-qt5... /usr/bin/moc-qt5
checking for qtchooser... no
checking for rcc-qt5... /usr/bin/rcc-qt5
checking for qtchooser... no
checking for lrelease-qt5... no
checking for lrelease... no
configure: error: I couldn't find lrelease-qt5 or lrelease; make sure it's installed and in your path
make: *** No targets specified and no makefile found.  Stop.


On Tue, Aug 16, 2016 at 1:57 PM, João Valverde <[email protected]> wrote:


On 08/16/2016 10:23 AM, Jonne Zutt wrote:
Hi all,

Could somebody tell me what I have to do to be able to build an RPM package?

You have to use autotools. :-)

CMake doesn't support building an rpm package yet (see README.cmake).

I successfully build wireshark using cmake and make.
I have a working wireshark-gtk executable in the build directory that I
can run and works fine.

Now, if I try to run "make rpm-package", it seems it doesn't know the
target. I wonder what I have to do to get this?

$ make rpm-package
make: *** No rule to make target `rpm-package'.  Stop.

Thanks,
Jonne.



___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]wireshark.org?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:[email protected]ireshark.org?subject=unsubscribe