Go Back   The macosxhints Forums > OS X Help Requests > UNIX - X11



Reply
 
Thread Tools Rating: Thread Rating: 15 votes, 5.00 average. Display Modes
Old 07-28-2005, 09:54 PM   #61
eeboarder
Registered User
 
Join Date: Jul 2005
Posts: 1
Ethereal Install Problem

I really want to get Ethereal going on my iBook which is running Tiger. I installed the X11SDK from the xcode 2.1 disc image, installed X11 and fink. When I went into terminal and typed< "fink install ethereal," this is what I got:

Information about 1745 packages read in 2 seconds.
The following package will be installed or updated:
ethereal
The following 10 additional packages will be installed:
glib glib-shlibs gtk+ gtk+-data gtk+-shlibs libpcap libpcap-shlibs pcre
pcre-bin pcre-shlibs
Do you want to continue? [Y/n] Y
curl -f -L -O http://distfiles.master.finkmirrors....0.10.3.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4726k 100 4726k 0 0 283k 0 0:00:16 0:00:16 --:--:-- 332k
curl -f -L -O http://distfiles.master.finkmirrors....-1.2.10.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 411k 100 411k 0 0 365k 0 0:00:01 0:00:01 --:--:-- 404k
curl -f -L -O http://distfiles.master.finkmirrors....-1.2.10.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2801k 100 2801k 0 0 457k 0 0:00:06 0:00:06 --:--:-- 499k
curl -f -L -O http://distfiles.master.finkmirrors....p-0.8.1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 276k 100 276k 0 0 269k 0 0:00:01 0:00:01 --:--:-- 320k
curl -f -L -O http://distfiles.master.finkmirrors....re-4.2.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 327k 100 327k 0 0 316k 0 0:00:01 0:00:01 --:--:-- 385k
gzip -dc /sw/src/glib-1.2.10.tar.gz | /sw/bin/tar -xf - --no-same-owner --no-same-permissions
cp -f /sw/lib/fink/update/config.guess .
cp -f /sw/lib/fink/update/config.sub .
cp -f /sw/lib/fink/update/ltconfig .
cp -f /sw/lib/fink/update/ltmain.sh .
patch -p1 </sw/fink/dists/stable/main/finkinfo/gnome/glib.patch
patching file configure
./configure --prefix=/sw --infodir=/sw/share/info --mandir=/sw/share/man --disable-static
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... no
checking for working aclocal... found
checking for working autoconf... missing
checking for working automake... found
checking for working autoheader... missing
checking for working makeinfo... found
checking host system type... powerpc-apple-darwin8.2.0
checking build system type... powerpc-apple-darwin8.2.0
checking for ranlib... :
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
### execution of ./configure failed, exit code 1
Failed: compiling glib-1.2.10-18 failed

An error. I don't know what exactly this means. Can someone help me install this?
eeboarder is offline   Reply With Quote
Old 07-28-2005, 10:17 PM   #62
yellow
Moderator
 
Join Date: Jan 2002
Posts: 10,677
1) You don't need the X11 SDK for fink, or for ethereal.

2) You DO need to install gcc so you can compile the software.

Code:
checking for gcc... no
checking for cc... no
I suggest reinstalling XCode.. all of it. Just let it do the default install. Then try installing ethereal again. You also might want to make sure you do a fink upgrade first. Especially if you upgraded to Tiger from Panther and didn't upgrade fink.
yellow is offline   Reply With Quote
Old 08-04-2005, 12:04 PM   #63
ruy_lopez
Registered User
 
Join Date: Aug 2005
Posts: 1
Lightbulb xterm sidebar

You can use the -ls flag with xterm in your .xinitrc file and it will behave as a login shell (with all the nice x11 functionality), reading $PATHs and aliases etc. from your .profile (if bash is your default).

Look for the line in .xinitrc :

# Start some nice programs

xterm

And append xterm with -ls like this:

xterm -ls

Now you don't have to duplicate PATHs between .profile and .xinitrc. Just add the $PATHs to .profile and when you start X11 it will read them from .profile.

