LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 11-21-2009, 04:36 PM   #1
ruzvay
LQ Newbie
 
Registered: May 2004
Location: Dhaka,Bangladesh
Distribution: Slackware
Posts: 24

Rep: Reputation: 15
wireshark installation in slackware 12.2


i tried installing wireshark by compiling it
i read the user guide which mentioned the following dependencies:
-------->GTK+, The GIMP Tool Kit.You will also need Glib
-------->libpcap, the packet capture software
i compiled libpcap, i saw gtk+ and glib in my package list so i did not compile them.
then used "./configure"
then tried "make check"
Quote:
bash-3.1# make check
LANG=C /usr/bin/perl ./make-version.pl .
Version configuration file version.conf not found. Using defaults.
This is not a SVN build.
svnversion.h is up-to-date.
make check-recursive
make[1]: Entering directory `/root/program files/wireshark-1.2.4'
Making check in tools
make[2]: Entering directory `/root/program files/wireshark-1.2.4/tools'
Making check in lemon
make[3]: Entering directory `/root/program files/wireshark-1.2.4/tools/lemon'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/root/program files/wireshark-1.2.4/tools/lemon'
make[3]: Entering directory `/root/program files/wireshark-1.2.4/tools'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/root/program files/wireshark-1.2.4/tools'
make[2]: Leaving directory `/root/program files/wireshark-1.2.4/tools'
Making check in wsutil
make[2]: Entering directory `/root/program files/wireshark-1.2.4/wsutil'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/root/program files/wireshark-1.2.4/wsutil'
Making check in wiretap
make[2]: Entering directory `/root/program files/wireshark-1.2.4/wiretap'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/root/program files/wireshark-1.2.4/wiretap'
Making check in doc
make[2]: Entering directory `/root/program files/wireshark-1.2.4/doc'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/root/program files/wireshark-1.2.4/doc'
Making check in epan
make[2]: Entering directory `/root/program files/wireshark-1.2.4/epan'
Making check in crc
make[3]: Entering directory `/root/program files/wireshark-1.2.4/epan/crc'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/root/program files/wireshark-1.2.4/epan/crc'
Making check in crypt
make[3]: Entering directory `/root/program files/wireshark-1.2.4/epan/crypt'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/root/program files/wireshark-1.2.4/epan/crypt'
Making check in ftypes
make[3]: Entering directory `/root/program files/wireshark-1.2.4/epan/ftypes'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/root/program files/wireshark-1.2.4/epan/ftypes'
Making check in dfilter
make[3]: Entering directory `/root/program files/wireshark-1.2.4/epan/dfilter'
/bin/sh ../../libtool --tag=CC --mode=link gcc -DINET6 -D_U_="__attribute__((unused))" -g -O2 -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Wcast-align -Wformat-security -I/usr/local/include -pthread -I/usr/local/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pcap -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o libdfilter.la libdfilter_la-dfilter.lo libdfilter_la-dfilter-macro.lo libdfilter_la-dfunctions.lo libdfilter_la-dfvm.lo libdfilter_la-drange.lo libdfilter_la-gencode.lo libdfilter_la-semcheck.lo libdfilter_la-sttype-function.lo libdfilter_la-sttype-integer.lo libdfilter_la-sttype-pointer.lo libdfilter_la-sttype-range.lo libdfilter_la-sttype-string.lo libdfilter_la-sttype-test.lo libdfilter_la-syntax-tree.lo libdfilter_generated.la -lz
rm -fr .libs/libdfilter.lax
rm -fr .libs/libdfilter.lax
mkdir .libs/libdfilter.lax
rm -fr .libs/libdfilter.lax/libdfilter_generated.a
mkdir .libs/libdfilter.lax/libdfilter_generated.a
(cd .libs/libdfilter.lax/libdfilter_generated.a && ar x /root/program files/wireshark-1.2.4/epan/dfilter/./.libs/libdfilter_generated.a)
ar: /root/program: No such file or directory
make[3]: *** [libdfilter.la] Error 9
make[3]: Leaving directory `/root/program files/wireshark-1.2.4/epan/dfilter'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/root/program files/wireshark-1.2.4/epan'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/root/program files/wireshark-1.2.4'
make: *** [check] Error 2
 
Old 11-21-2009, 04:49 PM   #2
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 432
Blog Entries: 1

Rep: Reputation: 47
Quote:
Originally Posted by ruzvay View Post
i tried installing wireshark by compiling it
i read the user guide which mentioned the following dependencies:
-------->GTK+, The GIMP Tool Kit.You will also need Glib
-------->libpcap, the packet capture software
i compiled libpcap, i saw gtk+ and glib in my package list so i did not compile them.
then used "./configure"
then tried "make check"
Code:
(cd .libs/libdfilter.lax/libdfilter_generated.a && ar x /root/program files/wireshark-1.2.4/epan/dfilter/./.libs/libdfilter_generated.a)
ar: /root/program: No such file or directory
It looks like it's choking on the space in '/root/program files/'

Where is that directory specified? Is that where you're doing your compile?
 
Old 11-21-2009, 05:07 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 8,581

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
Slackbuilds.org → wireshark , Slackware 12.2
http://slackbuilds.org/result/?search=wireshark&sv=12.2
> > wireshark 1.2.0

The Slackbuilds' version for '13' is 1.2.2 .

slacky.eu http://repository.slacky.eu/slackwar...reshark/1.2.1/
> > wireshark 1.2.1

