![]() |
jiclark,
The package zsh is probably in unstable. Enable unstable in your /sw/etc/fink.conf at the Trees: line write unstable/main unstable/crypto, like this: Code:
Trees: local/main unstable/main unstable/crypto stable/main stable/crypto local/bootstrap'fink selfupdate' 'fink index' After, to see what packages you can install, run: 'fink list' |
sao,
When I run the above code, I get: Trees:: Too many arguments Quote:
It's late here for me (and don't know what it is for you!), so I'm off to slumberland. I appreciate you trying help me sort this out, so I'll look for a reply in the morning... Thanks again, John-o |
Quote:
You need to edit the file 'fink.conf' using an editor like pico. Follow these steps: From terminal.app run: % cd (to go to your home directory) % cd /sw/etc (to go to the /sw/etc directory) % pico fink.conf (to open the fink.conf file) Once the file is open, go to the Trees: line and add: unstable/main and unstable/cryto After you wrote those lines in the Trees: line it should look like this: Code:
Trees: local/main unstable/main unstable/crypto stable/main stable/crypto local/bootstrapThen run 'fink selfupdate' , 'fink index' . And don't worry, fink zsh package works very well. |
still no go...
sao,
I've done as you say, but it *still* isn't finding any zsh package to install! What next? Also, Quote:
This is all very frustrating, I must say. I haven't given up yet though!! John-o |
jiclark,
Running the command 'fink selfupdate-rsync' will switch you to the new update method and you should run it *only* the first time. Once you have switched, you just run: 'fink selfupdate' http://fink.sourceforge.net/download/rsync-upgrade.php Ok, let's see what is the situation now, post the result of: fink -V gcc -v fink list -i rsync And please, copy/paste here the contents of you /sw/etc/fink.conf file. PS: Quote:
|
Thanks sao,
Here's the readout for what you asked about: fink -V: Package manager version: 0.16.0 Distribution version: 0.6.1.cvs gcc -v: Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1495) fink list -i rsync: Information about 1401 packages read in 1 seconds. [Does that all make sense?] Oh, and here's the output of my fink.conf file: # Fink configuration, initially created by bootstrap.pl Basepath: /sw RootMethod: sudo Trees: local/main unstable/main unstable/crypto stable/main stable/crypto local/bootstrap Distribution: 10.3 FetchAltDir: /Downloa Mirror-cpan: ftp://ftp.funet.fi/pub/languages/perl/CPAN/ Mirror-ctan: ftp://tug.ctan.org/tex-archive/ Mirror-debian: ftp.debian.org Mirror-gimp: ftp://ftp.gimp.org/pub Mirror-gnome: ftp://ftp.gnome.org/pub/GNOME/ Mirror-gnu: ftp://ftp.gnu.org/gnu Mirror-kde: ftp://ftp.kde.org/pub/kde/ Mirror-master: http://distfiles.opendarwin.org/ Mirror-rsync: rsync://master.us.finkmirrors.net/finkinfo/ Mirror-sourceforge: http://west.dl.sourceforge.net/sourceforge/ MirrorContinent: nam MirrorCountry: nam-us MirrorOrder: MasterFirst ProxyPassiveFTP: true Verbose: 1 SelfUpdateMethod: cvs [SelfUpdateMethod is cvs because I've tried both rsync (first) and cvs, to see if that helped 'find' the zsh package... I will change it back, per your recommendation.] And thanks, once again for all your help. I shall try to remember that this is like learning lithuanian... John-o P.S. I hope my delays in responding are not too annoying. If it would be better for you if we could do this while we're both at the Terminal at the same time, let me know what is a good time period for you. I'm in the Mountain time zone in the US. I think it's GMT -7 now that Daylight S(l)avings Time is over for this year... Do let me know how I can make this process as painless as possible for you! |
rsync vs cvs...
I just ran 'fink selfupdate-rsync' to change the default back to rsync. The result reminded me why I had tried cvs:
Use of uninitialized value in concatenation (.) or string at /sw/lib/perl5/Fink/SelfUpdate.pm line 528. Use of uninitialized value in concatenation (.) or string at /sw/lib/perl5/Fink/SelfUpdate.pm line 531. I will now run the rsync command to retrieve the latest package descriptions. Use of uninitialized value in substitution (s///) at /sw/lib/perl5/Fink/SelfUpdate.pm line 546. Use of uninitialized value in substitution (s///) at /sw/lib/perl5/Fink/SelfUpdate.pm line 546. Warning: unstable/main exists in fink.conf, but is not on rsync server. Skipping. Warning: unstable/crypto exists in fink.conf, but is not on rsync server. Skipping. Warning: stable/main exists in fink.conf, but is not on rsync server. Skipping. Warning: stable/crypto exists in fink.conf, but is not on rsync server. Skipping. find . -name CVS | xargs rm -rf rsync -az -q rsync://master.us.finkmirrors.net/finkinfo//VERSION /sw/fink/VERSION touch stamp-rsync-live && rm -f stamp-cvs-live Reading package info... Updating package index... done. Information about 1401 packages read in 17 seconds. No packages to install. The part where it says that 'unstable/main' and 'unstable/crypto' aren't "on rsync server" made me scratch my head... Awaiting your response [but not until later this afternoon my time], John-o |
Well, line 528-531 look like this:
Code:
527 # If the Distributions line has been updated...Code:
# Fink configuration, initially created by bootstrap.plAs well my Distribution: 10.3 line has no local/bootstrap bit. But I have moved on from the 'bootstrap stage, but it looks like your conf file is messed up. I was going to suggest some editting here, but since this could be tied in with the bootstrap stuff I will resist. Sao probably knows what it does (or what it is supposed to do), and can advise when he comes back online. |
jiclark,
From man fink.conf : Code:
local/bootstrap - packages used in the installation of finkAnd the default folder for FetchAltDir is /sw/src. Did you changed this yourself (to /Downloa) ? Also, it seems you don't have installed fink's rsync package. Please, run: 'fink install rsync' You need the fink rsync package (/sw/bin/rsync) for the rsync update method to work. And after, set-up the 'SelfUpdateMethod: rsync' in your /sw/etc/fink.conf Then run: 'fink selfupdate' PS: It's ok, no pain here...:) |
Quote:
|
Well, 'fink.conf' is fixed (I think)...
Here's the content of my fink.conf file now:
# Fink configuration, initially created by bootstrap.pl Basepath: /sw RootMethod: sudo Trees: local/main unstable/main unstable/crypto stable/main stable/crypto local/bootstrap Distribution: 10.3 FetchAltDir: /sw/src Mirror-cpan: ftp://ftp.funet.fi/pub/languages/perl/CPAN/ Mirror-ctan: ftp://tug.ctan.org/tex-archive/ Mirror-debian: ftp.debian.org Mirror-gimp: ftp://ftp.gimp.org/pub Mirror-gnome: ftp://ftp.gnome.org/pub/GNOME/ Mirror-gnu: ftp://ftp.gnu.org/gnu Mirror-kde: ftp://ftp.kde.org/pub/kde/ Mirror-master: http://distfiles.opendarwin.org/ Mirror-rsync: rsync://master.us.finkmirrors.net/finkinfo/ Mirror-sourceforge: http://west.dl.sourceforge.net/sourceforge/ MirrorContinent: nam MirrorCountry: nam-us MirrorOrder: MasterFirst ProxyPassiveFTP: true Verbose: 1 SelfUpdateMethod: rsync Look good? Now what? I've run 'selfupdate-rsync' and 'fink index'. It seems to find more stuff, but when I run 'fink install zsh', I get "Failed: no package found for specification 'zsh'!"... |
jiclark,
Install fink package rsync. Then, just edit with the pico editor the file /sw/etc/fink.conf as I explained to you in a post above, making sure that local/bootstrap is in the same line as the "Trees: line" and if you want to use the default /sw/src, you can just delete the line "FetchAltDir: /downloa" Here is my fink.conf file, edit it to look the same if you want: Code:
# Fink configuration, initially created by bootstrap.pl'fink selfupdate' |
sao,
See above. I've done all of those things. It's still not working... |
I was a bit late with my post. Ok, your /sw/etc/fink.conf looks good.
Try again just: 'fink selfupdate' |
Quote:
And, still, no zsh! Am I entering that command correctly? 'fink install zsh' ? |
jiclark,
You are right, it seems the zsh package is not there yet in the 10.3 tree. I installed it before updating to 10.3. Sorry for the long exercise. Well, you can use bash for the moment or go back to tcsh, as you wish. But your set up now will give you a bigger selection of packages to install and remember the rsync method is updated hourly, so the fink developers keep uploading packages constantly. The zsh package will follow soon, I hope. Happy finking....:) |
I just added the unstable stuff and selfupdated to see if it was there myself, and came to the same conclusion, that it is not...
Gee, thats a bit anti-climactic isn't it.... :) Ahh well, as Sao says, it will be there eventually and at least you have it working now. |
You're kidding, right???
;)
Oh, well; educational nonetheless, I guess... So why can't I just change to zsh right now? I won't be able to use fink from zsh if I don't install it from fink?!?! I can get into zsh right now, can't I? [All very confusing, as I said before...] BTW, Why is it that fink only works from within tcsh (for me)? Bash gives me 'command not found' when I enter 'fink'. I really need to wait until zsh is available through fink, in order to fully switch to zsh and be productive with it? [You can tell I'm confused about this.] Also, how do I make the hint from this morning about sending man pages to Preview work for me in zsh (once I've got it up and working like it's supposed to)? Thanks again!! John-o |
Re: You're kidding, right???
Quote:
Quote:
Code:
. /sw/bin/init.shQuote:
Quote:
Code:
#!/bin/shCode:
#!/bin/sh |
So Douglas...
...can you tell me why sao is having me go through such hoops to install zsh through fink??? What advantage will that give me?
Thanks for your interest, and help! John-o |
| All times are GMT -5. The time now is 10:43 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.