New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Fink? X11? ???


Post Reply New Thread Subscribe

 
Thread Tools
WhitE_RabbiT
Guest
 
Posts: n/a

Ok guys, I'm new to this. I am starting to learn the terminal. I know a few basic commands. I have played around with various distrus of Linux before, and I know what x11 window system is. At least, I understand the purpose of its existance on Linux.

Here is the thing. I'm interested in playing with all of this stuff on my new PB, but I am slightly confused as to what is what, and what does what. I was originally under the impression that this "Fink" was x11 apps remade to run on my Mac. Before I had heard of "Fink," I believed I could run any x11 app with the x11 available from Apple. Now that I have just downloaded, installed, and started playing with Fink, it appears that they are not even related. I'm slightly confused.

Hopefully you guys can give me some insight as to what is really what, and the purpose it serves. Maybe help me make some connections. Any explinations would be great really. Thanks guys.
QUOTE Thanks
witeshark

 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7

witeshark is offline
Open Terminal and type man - the command you want to see instructions for - and enjoy the Unix Zone!
QUOTE Thanks
WhitE_RabbiT
Guest
 
Posts: n/a

yes, i know about man....but im still a little confused about the whole x11 release from apple.....as well as fink. I'm assuming fink is just a way of importing programs that have been remade to run on the darwin kernel.
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 3,207
cradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant future
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is offline
You're right, Fink installs apps, librarys, and other stuff for X11, Apple's or Xfree86. It puts the stuff in a seperate dir so as not to mess up the system structure. Have you tried FinkCommander? Easier to use than dselect.

What exactly are you having problems with?
QUOTE Thanks
WhitE_RabbiT
Guest
 
Posts: n/a

ok, well....in that case. i guess my question is, how do I go about running the programs/packages I get with fink. i can open them in my regular terminal for the most part, but when i open x11, and run xterm, i cannot run the fink programs.
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 3,207
cradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant future
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is offline
Ok, you need to do this:
Put this in .bashrc (should already be there)

. /sw/bin/init.sh

Now, if running a window manager other than quartz, put this in .xinitrc:

source /sw/bin/init.sh

If you're running quartzwm (in other words the way is when you install and run x11 from the finder), pull down the applications menu and select configure. Add a new line and when you enter the command type the whole path to the app like this:

Mozilla /sw/bin/mozilla

If you don't have an .xinitrc file in your home folder, Apple's X11 uses an internal init file which doesn't know anything about Fink. That's why you have to put the complete path in the menu config.
QUOTE Thanks
WhitE_RabbiT
Guest
 
Posts: n/a

ok thanks, i think i have it figured out now.

another question tho. can i only run x11 apps that fink has recompiled, or does any x11 app work.
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 3,207
cradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant future
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is offline
A lot of X11 apps can be compiled. Also there are other places with ports besides Fink. Check here:

http://macosx.forked.net/
http://darwinports.opendarwin.org/

Sometimes it just takes a switch on the configure file to get something to compile. For example: ./configure -host=PPC
or something similar.

Normally binaries can't be run 'cause they're for PC's. You need to compile from source. I downloaded the source for a better config app for WindowMaker and it compiled and ran just fine.

Also there is some stuff you just can't get to compile no matter what you do. (at least in my case. i'm not an expert or programmer) Depends on what it is.
QUOTE Thanks

Post Reply New Thread Subscribe


« Running Linux apps on my Mac or Linux itself | Which X11 to use? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
X11 for OSX Emrys OS X - Development and Darwin 16 08-23-2004 06:58 PM
x11 installation trouble jp_tix OS X - Development and Darwin 9 03-21-2004 10:01 PM
Apple Updated X11 Beta schweb Apple Rumors and Reports 1 03-17-2003 05:55 PM

All times are GMT -4. The time now is 06:24 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?