Hello, I use centos 5.7, I wish to install the wireshark source code. When I set up the lastest version with a checkout of http: // anonsvn.wireshark.org / wireshark / trunk, he asks me to install some packages which exists only in higher versions then 5.7. Do you know what wireshark version i have to install (http: // anonsvn.wireshark.org /)? Thank you asked 14 Dec '12, 07:03 Gigi |
One Answer:
I know that Wireshark 1.8.x won't compile on CentOS 5. I think that Wireshark 1.6.x will though I haven't tried recently (oh, wait, a quick check shows that CentOS 5 comes with autoconf 2.59 and Wireshark 1.6.x requires 2.60 so to do Wireshark 1.6 you'd need to at least upgrade autoconf). answered 14 Dec '12, 10:49 JeffMorriss ♦ Thank you, i try to install autoconf 2.6 to use wireshark 1.6 but i have a lot of not resolved dependencies and i don't find the rpm of libdb.so.2. Do you khnow how i have to install it pr upgrade autoconf. Thank you (18 Dec '12, 12:32) Gigi Well, compiling Wireshark does require a fair number of development packages; these should be detailed in the INSTALL file. I've been working on a CentOS 5 build from an RPM and this is what I have as requirements to build: BuildRequires: libpcap-devel >= 0.9 BuildRequires: zlib-devel BuildRequires: glib2-devel BuildRequires: gtk2-devel >= 2.4 BuildRequires: autoconf BuildRequires: python BuildRequires: gnutls-devel BuildRequires: desktop-file-utils BuildRequires: flex, bison (19 Dec '12, 06:54) JeffMorriss ♦ (Ran out of room in that comment, here's the rest...) I don't know what is libdb.so.2 or why you'd need it. I just successfully compiled 1.6.12 on CentOS 5 last night. My system does have libdb.so (from the db4-devel package) but my Wireshark doesn't use it. (19 Dec '12, 06:55) JeffMorriss ♦ Thank you but when i try to install the RPM of autoconf that's not work. So i install it from the code source (make install) and that work well. (19 Dec '12, 10:40) Gigi Can anyone confirm that this method works because,I too want to install wireshark 1.6 to centos 5.7 but now it requires glibc version higher than 2.4. But CentOs 5.7 only supports version 1.2 (19 Jan '15, 04:49) Badhi Wireshark does not generally require a particular glibc version. Do you mean a glib version higher than 2.4? In that case try installing the glib2 RPM ("yum install glib2 glib2-devel" as root). (glib version 1 has the package name "glib" but version 2's packages are named "glib2".) Anyway, yes, I've been building Wireshark 1.6 on RHEL/CentOS 5 for years. But, as I mentioned you do need an upgraded autoconf. (19 Jan '15, 07:00) JeffMorriss ♦ Thanks for the reply. Yeah you are correct it is glib. Now I manged to run configure file successfully. But when making an error occurs at priviledges.h saying following, privileges.c:33:18: error: glib.h: No such file or directory with that a lot of other errors follows (20 Jan '15, 02:41) Badhi Did you "yum install glib2-devel"? The glib.h file is in the "-devel" package. (20 Jan '15, 07:42) JeffMorriss ♦ Yes glib2-devel 2.12.3 is installed. If it helps this is the rest of the errors
(20 Jan '15, 09:12) Badhi I was able to locate (20 Jan '15, 20:59) Badhi Ok I was able to resolve the above error. It occurred because of the .h files were in the wrong locations. But now I get error similar to (20 Jan '15, 22:25) Badhi Hmm, actually glib.h should be in I don't have a good idea for what's going wrong on your system. Are you doing in in-source-tree or out-of-source-tree build? (Are you running (21 Jan '15, 07:56) JeffMorriss ♦ I don't have a knowledge about in-source-tree or out-of-source tree concepts. But I use (23 Jan '15, 21:39) Badhi showing 5 of 13 show 8 more comments |
what are those dependencies/packages?