[Update:] You probably don't need to follow these instructions anymore, just make sure you're bootstrapping from 0.16.0 or the fink 0.6.0 full tarball, and immediately do a "fink selfupdate-rsync" (or equivalent) afterwards to get the proper tree and bugfixes.
Regardless, these instructions should still work, there's just nothing special about them anymore, there are official releases that should get you going on Panther. The note about not using the bindist is still true though, please make sure you only use 'fink' to install packages for now, there is no binary distribution!
That's enough update warnings, on with the post:
As of today, we've started populating the 10.3 tree properly, so here is an update to the previous instructions on my blog last week.
-
set your compiler to 3.3 if it's not already, by running "sudo gcc_select 3.3" (parts of the bootstrap fail with gcc 3.1 on panther)
-
download the latest Fink beta from the fink project page
-
if you have a system already running Fink, run "perl inject.pl", otherwise, run "sh ./bootstrap.sh"; this will set you up to use the 10.3 tree as your base
-
get the latest package descriptions:
-
source /sw/bin/init.sh
-
fink selfupdate (if it asks, rsync is the suggested method)
-
fink index
-
Now you should be ready to go! Try to install things, and let us know if you run into any issues.
Remember, you should not use apt-get or dselect for installing things. The only bindist we have currently is for 10.2, and some of those binaries will not work on panther. Many of them will break as soon as you start mixing and matching things you've built on panther and things you've gotten from 10.2.
It is incredibly unlikely that a 10.3 bindist will be ready by the time of the panther release, but the source tree will definitely be there (and plans are to at least have a 10.2-gcc3.3 tree ready, which should generally be binary compatible with 10.3). It's coming, but be patient, we don't know when we'll be ready for a 10.3 bindist. In the meantime, use "fink install" to install packages.
Share on Facebook
after running sh ./bootstrap.sh (which generated a BUNCH of errors btw) I type source /sw/bin/init.sh and get the error:
-bash: alias: append_path: not found
-bash: alias: if ( $\!:1 !~ \!:2\:* && $\!:1 !~ *\:\!:2\:* && $\!:1 !~ *\:\!:2 && $\!:1 !~ \!:2 ) setenv \!:1 ${\!:1}\:\!:2: not found
-bash: alias: prepend_path: not found
-bash: alias: if ( $\!:1 !~ \!:2\:* && $\!:1 !~ *\:\!:2\:* && $\!:1 !~ *\:\!:2 && $\!:1 !~ \!:2 ) setenv \!:1 \!:2\:${\!:1}; if ( $\!:1 !~ \!:2\:* ) setenv \!:1 \!:2`echo \:${\!:1} | /usr/bin/sed -e s%^\!:2\:%% -e s%:\!:2\:%:%g -e s%:\!:2\$%%`: not found
-bash: /sw/bin/init.csh: line 80: syntax error near unexpected token `(‘
-bash: /sw/bin/init.csh: line 80: ` foreach i ( /sw/etc/profile.d/*.csh )’
i switch to csh (from bash), type source /sw/bin/init.sh and get
csh: Badly placed ()’s.
and that’s about it… I get no further (B75, iBook 600)
Uhhh, if you’re using bash, you use init.sh, if you’re using csh, use init.csh. Not the other way around. You got them switched around both times. 😉
erm, can you delete that post. seems i spoke before i did anything reasonable. it all was due to a copy paste that went bad:)
but alright: another comment (perhaps this is not the right forum)
user% dselect
dyld: dselect version mismatch for library: /sw/lib/libncurses.5.dylib (compatibility version of user: 6.0.0 greater than library’s version: 5.0.0)
There was a brief time when an ncurses was in the 10.3 tree that broke binary compat with previous stuff, you’ll need to selfupdate again and you should get a fixed libncurses (if you can).
Also, not much point in using dselect unless you’re browsing binaries you’ve already made, dselect is for downloading from the bindist, and there’s no 10.3 bindist. Using dselect to get packages will likely cause problems for you.
“fink install” for now.
thanks for your help!!! is there an estimated date when there will be some sort of binary distribution for 10.3?
fink under 10.3 seems to be working just dandy. nmapfe quit when run, though.
and what is this? why do xinvaders want to install passwd?
[what would be the correct forum for a layman such as I to post stupid comments, by the by?]
sudo /sw/bin/fink install xinvaders
Information about 1099 packages read in 1 seconds.
The following package will be installed or updated:
xinvaders
The following additional package will be installed:
passwd
Do you want to continue? [Y/n] n
Fink Panther
Panther is out with X11, but they forgot to X-enable the emacs. Follow the instructions at Tales of the Racoon Fink to get yourself a working emacs….
sudo /sw/bin/fink selfupdate
Password:
I will now run the rsync command to retrieve the latest package descriptions.
Updating stable/main
su quik -c “rsync -az –delete-after -q ‘rsync://master.us.finkmirrors.net/finkinfo/10.3/stable/main/finkinfo’ ‘/sw/fink/10.3/stable/main/'”
Updating stable/crypto
su quik -c “rsync -az –delete-after -q ‘rsync://master.us.finkmirrors.net/finkinfo/10.3/stable/crypto/finkinfo’ ‘/sw/fink/10.3/stable/crypto/'”
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
Information about 205 packages read in 3 seconds.
WARNING: While resolving dependency “fink-prebinding” for package “libiconv-1.9.1-11”, package “fink-prebinding” was not found.
Failed: Can’t resolve dependency “fink-prebinding” for package “libiconv-1.9.1-11” (no matching packages/versions found)
sudo /sw/bin/fink selfupdate
Password:
I will now run the rsync command to retrieve the latest package descriptions.
Updating stable/main
su quik -c “rsync -az –delete-after -q ‘rsync://master.us.finkmirrors.net/finkinfo/10.3/stable/main/finkinfo’ ‘/sw/fink/10.3/stable/main/'”
Updating stable/crypto
su quik -c “rsync -az –delete-after -q ‘rsync://master.us.finkmirrors.net/finkinfo/10.3/stable/crypto/finkinfo’ ‘/sw/fink/10.3/stable/crypto/'”
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
Information about 205 packages read in 3 seconds.
WARNING: While resolving dependency “fink-prebinding” for package “libiconv-1.9.1-11”, package “fink-prebinding” was not found.
Failed: Can’t resolve dependency “fink-prebinding” for package “libiconv-1.9.1-11” (no matching packages/versions found)
sudo /sw/bin/fink selfupdate
Password:
I will now run the rsync command to retrieve the latest package descriptions.
Updating stable/main
su quik -c “rsync -az –delete-after -q ‘rsync://master.us.finkmirrors.net/finkinfo/10.3/stable/main/finkinfo’ ‘/sw/fink/10.3/stable/main/'”
Updating stable/crypto
su quik -c “rsync -az –delete-after -q ‘rsync://master.us.finkmirrors.net/finkinfo/10.3/stable/crypto/finkinfo’ ‘/sw/fink/10.3/stable/crypto/'”
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
Information about 205 packages read in 3 seconds.
WARNING: While resolving dependency “fink-prebinding” for package “libiconv-1.9.1-11”, package “fink-prebinding” was not found.
Failed: Can’t resolve dependency “fink-prebinding” for package “libiconv-1.9.1-11” (no matching packages/versions found)
One weird thing is going on with the dependencies. I have the Panther X11 stuff installed, and fink lists system-xfree86 as installed, but most everythig I try to build/install (specifically I’m trying to get TeX running) demands I install xfree86 as a dependency.
Shouldn’t it just see the system placeholder and move on without asking for X11 stuff to be built?
One weird thing is going on with the dependencies. I have the Panther X11 stuff installed, and fink lists system-xfree86 as installed, but most everythig I try to build/install (specifically I’m trying to get TeX running) demands I install xfree86 as a dependency.
Shouldn’t it just see the system placeholder and move on without asking for X11 stuff to be built?
Do you have XCode installed? I believe XCode installs the X11 SDK with it. If you don’t have the SDK, X11 apps will bork and complain when you try to compile them.
I’ve tried the steps above, but fink selfupdate fails. Here’s the last few lines if I run it again:
Information about 1103 packages read in 1 seconds.
The following 13 packages will be installed or updated:
apt apt-shlibs bzip2 bzip2-dev bzip2-shlibs debianutils dpkg gettext
gettext-bin gettext-dev libiconv libiconv-bin libiconv-dev
The following additional package will be installed:
fink-prebinding
Do you want to continue? [Y/n]
Failed: Problem resolving dependencies. Check for circular dependencies.
The circular dependency problem is a bug in fink (the program) itself, but can supposedly be worked around by installing each package manually until they all get upgrade. Try something like this (in bash):
for package in apt apt-shlibs bzip2 bzip2-dev bzip2-shlibs debianutils dpkg gettext gettext-bin gettext-dev libiconv libiconv-bin libiconv-dev; do fink -y install $package; done
…run that a couple times until everything’s updated.
I’m going to look into the dep engine and see if I can figure out where this is happening, but it’s gonna be a bitch and a half to debug.
Thank you for the shell script there RangerRick, but my experience with it is that the only package it will get (after running through it about five times) is dpkg. This is a nasty little bug indeed. Here’s a list the of inter-dependencies, from what I can tell:
bzip2-shlibs requires: fink-prebinding libiconv libiconv-bin
fink-prebinding requires: bzip2-shlibs libiconv libiconv-bin
libiconv requires: bzip2-shlibs fink-prebinding libiconv-bin
libiconv-bin requires: bzip2-shlibs fink-prebinding libiconv
libiconv-dev requires: bzip2-shlibs fink-prebinding libiconv libiconv-bin
apt requires: apt-shlibs bzip2-shlibs fink-prebinding libiconv libiconv-bin
apt-shlibs requires: bzip2-shlibs fink-prebinding libiconv libiconv-bin
bzip2 requires: bzip2-shlibs fink-prebinding libiconv libiconv-bin
bzip2-dev requires: bzip2-shlibs fink-prebinding libiconv libiconv-bin
bzip2-shlibs requires: fink-prebinding libiconv libiconv-bin
debianutils requires: bzip2-shlibs fink-prebinding libiconv libiconv-bin
gettext requires: bzip2-shlibs fink-prebinding libiconv libiconv-bin libiconv-dev
gettext-bin requires: bzip2-shlibs fink-prebinding gettext libiconv libiconv-bin libiconv-dev requires: gettext-dev
bzip2-shlibs fink-prebinding gettext libiconv libiconv-bin libiconv-dev
libiconv requires: bzip2-shlibs fink-prebinding libiconv-bin
libiconv-bin requires: bzip2-shlibs fink-prebinding libiconv
libiconv-dev requires: bzip2-shlibs fink-prebinding libiconv libiconv-bin
I’ve got problems with gtk+2 unstable.. got errors when running programms :
(gcaratk:4766): Gtk-CRITICAL **: file gtktogglebutton.c: line 313 (gtk_toggle_button_set_active): assertion `GTK_IS_TOGGLE_BUTTON (toggle_button)’ failed
Segmentation fault
Sorry to be a pest, but I’m going to restate my question because I think its quite pertinent. I’ve followed the instructions and rebuilt fink about five time now. Everything progresses without a hitch, but whenever I try to build “tetex” even when I ask for the “nox” version it always demands I build xfree86 as a dependency. And I already have the Panther version of X11 installed! Here’s an example:
# fink install tetex-nox
Information about 1103 packages read in 2 seconds.
fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:
(1) ghostscript-nox: Interpreter for PostScript and PDF
(2) ghostscript6-nox: Intrp. for PostScript/PDF, v6.01, no X11 support
(3) system-ghostscript: Placeholder package for manually installed ghostscript
Pick one: [1] 1
fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:
(1) ghostscript-fonts: Standard fonts for Ghostscript
(2) system-ghostscript: Placeholder package for manually installed ghostscript
(3) system-ghostscript6: Placeholder package for manually installed ghostscript 6.01
Pick one: [1] 1
fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:
(1) xfree86-base-threaded: XFree86 libraries, utilities, clients and data
(2) xfree86-base: XFree86 libraries, utilities, clients and data
(3) xfree86: XFree86 distribution
Pick one: [1]
Now if you tell me this is a placeholder and it wont actually try to download and build conflicting X11 libraries I might believe you (although I though that’s what “system-xfree86” is for, which does register as installed by the way.
Any idea what’s going on?
Murray
Murray, the problem is that you need to install the X11 SDK from the XCode CD. It’s not installed by default, so you are missing the X11 headers, so fink tries to build them.
It’s in the FAQ here.
Color me daft.
Yes, that was it. It didn’t sink in that including the optional X11 installaton with the primary Panther install would end up excluding a number of goodies on the Xtools CD. Or more specifically, I’m willing to bet I didn’t even notice the little “Options” button on the installer screen that let me select the other packages. (And ooh! JBoss is included. Coolness!)
Anyway, the behavior is as appropriate. I’m going to put a big glowing announcement in my own blog in case people are searching for the same problem. Thanks!
Hello,
I am trying to install Gnome on Panther. Have Dev Tools and SDK installed, etc. I’ve been able to build pretty much everything, Mozilla, Evolution, most of Gnome, but I get compile errors with control-center2 as seen here:
lib/libpangoft2-1.0.0.dylib(libpangoft2-1.0.0.200.1.dylib-master.o)
symbol _locale_charset used from dynamic library /sw/lib/libiconv.dylib(localcharset.o) not from earlier dynamic library /sw/lib/libintl.1.dylib(localcharset.lo)
make[2]: *** [gnome-settings-daemon] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
### execution of make failed, exit code 2
Failed: compiling control-center-2.0.3-2 failed
My Gnome session actually runs, but I get a gnome-settings-daemon everytime it starts, which I found was because the control-center was not installed.
Any help would be greatly appreciated, and if I’m missing something simple I apologize in advance, I did search for this stuff.
Thanks,
Bradley
Do you have unstable installed? I know the deps are a bit cleaned up in unstable.
There are also gnome 2.4 packages coming down the pipeline that should be available in the next few days, if you’re willing to wait.
Not Too Much Fun With Panther
Bootstrapping Fink went smooth, but took more than four hours on my 600 MHz G3 iBook that was busy rsyncing some stuff into my home dir. That machine is too slow to compile everything myself, so I want to rely on binary packages. I guess I should ha
ah 2.4.. then I shall wait. Thanks for the info, and yea I do have unstable installed.
I found the article and comments quite helpful. In particular, I had not installed the X11 SDK; now Fink is chugging away on some packages that refused to upgrade earlier, and when they are done I’m feeling pretty confident about finally getting teTeX to go through… And if it’s still stubborn, I’ll come back here first. Thanks for the help!!
Zach
My fink installation only knows about 1400 packages instead of the 2981 packages listed on fink.sourceforge.net
I have added the unstable sections to my Trees in /sw/etc/fink.conf (see below). There are some packages missing that I need to install, any suggestions would be appreciated.
# 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
Mirror-cpan: ftp://ftp.funet.fi/pub/languages/perl/CPAN/
Mirror-ctan: ftp://tug.ctan.org/tex-archive/
Mirror-debian: http://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
My fink installation only knows about 1400 packages instead of the 2981 packages listed on fink.sourceforge.net
I have added the unstable sections to my Trees in /sw/etc/fink.conf (see below). There are some packages missing that I need to install, any suggestions would be appreciated.
# 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
Mirror-cpan: ftp://ftp.funet.fi/pub/languages/perl/CPAN/
Mirror-ctan: ftp://tug.ctan.org/tex-archive/
Mirror-debian: http://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
My fink installation only knows about 1400 packages instead of the 2981 packages listed on fink.sourceforge.net
I have added the unstable sections to my Trees in /sw/etc/fink.conf (see below). There are some packages missing that I need to install, any suggestions would be appreciated.
# 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
Mirror-cpan: ftp://ftp.funet.fi/pub/languages/perl/CPAN/
Mirror-ctan: ftp://tug.ctan.org/tex-archive/
Mirror-debian: http://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
My fink installation only knows about 1400 packages instead of the 2981 packages listed on fink.sourceforge.net
I have added the unstable sections to my Trees in /sw/etc/fink.conf (see below). Some of the packages that are missing are ones that I need to install, any suggestions would be appreciated.
# 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
Mirror-cpan: ftp://ftp.funet.fi/pub/languages/perl/CPAN/
Mirror-ctan: ftp://tug.ctan.org/tex-archive/
Mirror-debian: http://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
Sorry for the multiple posts, Safari was giving me an error on your site saying that the post did not go through.
As has been mentioned many times, in many places, not all packages have been moved to 10.3 yet. =)
Very likely something you’re looking for hasn’t been moved yet. All of stable is moved, and some of unstable. We’re working on it.
Thank you for the response, however, the packages I want to install (gnuplot, octave, and nedit) are all listed in stable in fink.sf.net, but I do not see them when I run fink list from the command line. Since you’ve said that all of stable is moved, I am wondering if this is a problem with my set up, or if I am misunderstanding what I read in the packages section of fink.sf.net
-Jim
I had thought all of stable was moved, but it looks like there are some exceptions. Those are not there yet.
/Applications/GoLive_Preconfigured_Servers/restartWelcome to Darwin!
G4:~ apgrant$ /Applications/GoLive_Preconfigured_Servers/restart_all.command; exit
./apachectl stop: httpd (no pid file) not running
Guessing TOMCAT_HOME from tomcat.sh to ./..
Setting TOMCAT_HOME to ./..
Using classpath: ./../lib/xalan.jar:./../lib/xerces.jar:./../lib/README.GoLive:./../lib/ant.jar:./../lib/jasper.jar:./../lib/jaxp.jar:./../lib/mmmysql.jar:./../lib/parser.jar:./../lib/servlet.jar:./../lib/test:./../lib/webserver.jar:./../lib/xalan.jar:./../lib/xerces.jar
dyld: /usr/bin/../bin/java version mismatch for library: /Applications/GoLive_Preconfigured_Servers/php_server/lib/libiconv.2.dylib (compatibility version of user: 5.0.0 greater than library’s version: 3.0.0)
./tomcat.sh: line 185: 461 Trace/BPT trap $JAVACMD $TOMCAT_OPTS -Dtomcat.home=${TOMCAT_HOME} org.apache.tomcat.startup.Tomcat -stop “$@”
Guessing TOMCAT_HOME from tomcat.sh to ./..
Setting TOMCAT_HOME to ./..
Using classpath: ./../lib/xalan.jar:./../lib/xerces.jar:./../lib/README.GoLive:./../lib/ant.jar:./../lib/jasper.jar:./../lib/jaxp.jar:./../lib/mmmysql.jar:./../lib/parser.jar:./../lib/servlet.jar:./../lib/test:./../lib/webserver.jar:./../lib/xalan.jar:./../lib/xerces.jar
dyld: /usr/bin/../bin/java version mismatch for library: /Applications/GoLive_Preconfigured_Servers/php_server/lib/libiconv.2.dylib (compatibility version of user: 5.0.0 greater than library’s version: 3.0.0)
Tomcat did not create the apache conf include file /Applications/GoLive_Preconfigured_Servers/jsp_server/tomcat/conf/mod_jk.conf-auto.
Apache startup will fail.
fopen: No such file or directory
httpd: could not open document config file /Applications/GoLive_Preconfigured_Servers/jsp_server/tomcat/conf/mod_jk.conf-auto
./apachectl start: httpd could not be started
logout
[Process completed]
=========
Can anyone please tell me what this means? More to the point, what should I do about it?
I am trying to set up the dynamic content server for Adobe GoLive. Running Mac OS X 10.3.2 “Panther” on a PowerBook G4 Titanium.
Here is a link to the protocol that I followed:
http://www.golivein24.com/tips/
Scroll down to “GoLive 6 Tutorials.” Click on link #4 – “Installing the GoLive Preconfigured Servers on Mac OS X 10.2.”
Thanks in advance. (Replies by e-mail would be most appreciated.)
Andy
Can somebody help me?
I am trying to install fink but can’t selfupdate. Whenever I try, I get:
Basepath not set in config file “/sw/etc/fink.conf”!
My basepath is set to /sw in fink.conf, so I don’t understand where I am going wrong. I have enabeled unstable packages according to the fink website because I will need them for another program once fink is up and running. I have tried uninstalling and reinstalling fink several times with no luck.
Please respond!