Now from what I've been reading here there are some who are trying to use Ethereal before they know what a manpage is. While that kind of backwards learning curve is to be commended its not one I would endorse. Get yourself a basic UNIX book, and a command of the basics, before embarking on packet sniffing.

Also, for those who have used Ethereal on OS X and Linux, don't you find that Ethereal takes aeons to fire up with OS X compared to Linux. I'm not sure if there's something up with my ethereal configuration (fink installed) but when a 550mhz Celeron running Fedora 4 fires up Ethereal in a nanosecond compared with the minute and a half with a 1.5Ghz G4 OS X machine, it smells a little fishy. Are any of you experiencing this with Ethereal on OS X?
ruy_lopez is offline   Reply With Quote
Old 08-04-2005, 01:04 PM   #64
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
Quote:
Originally Posted by ruy_lopez
Also, for those who have used Ethereal on OS X and Linux, don't you find that Ethereal takes aeons to fire up with OS X compared to Linux. I'm not sure if there's something up with my ethereal configuration (fink installed) but when a 550mhz Celeron running Fedora 4 fires up Ethereal in a nanosecond compared with the minute and a half with a 1.5Ghz G4 OS X machine, it smells a little fishy. Are any of you experiencing this with Ethereal on OS X?

There must be something wrong with your setup.
On my 1.2 GHz G4 iBook, Ethereal (installed via Fink) starts up in about a second when I start it from my X11 Applications menu. Even without X11 running, 'open-x11 ethereal' gets to the Ethereal window in about 10 seconds (most of that is starting up X11).

By the way, the entry in my X11 Applications menu is:
xterm -geometry 40x4 -e "sudo /sw/bin/ethereal"
so it pops up a small xterm with the password prompt.

Last edited by hayne; 08-04-2005 at 01:08 PM.
hayne is offline   Reply With Quote
Old 08-11-2005, 07:28 AM   #65
sidd
Prospect
 
Join Date: Aug 2005
Posts: 9
issues am having with ethereal

I went thru this post and then tried getting ethereal and etherape to work with no success. so please help

powerbook-g4-15:/opt/local/bin sidd$ ./ethereal
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org

thats what it says when i try to run it from x11 window.

help please

thnx
sidd--
sidd is offline   Reply With Quote
Old 08-11-2005, 06:38 PM   #66
yellow
Moderator
 
Join Date: Jan 2002
Posts: 10,677
And did you read post #36? It addresses your issue.

http://forums.macosxhints.com/showpo...2&postcount=36
yellow is offline   Reply With Quote
Old 08-12-2005, 02:50 AM   #67
sidd
Prospect
 
Join Date: Aug 2005
Posts: 9
Ehtereal issues

Yes i definitely did
did a sudo fc-cache on both the x11 window and the normal term

and after that

cd /opt/local/bin
./ethereal

give me that error i have posted earlier.


tx
sidd--
sidd is offline   Reply With Quote
Old 08-12-2005, 07:56 AM   #68
yellow
Moderator
 
Join Date: Jan 2002
Posts: 10,677
Why is ethereal installed there? Isn't this a fink build?
yellow is offline   Reply With Quote
Old 08-13-2005, 09:12 AM   #69
sidd
Prospect
 
Join Date: Aug 2005
Posts: 9
Quote:
Originally Posted by yellow
Why is ethereal installed there? Isn't this a fink build?

i think i used darwinports to install ethereal
sidd--
sidd is offline   Reply With Quote
Old 08-13-2005, 08:49 PM   #70
yellow
Moderator
 
Join Date: Jan 2002
Posts: 10,677
Strange.. we might have to wait for sao, the resident uberexpert.
yellow is offline   Reply With Quote
Old 08-14-2005, 01:35 AM   #71
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Sidd,

You might try reinstalling X11 and the X11SDK.


.
sao is offline   Reply With Quote
Old 08-14-2005, 03:56 AM   #72
sidd
Prospect
 
