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



Reply
 
Thread Tools Rate Thread Display Modes
Old 09-09-2003, 02:51 PM   #1
tsugaru
Major Leaguer
 
Join Date: Sep 2002
Location: Edmonton
Posts: 267
Xmms

How do I go abouts installing XMMS on my Mac (OS 10.2.6)?

I have X11 installed already. What files do I download from xmms.org and how do I compile it?
tsugaru is offline   Reply With Quote
Old 09-09-2003, 03:21 PM   #2
macmath
MVP
 
Join Date: Mar 2002
Location: Elsewhere
Posts: 1,497
I have xmms installed, but I installed it via Fink. Are you interested in using Fink, or would you rather install it yourself (manually)?

A cursory glance at the xmms-info file from my Fink installation says that if you were to do this manually, you'd also need to install

esound, libogg, libvorbis0, libmikmod, glib, gtk+, libxml, dlcompat-dev, gettext-dev, gettext-bin, libiconv-dev




[Edited to take out a question mark at the end of the first sentence and replace it by a period...don't know why I had a question mark there.]

Last edited by macmath; 09-10-2003 at 10:04 AM.
macmath is offline   Reply With Quote
Old 09-10-2003, 04:27 AM   #3
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
tsugaru,

Like macmath said, it's probably easier to install xmms with Fink.
sao is offline   Reply With Quote
Old 09-10-2003, 10:23 AM   #4
tsugaru
Major Leaguer
 
Join Date: Sep 2002
Location: Edmonton
Posts: 267
Ok so how do I go abouts installing it with fink?
tsugaru is offline   Reply With Quote
Old 09-10-2003, 10:49 AM   #5
macmath
MVP
 
Join Date: Mar 2002
Location: Elsewhere
Posts: 1,497
A) If you already have Fink and the Developer's tools.

1) In Terminal type
Code:
fink install xmms
You'll be asked for your password, and then it will ask for your permission to install other packages which are needed for xmms. Then it will take care of the rest itself.

or

2) With FinkCommander instead, type xmms in the field on the upper left corner of the FinkCommander window and select 'Name' on the button to the left of the field. The xmms package should then be visible on the table below. Select xmms and then select 'Install' from the 'Source' menu on the menubar. The rest will be the same as for the instructions from the Terminal.

B) If you don't have Fink, but have the Developer's tools, you can download an installer for Fink and/or FinkCommander and proceed as above.

C) If you don't have the Developer's tools, then perhaps you can install Fink and FinkCommander as in (B) and then do as above in FinkCommander, except choose 'Install' from the 'Binary' menu on the menubar. I'm not sure if you'll need the Developer's tools to do this or not...can someone else please comment about this? To get the Developer's tools, you need only sign up at the ADC and then you'll have access to about 250 MB (compressed) worth of Developer's tools for free download. I hope you have access to something besides a 56k modem.
macmath is offline   Reply With Quote
Old 09-10-2003, 11:07 AM   #6
tsugaru
Major Leaguer
 
Join Date: Sep 2002
Location: Edmonton
Posts: 267
I have installed it but I can't get any sound to come out.

I installed it via FinkCommander and I can't get any sound.

If I check the X11 terminal window, it says:
unable to open port `/dev/ttyS1' (No such file or directory)
unable to open port `/dev/ttyS1' (No such file or directory)

Rather cryptic. Did I do something wrong?

Last edited by tsugaru; 09-10-2003 at 11:24 AM.
tsugaru is offline   Reply With Quote
Old 09-10-2003, 11:32 AM   #7
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
tsugaru,

First, be sure to select the "eSound Output Plugin" in the xmms preferences.

If still doesn't work read the Fink FAQ's on xmms here:

http://fink.sourceforge.net/faq/usag...php#xmms-quiet

To check if *esound* is working, run in an xterm:

esd &

if you hear a sound, then it should be working.

If still no sound:

and since xmms forks an esd process the first time you run it, then you'll might have one running as root already, to confirm try:

ps -auxw | grep esd

If the first column is root, hunt that process down and kill it, and restart *esd* from the command line.

Then, start -xmms- from an xterm:

xmms &

Last edited by sao; 09-10-2003 at 11:36 AM.
sao is offline   Reply With Quote
Old 09-10-2003, 11:35 AM   #8
tsugaru
Major Leaguer
 
Join Date: Sep 2002
Location: Edmonton
Posts: 267
[quicksilver:~] avu% ps -auxw | grep esd
root 321 0.0 2.0 37316 16088 ?? Ss 8:15AM 0:01.97 /System/Librar
y/CoreServices/coreservicesd -preload AEServer
avu 3596 0.0 0.0 1116 4 std R+ 9:34AM 0:00.00 grep esd
[quicksilver:~] avu% esd
using device Built-in audio controller for output:
with sample rate 44100.000000, 2 channels and 32-bit sample
unsupported device.
[quicksilver:~] avu% sudo kill 321
Password:
[quicksilver:~] avu% esd
using device Built-in audio controller for output:
with sample rate 44100.000000, 2 channels and 32-bit sample
unsupported device.
[quicksilver:~] avu% ps -auxw | grep esd
avu 3620 0.0 0.0 1116 4 std R+ 9:34AM 0:00.00 grep esd
[quicksilver:~] avu% sudo kill 3620
kill: 3620: No such process
[quicksilver:~] avu%
tsugaru is offline   Reply With Quote
Old 09-10-2003, 11:59 AM   #9
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
tsugaru,

So, what happens now when you run from an xterm:

xmms &
sao is offline   Reply With Quote
Old 09-10-2003, 12:00 PM   #10
tsugaru
Major Leaguer
 
Join Date: Sep 2002
Location: Edmonton
Posts: 267
[quicksilver:~] avu% xmms &
[1] 4551
[quicksilver:~] avu% unable to open port `/dev/ttyS1' (No such file or directory)
unable to open port `/dev/ttyS1' (No such file or directory)


I am going to reboot my computer as soon as my CDs are done burning, then I will get back to you.

This is very frustrating. It's a simple thing.
tsugaru is offline   Reply With Quote
Old 09-10-2003, 03:18 PM   #11
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
tsugaru,

I am not familiar with this error, but ttys1 exists:
Code:
Sao  @ ~  $ ls -l /dev/ttys1
crw-rw-rw-    1 root     wheel      4,  49 Sep 10 11:31 /dev/ttys1
Just for info:

fink -V
gcc -v

When you installed Apple's X11 did you also installed Apple SDK?

Do you get the same message with other X11 apps?

Last edited by sao; 09-10-2003 at 03:55 PM.
sao is offline   Reply With Quote
Old 09-11-2003, 12:52 PM   #12
tsugaru
Major Leaguer
 
Join Date: Sep 2002
Location: Edmonton
Posts: 267
Yes I installed X11 beta 3 as well as the SDK.

From terminal:

quicksilver:~] avu% ls -l /dev/ttys1
crw-rw-rw- 1 root wheel 4, 49 Sep 11 10:22 /dev/ttys1
[quicksilver:~] avu% fink -V
Package manager version: 0.13.2
Distribution version: 0.5.3

Copyright (c) 2001 Christoph Pfisterer
Copyright (c) 2001-2003 The Fink Package Manager Team
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
[quicksilver:~] avu% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420 (prerelease)
[quicksilver:~] avu%
tsugaru is offline   Reply With Quote
Old 09-11-2003, 01:08 PM   #13
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
tsugaru,

Do you get the same message with other X11 apps?
sao is offline   Reply With Quote
Old 09-12-2003, 03:25 PM   #14
tsugaru
Major Leaguer
 
Join Date: Sep 2002
Location: Edmonton
Posts: 267
What other x11 apps?
tsugaru is offline   Reply With Quote
Old 09-12-2003, 03:35 PM   #15
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
tsugaru,

Install any small application with FinkCommander and test if the same error comes out when you start the application from an xterm.
sao is offline   Reply With Quote
Old 09-12-2003, 07:06 PM   #16
tsugaru
Major Leaguer
 
Join Date: Sep 2002
Location: Edmonton
Posts: 267
I will do that when I get home from class.

Geez.

I don't really care for XMMS anymore. I just wanna be able to get it running.
tsugaru is offline   Reply With Quote
Old 10-11-2003, 10:01 AM   #17
pete
Prospect
 
Join Date: Oct 2003
Location: Brighton ON
Posts: 46
I am having the same problems with xmms I just rebuilt my OS X, updating it to 10.2.6, X11 0.3 with SDK, Fink, along with a variety of unix apps including xmms. It again has no output.

I recall this from when I first installed it and there was a simple fix in the pref's IIRC. Can't find that now - although I am still looking!


pete
pete is offline   Reply With Quote
Old 10-11-2003, 10:08 AM   #18
pete
Prospect
 
Join Date: Oct 2003
Location: Brighton ON
Posts: 46
What do you know - as soon as I posted my comment, I have sound coming out of xmms. Not what I thought the problem was, but it is now working.

The Graphic Equalizer has two buttons in the uppper left for 'on' and 'auto'. I switched those on and I had sound. Perhaps just running 'esd' (no ampersand) in a Terminal window to get esd up was all that was needed. I did that, then fudged around a bit more.

Just goes to show you - fiddle around enough and you can get what you want!




pete
pete is offline   Reply With Quote
Old 10-11-2003, 11:02 AM   #19
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Quote:
pete wrote:
Perhaps just running 'esd' (no ampersand) in a Terminal window to get esd up was all that was needed.

Yes, like I wrote above: "first check that *esound* is working, run in an xterm: 'esd &' if you hear a sound, then it should be working".
sao is offline   Reply With Quote
Old 10-11-2003, 11:58 AM   #20
pete
Prospect
 
Join Date: Oct 2003
Location: Brighton ON
Posts: 46
I had tried your suggestion of using 'esd &' a couple times but that only crashed the Terminal. Fiddled more - tried 'esd' without ' &' and sound emanated from the speakers. The output was directed to the Terminal window, so adding the ' &' would force it to use its own window - which it doesn't do.

Glad I managed to get it working - now I have to adjust something or other as the sound is somewhat munged.



pete
pete is offline   Reply With Quote
Reply


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 05:48 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.