View Full Version : Can't get fink to work
I installed X11 and fink several months ago when they both came out, hoping to be able to use them. Unfortunately, while I can get X11 to run I can't get fink to run. I don't know much (anything) about unix but I have been reading "Fun with Fink" trying to get it to work. I've set the path with pico (I think) and I have a folder that is named sw and is full of fink files.
Whenever I log in on to the X11 terminal I get the following message that doesn't seem correct, from what I've read, but I don't know what's wrong or how to change it.
Unmatched '.
[Paul-Riccardis-Computer:~] paulriccardi%
Can anyone give me some direction?
Thanks,
pgr
Have you tried "Fink Commander" ?
http://finkcommander.sourceforge.net/
:D
I have used it successfully.
I have Fink commander installed and it works (I think) but I don't know where to go from there.
pgr
bmerlin
04-03-2003, 03:18 PM
Could you post the contents of your .cshrc file? (Or whichever file you used to modify your path.)
It sounds like there is an error there somewhere.
is this what you mean?
Last login: Thu Apr 3 16:26:11 on ttyp2
Welcome to Darwin!
Unmatched '.
[Paul-Riccardis-Computer:~] paulriccardi%
If not what should I type in?
Thanks,
pgr
bmerlin
04-03-2003, 05:44 PM
Something like this:Last login: Thu Apr 3 15:36:06 on console
Welcome to Darwin!
[pc10321-stdnt106839:~] merlin% cat .cshrc
setenv PATH /usr/local/bin:${PATH}:/Developer/Tools
source /sw/bin/init.csh
[pc10321-stdnt106839:~] merlin%Everything between `cat .cshrc' and the last line is the contents of the file `.cshrc'. So, you'll want to open a new Terminal window, type `cat .cshrc', and post the output here, which will follow the pattern I included above.
- Ben
Unmatched '.
[Paul-Riccardis-Computer:~] paulriccardi% cat .cshrc
source /sw/bin/init.csh
[Paul-Riccardis-Computer:~] paulriccardi%
Here it is.
pgr
pgr wrote:
I've set the path with pico (I think)
Please, show us how did you set your path. Something is wrong in the file you created with pico. That, is creating your - Unmatched '. - error.
If the file was ~/.cshrc , to open it and check the contents, type in terminal:
cd (to go to your home directory)
then,
pico .cshrc ( and press return)
copy-paste the content in your next post.
Edit: Sorry, I just read your last post.
When I type that in the terminal pico opens and this is what is on the screen
source /sw/bin/init.csh
pgr wrote:
source /sw/bin/init.csh
The content of your ~/.cshrc is correct. Just to be sure, maybe you erase it all and write it again. (It might have invisible garbage)
Do you also have a ~/.tcshrc file by chance?
I'm not sure. The Terminal says Terminal-tcsh(ttyp1) at the top
and the file says .cshrc.
How would I change to tcshrc to find out? Don't forget I'm a real newbe at this.
pgr,
All right, don't worry. Type in terminal.app :
ls -a (and press return)
post the result.
Last login: Fri Apr 4 07:20:34 on ttyp1
Welcome to Darwin!
Unmatched '.
[Paul-Riccardis-Computer:~] paulriccardi% ls -a
. .bash_history .xftcache Pictures
.. .cshrc Desktop Public
.CFUserTextEncoding .cshrc.save Documents Shared
.DS_Store .java Incomplete Sites
.MCXLC .jpi_cache Library Temporary Items
.Trash .lpoptions Movies list1
.Xauthority .tcshrc Music vw
[Paul-Riccardis-Computer:~] paulriccardi%
I see it there, now what?
pgr,
Great, well done.
Now, open it with pico, in the same way you did before with ~/.cshrc:
cd (to go to your home directory)
then,
pico .tcshrc
then, you can write at the beginning of the file either:
source ~/.cshrc
or directly write here:
source /sw/bin/init.csh
in this last case, you will not need anymore your ~/.cshrc file and we can delete it afterwards.
save the file and quit. (press Control-O, Return, Control-X to get out of the editor)
After you are out of pico, *only* if you wrote the second option, you can now delete your ~/.cshrc file:
cd (to go to your home directory)
rm .cshrc (and press return)
to confirm it's not there anymore, check with:
ls -a
If it's gone, now close your terminal.app and open it again.
Tell me if the error is still coming up.
when I get into pico this shows up -
alias rm 'rm -i"
alias mv "mv -i"
alias cp "cp -i"
Should I erase all of this before I type in source /sw/bin/init.csh and then follow your instructions or just type it in?
pgr,
No need. Just type it at the beginning.
Because you have the alias rm 'rm -i" , later when you type:
rm .cshrc (and press return)
it will just prompt you for confirmation before removal.
I did it.
UW PICO(tm) 2.5 File: .tcshrc
source /sw/bin/init.csh
alias rm 'rm -i"
alias mv "mv -i"
alias cp "cp -i"
[ Wrote 4 lines ]
[Paul-Riccardis-Computer:~] paulriccardi% cd
[Paul-Riccardis-Computer:~] paulriccardi% rm .cshrc
rm: .cshrc: No such file or directory
[Paul-Riccardis-Computer:~] paulriccardi% ls -a
. .bash_history Desktop Public
.. .cshrc.save Documents Shared
.CFUserTextEncoding .java Incomplete Sites
.DS_Store .jpi_cache Library Temporary Items
.MCXLC .lpoptions Movies list1
.Trash .tcshrc Music vw
.Xauthority .xftcache Pictures
[Paul-Riccardis-Computer:~] paulriccardi%
but this is the message I get when I restart
Last login: Fri Apr 4 08:46:59 on ttyp1
Welcome to Darwin!
Unmatched '.
[Paul-Riccardis-Computer:~] paulriccardi%
It still seems to be messed up.
I have to leave for work now so I will have to pick up on this later - thanks so far!
pgr
sikity
04-04-2003, 08:20 AM
I see what the problem is.
in .tcshrc file there is
source /sw/bin/init.csh
alias rm 'rm -i"
alias mv "mv -i"
alias cp "cp -i"
on the second line
alias rm 'rm -i"
there is both a ' and a "
change the ' to a " so that it looks like
alias rm "rm -i"
and that should fix your problem.
Good eyes, sikity!
Mine are already tired (10.22PM in Singapore) :)
pgr,
Now, hopefully your problems would be gone.
1- If you do the change suggested by sikity in your alias rm in your ~/.tcshrc file, you will get rid of the - Unmatched '. - error.
2- Fink should be working too. When tcsh is started, it first reads system-wide scripts, and then those for your user account. It looks first for ~/.tcshrc, and if that isn't found, ~/.cshrc;
You had both (and unless you write in your ~/.tcshrc: 'source ~/.cshrc') , only ~/.tcshrc got run. And therefore ~/.cshrc wasn't read.
Thank you, you guys are great! Next, I tried to install XFree with dselect (using Fun with fink as a guide). I actually got all the way thru but at the end I got the following message -
b) ...
Unpacking dlcompat (from .../dlcompat_20021117-1_darwin-powerpc.deb) ...
Unpacking xfree86-base-shlibs (from .../xfree86-base-shlibs_4.2.1.1-3_darwin-powerpc.deb) ...
Unpacking xfree86-base (from .../xfree86-base_4.2.1.1-3_darwin-powerpc.deb) ...
You have an existing X11 installation in /usr/X11R6 and /etc/X11.
This package refuses to overwrite these. Remove them, then tell Fink to
install xfree86-base again. (The package won't be recompiled.) If you want
to keep your X11 installation, install system-xfree86 resp. system-xtools
instead to make this known to Fink's package system.
Press Return to continue.
I guess I shouldn't have installed X11 first. What should I do next? How do I remove them or should I? Should I just install system-xfree86 resp. system-xtools and do I do it with dselect if I can figure out how to do it again!
I forgot, I do have Fink Commander installed although I relly don't know how to use it either.
sikity
04-04-2003, 05:11 PM
pgr,
A quick responce and my recomendation is to use the system-xfree86 package in dselect or fink-commander.
If you have installed Apples X11 make sure you have also installed the SDK.
I believe fink will clean up the failed install and it won't cause you any problems.
edit --
additionally you can look at question 5.2
http://fink.sourceforge.net/faq/comp-packages.php#cant-install-xfree
in the fink FAQ. It only covers removing XDarwin if you want to do that question 5.5 talks about Apple's X11.
there are also a number of questions in section 7 that relate to X11 and fink.
--
For a longer responce read on.
What version of X11 did you install XDarwin or Apples X11? I am using Apples version and have not had any problems with it and fink. The XDarwin version is the same one in fink.
I also do not know how to uninstall cleanly Apples version of X11. (I have not found an uninstaller)
If you installed Apples version and decide to use the system-xfree86 you will also need to install Apples X11 SDK. fink will need it if it has to build any packages. XDarwin has all of the required files so no additional SDK install.
I have removed XDarwin from the Terminal.app by removing /etc/X11 /usr/X11R6 and /Applications/XDarwin.app. I am not sure of all of the directories that Apples X11 uses and have not had a need to remove it. I expect that if you remove /etc/X11 /usr/X11 and /Applications/X11.app it will remove Apples X11. In both cases that leaves some prefrence files.
The only feature that I know of that XDarwin has that Apples X11 does not have is the ability to have a full screen XSession. (All of the screen is used for X11) Apples X11 only does what is called rootless mode (X11 windows mixed with Aqua windows.)
This is long enough and I am starting to ramble. If you want more info on how to remove your previous version of X11 post back and I will try to be a bit more clear or some one else might be able to explain it better and know more of the files (or have found an uninstaller).
I did download and install both Apples X11 and SDK yesterday. Back in January when I first tried this I think I did the same thing, but I'm not positive.
Are you saying that if I remove the existing X11 in /user/X11R6 and /etc/X11 then I will have to reinstall Apples X11?
I just want to do it the similest way so I can use it. I don't care which version I use.
At least, now I have fink working.
What does it mean when they say "If you want to keep your X11 instalation, install system-xfree86 resp. system-xtools instead"? Is this a better (easier) way to do it and if so what next? Do I have it in fink or do I have to download it somewhere?
sikity
04-04-2003, 05:48 PM
Sorry for not being very clear.
The simplest way is to leave your X11 install alone and in fink use the system-xfree86 insted of the xfree-base package.
you will do this in dselect (or fink commander) and you do not have to download anything additional. That should allow you to install any applications that require X11.
you can then ignore the rest of my post :)
Thanks,
How do I use the system-xfree86? Do I run fink again and look for system-xfree86 and try to install it?
I guess I need some hand holding to get me started again. Getting Fink to work made my day but now I'm lost again!
If you can give me an idea where to start I will work on it tonight.
pgr
sikity
04-04-2003, 06:34 PM
Now to the rest of your questions. (i hope)
>>what "If you want to keep your X11 instalation, install system-xfree86 resp. system-xtools instead" means.
is I have X11 installed do not try to install another.
(This is the approach you are taking)
>> How do I use the system-xfree86? Do I run fink again and look for system-xfree86 and try to install it?
yes.
Run dselect(FinkCommander) and pick the package system-xfree86 insted of the package xfree-base and fink will be happy and install any packages that requre X11 (like GIMP or xscorch). You will not have to get anything additional.
(This is informational only. You can safely ignore it for what you are currently doing :) )
>> Are you saying that if I remove the existing X11 in /user/X11R6 and /etc/X11 then I will have to reinstall Apples X11?
yes.
Apple's X11 or XDarwin or use the xfree-base package in dselect insted of the system-xfree86
I hope this helps.
Well, I ran Fink Commander and tried to install system-xfree86 with the green + (try to install packages from source)
I got the following error codes
Information about 769 packages read in 0 seconds.
pkg system-xfree86 version ###
pkg system-xfree86 version 4.2-1
The following package will be installed or updated:
system-xfree86
rm -rf /sw/src/root-system-xfree86-4.2-1
mkdir -p /sw/src/root-system-xfree86-4.2-1/sw
mkdir -p /sw/src/root-system-xfree86-4.2-1/DEBIAN
mkdir -p /sw/src/root-system-xfree86-4.2-1/sw/share/doc/system-xfree86
echo "system-xfree86 is a bundle package that doesn't install any files of its own." >/sw/src/root-system-xfree86-4.2-1/sw/share/doc/system-xfree86/README
rm -f /sw/src/root-system-xfree86-4.2-1/sw/info/dir /sw/src/root-system-xfree86-4.2-1/sw/info/dir.old /sw/src/root-system-xfree86-4.2-1/sw/share/info/dir /sw/src/root-system-xfree86-4.2-1/sw/share/info/dir.old
Writing control file...
Writing package script preinst...
Writing shlibs file...
mkdir -p /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system
dpkg-deb -b root-system-xfree86-4.2-1 /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system
dpkg-deb: building package `system-xfree86' in `/sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/system-xfree86_4.2-1_darwin-powerpc.deb'.
ln -sf /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/system-xfree86_4.2-1_darwin-powerpc.deb /sw/fink/debs/
dpkg -i /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/system-xfree86_4.2-1_darwin-powerpc.deb
Selecting previously deselected package system-xfree86.
(Reading database ...
dpkg: serious warning: files list file for package `xfree86-base' missing, assuming package has no files currently installed.
3516 files and directories currently installed.)
Unpacking system-xfree86 (from .../system-xfree86_4.2-1_darwin-powerpc.deb) ...
dpkg: error processing /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/system-xfree86_4.2-1_darwin-powerpc.deb (--install):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
### execution of dpkg failed, exit code 1
Failed: can't install package system-xfree86-4.2-1
/sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/system-xfree86_4.2-1_darwin-powerpc.deb
I tried to do it in fink, but I couldn't even find system-xfree86 in the packages.
What next?
sikity
04-04-2003, 07:54 PM
I have not run into that problem in the past. I have a machine I can play with. I will try to reproduce your problem.
what you might try is doing a binary install of the system-xfree86 package insted of a from source install.
If you want to try a seach in dselect you type the '/' key then what you want to search on.
to continue the search type the '\' key.
pgr and sikity,
What a mess...for nothing!
It all could have been avoided if you just read the "X11-FAQ thread" at the top of the forum, "62- Fink and Apple's X11 v.03":
http://forums.macosxhints.com/showthread.php?s=&threadid=8704&pagenumber=4
prg,
If you installed Apple's X11 v0.3 and the SDK, and you want to work with Fink to install packages, you need to install Fink's "system-xfree86" version-4.2-11 or higher.
(The system-xfree86 package you are trying to install above is only version-4.2-1)
Info: The system-xfree86 is just a "placeholder" package for an "outside Fink" installed Xfree86, in this case Apple's X11, which installs it's own version of XFree86. By installing this package Fink will recognize your Apple's X11 installation, and you can then, use Fink to install packages.
I will suggest you use "apt-get" and not "dselect". The dselect interface can be confusing for a beginner.
So, now that Fink is working, you need first to get the latest binary packages:
just run from terminal.app :
'sudo apt-get update'
and after,
'fink index'
Then run:
'sudo apt-get install system-xfree86'
Or if you want to install from source:
you need to have "Apple December 2002 Developer Tools" installed first.
then, you can run:
'fink selfupdate-cvs'
'fink install system-xfree86'.
prg,
please give me the following info:
(Type in terminal.app and press return)
fink -V
sw_vers
Also, what's your version of FinkCommander?
Let me know.
Thank you Sao,
I will follow your instructions tonight when it is quiet and I can concentrate fully on it.
In the mean time, I have Fink Comander v 0.4.1. Should I upgrade it first?
Secondly, I have the X11 program in my applications folder. Should I just trash it now? When I do everythink sucsessfully, I asume I will end up with another program in my applications folder called X11 or something like it that that I will be able to use. Is that correct?
pgr
(freezing in Boston with snow in April)
pgr wrote:
I have Fink Comander v 0.4.1. Should I upgrade it first?
Yes, of course, latest version is 0.5.0
http://sourceforge.net/project/showfiles.php?group_id=48896
pgr wrote:
I have the X11 program in my applications folder. Should I just trash it now?
No, don't do that. That's your X11.app. You need it!
pgr wrote:
When I do everythink sucsessfully, I asume I will end up with another program in my applications folder called X11 or something like it that that I will be able to use. Is that correct?
No, that's not correct. Fink's package 'system-xfree86' doesn't install *anything*, is just necessary to install it, in order that Fink recognizes your Apple's X11 installation. It's just a placeholder package. That's all.
Many people make the same mistake, and think it's the same as the fink packages: xfree86-base and xfree86-rootless. They are not the same!
Check:
system-xfree86 (just a placeholder package)
xfree86-base (this package installs Xfree86)
xfree86-rootless (this package also installs Xfree86)
So basically you need:
Apple's X11 v0.3(installed)
X11.app (installed)
Fink (installed)
system-xfree86-4.2-11 or higher (you need to install)
If you have further questions, let me know before you do.
PS: I'm melting in Singapore, let's change places (I'm fed up with the heat)
Ok! I updated fink Commander no problem, then I ran the sudo apt-get update command - no problem until i recieved thed message at the bottom -
Welcome to Darwin!
[Paul-Riccardis-Computer:~] paulriccardi% sudo apt-get update
Password:
Get:1 http://us.dl.sourceforge.net 10.2/release/main Packages [162kB]
Get:2 http://us.dl.sourceforge.net 10.2/release/main Release [85B]
Get:3 http://us.dl.sourceforge.net 10.2/release/crypto Packages [15.1kB]
Get:4 http://us.dl.sourceforge.net 10.2/release/crypto Release [87B]
Get:5 http://us.dl.sourceforge.net 10.2/current/main Packages [20B]
Get:6 http://us.dl.sourceforge.net 10.2/current/main Release [93B]
Get:7 http://us.dl.sourceforge.net 10.2/current/crypto Packages [20B]
Get:8 http://us.dl.sourceforge.net 10.2/current/crypto Release [95B]
Fetched 177kB in 1s (94.0kB/s)
Reading Package Lists... Done
Building Dependency Tree... Done
[Paul-Riccardis-Computer:~] paulriccardi% fink index
sudo /sw/bin/fink index
Reading package info...
Updating package index... done.
[Paul-Riccardis-Computer:~] paulriccardi% sudo apt-get install system-xfree86
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
xfree86-base
The following NEW packages will be installed:
system-xfree86
0 packages upgraded, 1 newly installed, 1 to remove and 6 not upgraded.
4 packages not fully installed or removed.
Need to get 3046B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.dl.sourceforge.net 10.2/release/main system-xfree86 4.2-11 [3046B]
Fetched 3046B in 0s (11.5kB/s)
dpkg: error processing xfree86-base (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
xfree86-base
E: Sub-process /sw/bin/dpkg returned an error code (1)
[Paul-Riccardis-Computer:~] paulriccardi%
What do I do next?
pgr,
Well done, but I read again your posts and I saw that you wrote:
1- "I installed X11 and fink several months ago when they both came out"
2- "I tried to install XFree with dselect"
3- "I did download and install both Apples X11 and SDK yesterday"
So, let's make some order now. First, let me ask you what you want:
1- Do you want to have Apple's X11 installed and use Fink to install packages?
Or
2- Do you want to have XDarwin installed and use Fink to install packages? (and forget about Apple's X11)
(You could also have both Apple's X11 and XDarwin installed and use Fink to install packages, but I don't recommend it, "far too complicated" for beginners)
Let me know which one you want, and we will start cleaning up.
Accura
04-07-2003, 04:56 AM
check you .cshrc file (found at /Users/username/.cshrc) or your .tcshrc (again /Users/username/.tcshrc) for any ' chars on a line that DO NOT have another ' on the same line, thats causing your problems.
If its not in those 2 files check for lines that start with SOURCE, what source will do is include the entire contents of another file when loading. check any files that source links to for the same problem (tho if its another file it might not be a good idea to edit it)
Thank ypu Sao,
I really don't know if I want X11 or X Darwin. As I recall from my reading, XDarwin will run full screen and that seems a bit nicer, is that correct?
I think right now I would just like to get either one of them working, probably whichever is the easyist after all the mixups I've had. I just want to be able to use some of the Unix apps and try and learn something about Unix. I want to use fink too, of course.
Whatever you suggest sounds good to me at this point.
pgr
pgr wrote:
4 packages not fully installed or removed.
Need to get 3046B of archives. After unpacking 0B will be used.
.......................
.......................
dpkg: error processing xfree86-base (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Ok, If I was you, at this stage, I would delete what's there and install everything again.
Run in terminal.app:
(Type carefully, these commands are powerful)
To delete Fink:
sudo rm -rf /sw
To delete Apple's X11 and the XDarwin.app:
sudo rm -rf /usr/X11R6
sudo rm -rf /etc/X11
sudo rm -rf /Applications/X11.app
sudo rm -rf /Applications/XDarwin.app
And, after that, I would probably choose to install again Apple's X11 instead of XDarwin:
1- Install Apple's X11 v0.3
2- Install the SDK
3- Install Fink and set your environment.
4- Install with Fink, system-xfree86-4.2-11 or higher.
Then, when finished, let me know.
Ok, I think I did it all.
Trashed all the old files, no problem, then I installed:
Apple X11 v.0.3
SDK tools
Fink 0.5.02
and then installed system XFree86 - rootless 4.2-11 with Fink
It that correct?
pgr
Did I mess up by installing the wrong version of system xfree86 with Fink?
That was the only version I could find with Fink.
With Fink Commander I see there is a xfree86- base I could have installed instead.
It appears that I have xfree86-base-sh 4.2.1.
1-3 and XFree86 - rootless 4.2.1.1-3 installed under the current status in Fink Commander.
pgr wrote:
system XFree86 - rootless 4.2-11 with Fink
rootless?? You should have installed system-xfree86-4.2-11
Please run in terminal.app and post the result:
fink list xfree86
Here it is -
Last login: Wed Apr 9 07:14:00 on ttyp1
Welcome to Darwin!
[Paul-Riccardis-Computer:~] paulriccardi% fink list xfree86
Information about 770 packages read in 5 seconds.
system-xfree86 4.2-1 Placeholder package for manually installe...
xfree86-base 4.2.1.1-3 XFree86 libraries, utilities, clients and...
i xfree86-base-sh 4.2.1.1-3 XFree86 libraries, utilities, clients and...
xfree86-rootles 4.2.1.1-3 XFree86 libraries, utilities, clients and...
i xfree86-rootles 4.2.1.1-3 XFree86 libraries, utilities, clients and...
[Paul-Riccardis-Computer:~] paulriccardi%
Am I back to where I started from before?
pgr wrote:
Am I back to where I started from before?
Yes, exactly.
Can you read the first one on the list? That's the one you should have installed:
system-xfree86 4.2-1 --------Placeholder package for manually installe...
Right now, you have installed;
i xfree86-base-sh 4.2.1.1-3
i xfree86-rootles 4.2.1.1-3
And by doing that you "overwrote" your Apple's "X11" installation.
So, either you start all again, as I posted above by deleting your installation and reinstalling Apple's X11 or you forget about Apple's X11 and just continue installing XDarwin.
Let me know what you want to do?
I think i'll start all over again and this time use Fink Commander to install
system-xfree86-4.2-11 as I can find it there. Does that make sense?
I will install
X11 first
SDK second
then Fink and set the path
then use Fink Commander to install system-xfree86-4.2-11
I think the problem is I have read so many different ways to do this that I'm mixing them all up.
Thanks for you help and patience!
pgr,
Ok, first delete everything again:
Run in terminal.app:
(Type carefully, these commands are powerful)
To delete Fink:
sudo rm -rf /sw
To delete Apple's X11 and the XDarwin.app:
sudo rm -rf /usr/X11R6
sudo rm -rf /etc/X11
sudo rm -rf /Applications/X11.app
sudo rm -rf /Applications/XDarwin.app
Then, install again as you posted above.
Let me know.
Ok, I think I have it finally.
This is the message I received when I installed system Xfree86 4.2-11
Reading Package Lists...
Building Dependency Tree...
The following NEW packages will be installed:
system-xfree86
0 packages upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 3046B of archives. After unpacking 0B will be used.
Get:1 http://us.dl.sourceforge.net 10.2/release/main system-xfree86 4.2-11 [3046B]
Fetched 3046B in 0s (7372B/s)
Selecting previously deselected package system-xfree86.
(Reading database ... 3454 files and directories currently installed.)
Unpacking system-xfree86 (from .../system-xfree86_4.2-11_darwin-powerpc.deb) ...
- found apple library
- found /usr/X11R6/bin/xterm
- found /usr/X11R6/bin/xrdb
- found /usr/X11R6/bin/rman
- found /usr/X11R6/lib/libX11.dylib
- found /usr/X11R6/lib/libXpm.dylib
- found /usr/X11R6/lib/libXaw.dylib
- found /usr/X11R6/include/X11/Xlib.h
Valid Apple X11 detected. Thank you, have a nice day.
Setting up system-xfree86 (4.2-11) ...
Now... how do I make it work???
pgr,
Before you do anything, run and post again the result of:
fink list xfree86
[Paul-Riccardis-Computer:~] paulriccardi% fink list xfree86
Information about 925 packages read in 3 seconds.
i system-xfree86 4.2-11 Placeholder package for manually installe...
xfree86-base 4.2.1.1-3 XFree86 libraries, utilities, clients and...
xfree86-base-sh 4.2.1.1-3 XFree86 libraries, utilities, clients and...
xfree86-rootles 4.2.1.1-3 XFree86 libraries, utilities, clients and...
xfree86-rootles 4.2.1.1-3 XFree86 libraries, utilities, clients and...
[Paul-Riccardis-Computer:~] paulriccardi%
pgr,
Finally you got Apple's X11, Fink and system-xfree86 installed correctly. Well done.
pgr wrote:
Now... how do I make it work???
To start Apple's X11, just double click your X11.app in your /Applications folder.
Hopefully, Apple's X11 will start without problems.
Let me know.
If all works, then you can start installing with Fink the sofware packages you want to use in Apple's X11.
Also, a good thing to do, would be to write in your ~/.tcshrc file after your 'source /sw/bin/init.csh' the following:
if (! $?DISPLAY) then
setenv DISPLAY :0.0
endif
So, you could also start your X11 aplications from your terminal.app.
Ok, I did that.
I'm assuming the :0.0 is the number 0 not the capital letter O, is that correct?
f (! $?DISPLAY) then
setenv DISPLAY :0.0
endif
I installed the program sunclock with Fink Commander and it works fine, however I have to type sunclock into the X11 terminal each time I want to use it. Isn't there an easier way to start programs from X11? Their help page doesn't seem to have much to say about this?
Thanks for your help!
pgr
pgr,
Yes, the number 0.
pgr wrote:
Isn't there an easier way to start programs from X11?
Yes, in the X11 menu, go to Applications -> Customize, then in 'name' write the name of the application and where it says 'command' type:
/sw/bin/sunclock
Then when you want to open the application, use the 'Applications' menu.
The same you will write eventually for other applications you install, 'for example' :
/sw/bin/gimp
/sw/bin/evolution
/sw/bin/mozilla
/sw/bin/xmms
You can also write them with the -geometry option if you like, to place the application wherever you want in the desktop:
/sw/bin/gvim -geometry 70x22+687+40
/sw/bin/multi-gnome-terminal --geometry 65x30+687+500
/sw/bin/xemacs -geometry 70x22+88+40
Or in your ~/.xinitrc file you write (call) Apple's window manager (quartz-wm) or others like 'blackbox', 'enlightenment', 'icewm' or a desktop environment like 'KDE' or 'Gnome', and some applications you would like X11 to start with.
Read more about ~/.xinitrc here:
http://homepage.mac.com/sao1/fink/index.html#top15
Thanks Sao,
Everything seems to be working now. I never could have figured it out with out your help from half way around the world!
Stay cool!
pgr
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.