Join Date: Aug 2005
Posts: 9
How do i go about uninstalling darwinports, fink and x11 and then may be
reinstall x11, then darwinports and fink?

thanks
sidd--
sidd is offline   Reply With Quote
Old 08-15-2005, 10:30 PM   #73
sidd
Prospect
 
Join Date: Aug 2005
Posts: 9
Unisntall Fink & Darwinports

hello all,

can someone please tell me how to unstainll fink, darwinports and x11?
am a fairly new mac user and hence these silly questions.
i dragged x11 to the trash bin and is that it? or do i have to delete anything else.


tx
sidd--
sidd is offline   Reply With Quote
Old 08-15-2005, 11:27 PM   #74
yellow
Moderator
 
Join Date: Jan 2002
Posts: 10,677
I can only answer for X11 and fink:

You need to nuke /etc/X11 and /usr/X11R6 as well before reinstalling from the installer CD.

Assuming you follow the conventional fink install, removing /sw will remove all the fink parts and built binaries.
yellow is offline   Reply With Quote
Old 08-16-2005, 01:22 PM   #75
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
sidd,

To get rid of Fink, enter this command:

sudo rm -rf /sw

And check your dotfiles & edit accordingly to remove the line where you 'source' fink.

----

To delete DarwinPorts:

rm -rf /opt/local /Library/Tcl/darwinports1.0

And if you have them, delete also:

/Applications/DarwinPorts and /etc/port

----

To delete Apple's X11:

Delete what yellow told you above plus /Applications/Utilities/X11.app

----

Also, before reinstalling Apple's X11 and the X11SDK, you should delete first:

/Library/Receipts/X11User.pkg and /Library/Receipts/X11SDK.pkg

----

.
sao is offline   Reply With Quote
Old 08-23-2005, 01:15 AM   #76
sidd
Prospect
 
Join Date: Aug 2005
Posts: 9
Ethereal

Hello Sao,

Thanks for all the help you have provided.
I played around a lot and hence i decided to do a fresh install. now where do i start and tell me what to do exactly to get ethereal working please.

thanks
sidd--
sidd is offline   Reply With Quote
Old 08-24-2005, 07:41 PM   #77
sidd
Prospect
 
Join Date: Aug 2005
Posts: 9
Etherape

Hello All,

after enough playing around got ethereal working but did anyone get ehterape working.

i installed it from fink and it installed it but i cant find a binary

from darwinports its a different story. every time i try to install its says the file checksum is not vaild.


any help?


tx
sidd
sidd is offline   Reply With Quote
Old 08-24-2005, 11:46 PM   #78
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Quote:
sidd wrote:
but i cant find a binary...

It should be in /sw/bin/etherape.

Code:
[pm @ sao: ~] % which etherape; fink list etherape   
/sw/bin/etherape
Information about 4651 packages read in 1 seconds.
 i   etherape                 0.9.1-1            Graphical network monitor

Last edited by sao; 08-24-2005 at 11:57 PM.
sao is offline   Reply With Quote
Old 08-25-2005, 01:24 AM   #79
sidd
Prospect
 
Join Date: Aug 2005
Posts: 9
Etherape

tx for the reply sao.

yes i did check /sw/bin for etherape after fink said it was a successful install and there was nothing.

althought fink list etherape replies the same as what you pasted in your post.

'fink install ethereal

no packages to install'

that what it replies back now

tx
sidd
sidd is offline   Reply With Quote
Old 08-25-2005, 02:03 AM   #80
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
sidd,

etherape and ethereal are two different packages. Please, run in Terminal.app the same as below and post the result:

Code:
[pm @ sao: ~] % fink list ethereal etherape
Information about 4651 packages read in 2 seconds.
 i   etherape                 0.9.1-1            Graphical network monitor
 i   ethereal                 0.10.11-11         Powerful network protocol analyzer
     ethereal-ssl             0.10.11-11         Powerful network protocol analyzer (with SSL)
sao is offline   Reply With Quote
Reply

Tags
ethereal


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 On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 10:21 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.