Wireshark mailing list archives

Re: Cmake and RPM


From: João Valverde <joao.valverde () tecnico ulisboa pt>
Date: Tue, 16 Aug 2016 15:14:50 +0100

I wasn't aware of that shell script, it might need updating.

This part of the Qt toolchain (qt-tools) is awkward, to be kind, and detection might not work always well.

Feel free to ask for help here if you get stuck.

You need lrelease to build the Qt GUI. Not sure what is going on with qtchooser.


On 08/16/2016 02:41 PM, Jonne Zutt wrote:
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
<joao.valverde () tecnico ulisboa pt
<mailto:joao.valverde () tecnico ulisboa pt>> 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
        <wireshark-dev () wireshark org <mailto:wireshark-dev () wireshark org>>
        Archives:    https://www.wireshark.org/lists/wireshark-dev
        <https://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 () wireshark org>?subject=unsubscribe

    ___________________________________________________________________________
    Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org
    <mailto:wireshark-dev () wireshark org>>
    Archives:    https://www.wireshark.org/lists/wireshark-dev
    <https://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 () wireshark org>?subject=unsubscribe




___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: