Install Bibledit on Mac OSX 10.4 Intel

These instructions assume Bibledit is being installed on a standard installation of OSX. Because Bibledit needs more than that, these instructions also explain how to install the additional libraries and tools that Bibledit depends on.

If you know that your system already has some of these components installed, you may skip those steps.

X11

X11 is on the installation DVD that came with your OSX software. This DVD is marked "Mac OS X Install Disc 1". Insert this DVD into the drive. A window will open on the screen. In this window, double-click "Xcode Tools". A new window opens, and here double-click "Packages". Another window opens again, and here double-click "X11SDK.pkg". The installer will open, and follow the instructions on the screen to install it. In the same way, install Mac OS X Install Disc 1 / System / Installation / Packages / X11User.pkg.

Xcode Tools

Using the same DVD that was inserted above, double-click "Xcode Tools". A new window opens. Here double-click "XcodeTools.mpkg". Go through the whole installation procedure and let it finish.

X11 terminal

Click the left icon at the bottom, called Finder. Click Applications. At the right side, scroll down and double-click Utilities. Scroll down again, and double-click X11. The terminal, called xterm, will open.

Update the search path, so that programs, still to be installed, can be found. In the terminal, type

cd

and then type

echo export PATH=$PATH:/opt/local/bin >> .bashrc

Now close the X11 terminal through menu X11 - Quit X11.

Then start a new X11 terminal.

MacPorts

MacPorts is available from http://www.macports.org. Follow the instructions on the site to install MacPorts. If through, continue with the next steps.

Dependencies

To install Gtk2, in the terminal type

sudo port install gtk2

and provide the password when asked. Gtk2 takes a long time to install. In case of errors, view the possible solutions.

To install Sqlite3, in the terminal type

sudo port install sqlite3

and provide the password if asked. It takes a while to install.

To install popt, in the terminal type

sudo port install popt

and provide the password if asked. It takes a good while to install.

To install libgtkhtml312, in the terminal type

sudo port install libgtkhtml312

and provide the password if asked. It takes a good while to install.

To install Git, in the terminal type

sudo port install git-core

and provide the password if asked. It takes a good while to install.

If any problems arise in this section, help can be found at www.macports.org.

Bibledit

Download package bibledit-x.x.tar.gz (x.x is to be replaced with the actual version number).

Move it to the home directory.

In the terminal, to verify the package is there, type

ls

To unpack bibledit type

tar zxf bibledit-x.x.tar.gz

To enter the newly created directory, type

cd bibledit-x.x

To configure bibledit, type

./configure --prefix=/opt/local

Watch many messages, but no errors.

To compile bibledit, type

make

Watch many messages, but no errors.

To install it, type

sudo make install

Watch many messages, but no errors.

To go back to the home directory, type

cd

Run

To run Bibledit, do the following every time you use it:

Open an X11 terminal. Be sure this is not a normal Terminal, but X11.

Start bibledit: Type

bibledit

If you do not start Bibledit this way, it will run with errors, and it will not be fully functional.

XEP

Install XEP.

Tip

You can create an Applescript that will open X11 and BIbledit 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"

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.