Differences between revisions 2 and 3
Revision 2 as of 2007-06-18 15:34:27
Size: 811
Editor: anonymous
Comment:
Revision 3 as of 2007-06-18 15:41:05
Size: 1397
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:

'''Hints tips & troubleshooting'''

* You can get a useful list of options for the configure stage by typing
  ''./configure --help''
* If your software fails to build look at your error messages.
   The most common problem will be that another piece of software needs to be installed (referred to as a ''dependency''). You may need to put the missing filename into a search engine such as google to find what it is you need & download & install that to proceed. A good read of the software's website or documents beforehand can often advise you of dependencies in advance.

Compiling software from source - a rough & ready guide

Preliminaries

1) Obtain the source code for the application you need. It will be in compressed format so the next step is

2) Unzip it. Navigate to the folder and read any documentation that may help you. It may save you a lot of time!

Build your software

Though there are are different systems for building software (scons springs to mind) the most common method is as follows. Open a terminal and navigate to the folder containg the source code. Run the following commands:

  • ./configure

    make

    make install (this last command must be run as root).

If you complete these steps your software should be installed & ready to use. If you need to remove it just use:

  • make uninstall

Hints tips & troubleshooting

* You can get a useful list of options for the configure stage by typing

  • ./configure --help

* If your software fails to build look at your error messages.

  • The most common problem will be that another piece of software needs to be installed (referred to as a dependency). You may need to put the missing filename into a search engine such as google to find what it is you need & download & install that to proceed. A good read of the software's website or documents beforehand can often advise you of dependencies in advance.

Compiling (last edited 2011-08-09 03:21:13 by 0v0x)