ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-users: Re: [Wireshark-users] Issues compiling Wireshark on RHEL7

From: Mun Johl <Mun.Johl@xxxxxxx>
Date: Wed, 11 Jan 2023 16:48:07 +0000

Hi,

 

I actually haven’t run rpm-setup.sh (uh-oh).  I was working through the instructions in the INSTALL file and didn’t realize I should run rpm-setup.sh first.  I think during my web searches I did find mention of that, but I was already knee deep and wasn’t sure if I should run it after I got started.

 

Do you recommend I go ahead and run rpm-setup.sh now?  That is, before I try to manually install PCRE2?   If that setup script will load all dependencies, that would be most excellent.

 

Thank you and regards,

 

--

Mun

 

From: Wireshark-users <wireshark-users-bounces@xxxxxxxxxxxxx> On Behalf Of chuck c
Sent: Wednesday, January 11, 2023 6:37 AM
To: Community support list for Wireshark <wireshark-users@xxxxxxxxxxxxx>
Subject: Re: [Wireshark-users] Issues compiling Wireshark on RHEL7

 

CAUTION: This email originated from outside of Western Digital. Do not click on links or open attachments unless you recognize the sender and know that the content is safe.

 

Were there any errors when running tools/rpm-setup.sh?

 

 pcre2-devel \

 

On Tue, Jan 10, 2023 at 6:46 PM Mun Johl via Wireshark-users <wireshark-users@xxxxxxxxxxxxx> wrote:

Hi,

 

The error is just another missing library:

CMake Error at /usr/local/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):

  Could NOT find PCRE2 (missing: PCRE2_LIBRARY PCRE2_INCLUDE_DIR) (found

  version "")

 

I didn’t want to mention it yet because I haven’t begun my search yet for the lib or sources.  Although, I appreciate your concern and inquisitiveness :)

 

Best regards,

 

--

Mun

 

Can you share your error message? Anything like this:

"but here I'm using CentOS 7.9 after changed the dependencies in CMakeLists."

 

Not sure what the CMakeList changes were.

 

On Tue, Jan 10, 2023 at 6:14 PM Mun Johl via Wireshark-users <wireshark-users@xxxxxxxxxxxxx> wrote:

Hi,

 

Thank you for the link.  I was able to get past the c-ares issue—but unfortunately, another CMake Error awaits my attention.

 

Best regards,

 

--

Mun

 

Suggestions for work-arounds:

 

[Wireshark-dev] CARES to old for CentOS8?

 

 

 

On Tue, Jan 10, 2023 at 3:55 PM Mun Johl via Wireshark-users <wireshark-users@xxxxxxxxxxxxx> wrote:

Hi,

 

I am attempting to compile Wireshark v4.0.2 on a RHEL7 server and am running into problems.  My current issue is that the c-ares library is not installed on the server.  I’ve downloaded the c-ares source code but it seems my compiler is too old to be able to compile c-ares.

 

My questions are as follows: Is the “c-ares” library *required* for the proper compilation of Wireshark?  Are there any alternatives to using c-ares that I may be able to try?

 

If c-ares is required, then I will try to install a newer version of the compiler from sources--since our repos do not have anything newer.

 

Thank you and regards,

 

--

Mun

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

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

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