image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old January 6th, 2004, 12:59 AM
Registered User
 
Join Date: Oct 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
tachyon is on a distinguished road
Question troubles with fink

Hi UNIX fans

I have a spare machine with 10.2. Installed Dev Tools. Installed fink.
Tried to test it out by getting BasiliskII.
The Date & Time were not current and as fink was installing all the xFree86 stuff I saw a few error messages regarding the right date scroll past.
Basilisk doen't run. My errors say

Gdk warning; locale not supported by C library
Gtk warning; cannot open display.

so after fixing the date+time, I do a fink selfupdate, then fink update-all

Basilisk still has the same error messages.

What did I do wrong? Is this stuff supposed to work? Geez, package management is heavy stuff.

Last edited by tachyon; January 6th, 2004 at 01:00 AM. Reason: typo
Reply With Quote
  #2  
Old January 6th, 2004, 01:17 PM
Registered User
 
Join Date: Nov 2003
Location: North Central Ohio
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
kawasakioutlaw is on a distinguished road
fink

I share positions in our organization with a lady
named fink and she don't work either!
Reply With Quote
  #3  
Old January 6th, 2004, 05:24 PM
Viro's Avatar
Registered User
 
Join Date: Nov 2003
Location: Oxford, UK
Posts: 2,492
Thanks: 0
Thanked 1 Time in 1 Post
Viro will become famous soon enoughViro will become famous soon enough
You need to start X11 before running basilisk. That's why Gtk can't open a display. If you installed Apple's X11 server, you should run /Applications/Utilities/X11.app before running basilisk.

If it is the X server installed by fink (which from the looks of your post, it probably is) you might want to try typing

startx &

Watch all the initialization stuff, then type the command to start basilisk. Post back if that doesn't solve it.
Reply With Quote
  #4  
Old January 7th, 2004, 09:59 PM
Registered User
 
Join Date: Oct 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
tachyon is on a distinguished road
Quote:
Originally Posted by Viro
You need to start X11 before running basilisk. That's why Gtk can't open a display. If you installed Apple's X11 server, you should run /Applications/Utilities/X11.app before running basilisk.
No I didn't. I just installed xfree86.

Quote:
Originally Posted by Viro
If it is the X server installed by fink (which from the looks of your post, it probably is) you might want to try typing

startx &

Watch all the initialization stuff, then type the command to start basilisk. Post back if that doesn't solve it.
Sorry no initialization stuff, I get errno 2 which is "no X in PATH". Sorry now this thread is how to install X11 properly! Why can't these fancy installers add X to my PATH for me? There is nothing about it in the startx man page, socan someone tell me how to do it?
Reply With Quote
  #5  
Old January 8th, 2004, 07:49 AM
Viro's Avatar
Registered User
 
Join Date: Nov 2003
Location: Oxford, UK
Posts: 2,492
Thanks: 0
Thanked 1 Time in 1 Post
Viro will become famous soon enoughViro will become famous soon enough
Well, I got BasiliskII compiled and running. This is what I did.

I got Apple's X11 and installed it. Also, I installed the X11 SDK. Because I'm using Panther X11 was on the 3rd CD, X11 SDK was on the DevTools CD.

Once those were installed I installed BasiliskII via fink.

Before being able to run it, I had to edit the file called .profile in my user directory (So the full path was /Users/wjgoh/.profile). I added the line
Quote:
export DISPLAY=:0.0
So now, to start BasiliskII, I just type in the terminal

Quote:
startx &
BasiliskII
Reply With Quote
  #6  
Old January 8th, 2004, 12:01 PM
Registered User
 
Join Date: Jan 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
The Grimace is on a distinguished road
Something else to try

You might also want to try this:

Launch X11 (or 'Keep in Dock')
Open a Finder window and locate the app.
Drag said app to the X11 icon in the Dock.

(tig)
Reply With Quote
  #7  
Old January 15th, 2004, 10:12 PM
Registered User
 
Join Date: Oct 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
tachyon is on a distinguished road
Question more confusion

Quote:
Originally Posted by Viro
I got Apple's X11 and installed it. Also, I installed the X11 SDK. Because I'm using Panther X11 was on the 3rd CD, X11 SDK was on the DevTools CD.
ok, does fink install X11 or not? if not, does the panther version still work on 10.2.x?

i dont think i have X11 installed. How can I tell?
Reply With Quote
  #8  
Old January 16th, 2004, 12:19 AM
Registered User
 
Join Date: Jan 2003
Location: Omaha, Ne
Posts: 215
Thanks: 0
Thanked 0 Times in 0 Posts
naodx is on a distinguished road
From the command line type:

fink list

this will give you a list of what is available through fink. It should also have an 'i' the the left of packages that are already installed.

Look for system-xfree86 and see if there is an 'i' to the left of it, there should be whether you are using apple's x11 or the one available through fink.

Hope this helps
Reply With Quote
Reply

Thread Tools

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 Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 08:59 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.