.. So may be have a look into Debian Sid to get a patch :
http://packages.debian.org/sid/wireshark
> " Links for wireshark "
> [wireshark_1.2.4.orig.tar.gz], [wireshark_1.2.4-2.diff.gz]
.....
.....
Even Fedora 12 uses version 1.2.2 !
.....
 
Old 11-21-2009, 06:20 PM   #4
ruzvay
LQ Newbie
 
Registered: May 2004
Location: Dhaka,Bangladesh
Distribution: Slackware
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bartonski View Post
Code:
(cd .libs/libdfilter.lax/libdfilter_generated.a && ar x /root/program files/wireshark-1.2.4/epan/dfilter/./.libs/libdfilter_generated.a)
ar: /root/program: No such file or directory
It looks like it's choking on the space in '/root/program files/'

Where is that directory specified? Is that where you're doing your compile?
yes.

i have extracted the tarball of wireshark there.

how can it affect the compiling of wireshark?????
 
Old 11-21-2009, 06:57 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 8,581

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
Well, '/root/' is not meant for that.

'/root/' shouldn't be used for anything. Never.

Logging in as root ( if you do that ) is a very bad habit.

A default build directory can be /home/"username"/tmp/
.....

Last edited by knudfl; 11-22-2009 at 12:10 AM.
 
Old 11-22-2009, 12:33 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 8,581

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
Slackware 12.2

cd tmp ( = /home/"user"/tmp/ )
1) src2pkg libpcap-1.0.0.tar.gz
2) installpkg libpcap-1.0.0-i486-1.tgz
3) src2pkg wireshark_1.2.4.orig.tar.gz ( or wireshark-1.2.4.tar.gz )
4) installpkg wireshark-1.2.4-i486-1.tgz
.. all building without errors ..
.. so there are really no problems at all.
.....
 
Old 11-22-2009, 09:36 AM   #7
ruzvay
LQ Newbie
 
Registered: May 2004
Location: Dhaka,Bangladesh
Distribution: Slackware
Posts: 24

Original Poster
Rep: Reputation: 15
i got this error. i guess im missing something :S

Quote:
bash-3.1# src2pkg libpcap-1.0.0.tar.gz
bash: src2pkg: command not found
bash-3.1# src2pkg wireshark-1.2.4.tar.bz2
bash: src2pkg: command not found

does src2pkg work on *.tar.bz2
 
Old 11-22-2009, 04:17 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 8,581

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
' src2pkg ' is just a package you install : http://www.src2pkg.net/
http://forums.wolvix.org/index.php?topic=1099.0;wap2
http://distro.ibiblio.org/pub/linux/...9-noarch-2.tgz

You will need libsentry too
ftp://ftp.tu-chemnitz.de/.SAN0/pub/l....6.7.4.tar.bz2

After install, please run # src2pkg --setup
.....
 
Old 11-23-2009, 12:12 PM   #9
ruzvay
LQ Newbie
 
Registered: May 2004
Location: Dhaka,Bangladesh
Distribution: Slackware
Posts: 24

Original Poster
Rep: Reputation: 15
well it worked; without any errors!!!

but after completing it i couldn't find any shortcut to access wireshark

not even typing wireshark in Run Command or in terminal worked??
 
Old 11-23-2009, 08:43 PM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 8,581

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
Probably read "How to use Wireshark" ..

Just Google .. use wireshark ..

.. and find e.g.
http://wiki.wireshark.org/CaptureSet...turePrivileges

Seems you must do 'su' for 'wireshark' to work ...
.....
 
Old 11-24-2009, 08:08 AM   #11
g.navink
LQ Newbie
 
Registered: Nov 2009
Posts: 14

Rep: Reputation: 0
Red face wireshark rpm installation on RHEL5

Hi,

I am using RHEL5 OS on Intel Core 2 Duo processor (64 bit processor).
I have a query regarding installation of wireshark on RHEL5.



Installed the repository release package from rpm
i updated the release package rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm from " http://dag.wieers.com/rpm/packages/rpmforge-release/ "


After setting the proxy information, i was able to install vlc package thru yum confirming my yum configurations are ok. But when i do
$sudo yum install wireshark the below error occurs:

Loaded plugins: aliases, changelog, downloadonly, fastestmirror, filter-data, : keys, kmod, list-data, protect-packages, protectbase, rhnplugin,: security, tmprepo, verify, versionlock
This system is not registered with RHN.
RHN support will be disabled.
Loading mirror speeds from cached hostfile
* rpmforge: apt.sw.be
rpmforge | 1.1 kB 00:00
Reading version lock configuration
0 packages excluded due to repository protections
Skipping filters plugin, no data
Setting up Install Process
Parsing package install arguments
No package wireshark available.
Nothing to do

Upon going to rpmforge package directories found there is no wireshark package available. could that be the reason for the above message..


can i use the rpm wireshark-gnome-1.0.8-1.el5_3.1.i386.rpm from
for CentOS 5.3 from the link
"http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/wireshark".

Would that work fine??

suggestions are welcome... thanks..
 
Old 11-25-2009, 04:51 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 8,581

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
@ g.navink :

wireshark is in the original Redhat repo .
For the time being probably " ..updates.repo "

This thread is mostly about Slackware :
More questions > > Start a new thread yourself, please.

Last edited by knudfl; 03-02-2010 at 06:15 AM.
 
  


Reply

Tags
wireshark


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireshark .deb file installation process - No internet krimzen85 Linux - Software 5 08-17-2009 12:18 PM


All times are GMT -5. The time now is 11:58 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration