Compiling Under MacOS X
Compiling the latest snapshots under Mac OS X
The following steps apply to:
- MacOS 10.2.8 and higher
- Fink 0.15.0 and higher
- Fink rsync (recommanded) or Fink cvs
- either gcc 3.1 or gcc 3.3
Steps to perform:
1. Download the tarball from , section Development Snapshots.
2. Don't let ~StuffItExpander expand it.
3. Copy it to /sw/src::
Open the Terminal
sudo cp(don't forget a space after cp)
Drag the new downloaded file to the terminal
/sw/src(don't forget a space before /sw)
Enter your password at the prompt
4. Check you gcc version with::
5. Copy Fink's bluefish.info and Fink's bluefish.patch files to your local tree with::
First create a local tree if it does not exist:
mkdir -p /sw/fink/10.2/local/main/finkinfo/
or (you're on Panther):
mkdir -p /sw/fink/10.3/local/main/finkinfo/
If you use gcc 3.1:
sudo cp /sw/fink/10.2/unstable/main/finkinfo/editors/bluefish.* /sw/fink/10.2/local/main/finkinfo/
If you use gcc 3.3 (be aware not to split the line):
sudo cp /sw/fink/10.2-gcc3.3/unstable/main/finkinfo/editors/bluefish.* /sw/fink/10.2/local/main/finkinfo/
If you have only a 10.3 tree (you're on Panther):
sudo cp /sw/fink/10.3/unstable/main/finkinfo/editors/bluefish.* /sw/fink/10.3/local/main/finkinfo/
6. Compute the MD5 checksum for the snapshot with::
7. Edit the info file with::
sudo pico /sw/fink/10.2/local/main/finkinfo/bluefish.info
or (you're on Panther):
sudo pico /sw/fink/10.3/local/main/finkinfo/bluefish.info
1 - Change the Version: line to match the date in the tarball's name, i.e. if the name of the tarball is bluefish-2003-10-16.tar.bz2, change it to:
2 - Change the Source-MD5: line to have the new computed MD5 checksum.
3 - Check if you have a ~SourceDirectory line:
If you have one, change it to:
If you don't have one, add a new line just after the Source-MD5 line, and type:
8. Edit the patch info file with::
sudo pico /sw/fink/10.2/local/main/finkinfo/bluefish.patch
sudo pico /sw/fink/10.3/local/main/finkinfo/bluefish.patch
Change the first two lines to have the date of the tarball's name in them, i.e. if the name of the tarball is bluefish-2003-10-16.tar.bz2, change them to:
9. Check you Fink configuration with::
The Trees: line should match the following:
Trees: local/main unstable/main unstable/crypto stable/main stable/crypto local/bootstrap
If this is not the case, open the file with:
sudo pico /sw/etc/fink.conf
and change the line accordingly.
9bis. (Only for bluefish version < 0.12) Remove any gnome-vfs2-ssl librairies as long as their versions are lower than 2.2::
Check the version with:
fink list -t -i gnome
Remove the offending librairies (if any) with:
fink remove gnome-vfs2-ssl gnome-vfs2-ssl-dev gnome-vfs2-ssl-shlibs
For version < 0.13:
fink install bluefishif this is the first time you install bluefish.
fink update bluefishif you already have bluefish installed.
For version >= 0.13:
fink install bluefish-gnome2if this is the first time you install bluefish and you have GNOME2 installed.
fink update bluefish-gnome2if you already have bluefish and GNOME2 installed.
fink install bluefishif this is the first time you install bluefish and you did not install GNOME2.
fink update bluefishif you already have bluefish installed and you did not install GNOME2.