Home > Uncategorized > Built From Source

Built From Source

The purpose of the Build from Source lab is to become familiar with the building from source process and to create a basis on which the subsequent labs will build upon.

The two pieces of software I have chosen to work with are:

Spell and GNUmp3d

Here’s a snippet of the downloaded tarballs:

[nick@localhost tarBalls]$ ls
gnump3d-3.0.tar.gz  spell-1.1.tar.gz

Here are the unpackaged( using tar -zxf) tarballs:

[nick@localhost tarBalls]$ tar zxf gnump3d-3.0.tar.gz
[nick@localhost tarBalls]$ tar zxf spell-1.1.tar.gz
[nick@localhost tarBalls]$ ls
gnump3d-3.0  gnump3d-3.0.tar.gz  spell-1.1  spell-1.1.tar.gz

After unpacking the tarballs, I then decended into the newly created subdirectories(1 for each application) and installed each program.

GNUmp3d only requires a working Perl installation therefore I didn’t need to run ./configure in order to configure the installation for my system.

Spell on the other hand needed to be configured:

[root@localhost spell-1.1]# ./configure
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o

After configuration just a simple ‘make && make install’ to complete the installation of each program.

Here are the two programs run with the help options:

[root@localhost spell-1.1]# spell -h
Usage: spell [OPTION]… [FILE]…
This is GNU Spell, a Unix spell emulator.

-I, –ispell-version        Print Ispell’s version.
-V, –version            Print the version number.
-b, –british            Use the British dictionary.
-d, –dictionary=FILE        Use FILE to look up words.
-h, –help            Print a summary of the options.
-i, –ispell=PROGRAM        Calls PROGRAM as Ispell.
-l, –all-chains        Ignored; for compatibility.
-n, –number            Print line numbers before lines.
-o, –print-file-name        Print file names before lines.
-s, –stop-list=FILE        Ignored; for compatibility.
-v, –verbose            Print words not literally found.
-x, –print-stems        Ignored; for compatibility.

Please use Info to read more (type `info spell’).
Report bugs to: cate@gnu.org
spell home page: <http://www.gnu.org/software/spell/&gt;
General help using GNU software: <http://www.gnu.org/gethelp/&gt;

[root@localhost spell-1.1]# gnump3d -h
GNUMP3d v3.0 (Perl v5.012004) – A portable(ish) MP3/OGG/HTTP streaming server.
– See http://www.gnump3d.org/ for more details.

Usage: gnump3d [options]

–background            Detatch from the console after starting.
–config filename       Read options from the named configuration file.
–debug                 Dump debug output to the console, not the error log.
–dump-plugins          Display all plugins that have been found.
–fast                  Start quickly without indexing the audio files first.
–help                  Display this usage information.
–lang XX               Load the strings from the given language file.
–plugin-dir directory  Load the plugins from the given directory.
–port number           Listen and serve upon the given port number.
–quiet                 Do not display the startup banner.
–root directory        Serve music from the given directory.
–test                  Allow config variables to come from the environment.
–theme-dir directory   Load the theme files from the given directory.
–version               Displays the version of this software.

Report bugs to : Steve Kemp <steve@steve.org.uk>

Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: