Bibledit-Gtk 4.8 on Mac OS X 10.6 and 10.7
Notes about how to install Bibledit-Gtk on OS X.
Install Xcode
10.6 Snow Leopard: Insert the Mac OS X Install DVD, go to folder "Optional Installs", and install "Xcode".
10.7 Lion: Go to https://developer.apple.com/downloads, download "Xcode", and install it. Open Launchpad and run "Install Xcode". Also download and install "Command Line Tools for Xcode".
Note: Instead of installing Xcode, you can also install XQuartz.
Terminal
Open the "Applications" folder in Finder. Scroll down and click "Utilities". Click Terminal. The terminal will open.
Update the search path. In the terminal, type:
echo export PATH=$PATH:/opt/local/bin >> .bashrc
Reboot the computer for the updated search path to take effect.
MacPorts
MacPorts is available from http://www.macports.org. Follow the instructions on the site to install MacPorts.
Update MacPorts: In the Terminal, type:
sudo port selfupdate
Bibledit
The easiest way is to just install it with MacPorts: sudo port uninstall --follow-dependencies bibleditsudo port clean --all bibleditsudo port install bibleditIn a few cases a crash was reported in Bibledit-Gtk when installed from MacPorts. This is how to fix it:sudo port clean --all bibleditInstall Bibledit-Gtk from source, see Install Bibledit.
Run
To run Bibledit, do the following every time you use it:
Open a Terminal.
Start bibledit: Type
bibledit-gtk
Notes
-
You can create an Applescript that will open X11 and BIbledit-Gtk in one operation from within Finder. This will give you an easy way to start Bibledit in one click. In Finder, click Applications, then double-click AppleScript and then double-click Script Editor. In Script Editor type:
do shell script "/usr/bin/open-x11 /opt/local/bin/bibledit-gtk"
Then click the Compile button, and in the menu click File, then Save. Call it Bibledit, and save it in Applications, and set the file format to "Application". Then save it. -
When a port fails to install you may need to clean all traces of it and try again. So for example when installing bibledit fails on the dependency gdk-pixbuf2, do this:
sudo port clean --all gdk-pixbuf2
sudo port install gdk-pixbuf2 (the port installed successfully this time)
sudo port install bibledit (continue with the normal install procedure) - You want to have keyboard input in other languages? You can use the input from the regular Mac keyboard. The fix is easy. Under X11 -> Preferences..., select the Input tab and check "Follow System Keyboard Layout." That allows you to write in other languages through the regular Mac keyboard.
- If errors occur during macport installing dependencies, try adding the -d flag to the command, and re-run the port command. It will then display more information. In order to fix the errors, it is usually sufficient to read the instructions that port displays well, and carry them out, and then try installing again.