|
123.
|
|
|
GNU Make has a well-written <application>man</application> page and extensive <application>info</application> documentation. Documentation is also available at the <ulink url="http://www.gnu.org/software/make/manual/make.html">GNU </ulink> website.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/introduction.xml:60(para)
|
|
124.
|
|
|
./configure
|
|
|
|
./configure
|
|
Translated and reviewed by
Donnie Lomat
|
|
|
|
Located in
C/introduction.xml:68(title)
|
|
125.
|
|
|
This script is included in almost all Linux source, especially for software written in compiled languages such as C and C++. It is used to generate a Makefile (file used by <application>make</application>) that is properly configured for your system. Standard Debian packaging tools use it, so it is important that you know what the <filename>configure</filename> script does. You do not need to know how to create a <filename>configure</filename> script yourself, as the software author (or <application>autoconf</application> will do that. However, you may have to adjust it at some point to get a <phrase>Ubuntu</phrase> package to build correctly.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/introduction.xml:71(para)
|
|
126.
|
|
|
Quick Howto:
|
|
|
|
Mabilisang Howto:
|
|
Translated and reviewed by
Donnie Lomat
|
|
|
|
Located in
C/introduction.xml:82(emphasis)
|
|
127.
|
|
|
First, get the <application>GNU Hello</application> source. From a terminal:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/introduction.xml:84(para)
|
|
128.
|
|
|
wget http://ftp.gnu.org/gnu/hello/hello-2.1.1.tar.gz # get the package
tar -xzf hello-2.1.1.tar.gz # unpack it
cd hello-2.1.1/
[tab] [tab] [tab]
|
|
|
[tab] represents a tab character.
Please write it exactly the same way, [tab] , in your
translation.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/introduction.xml:87(screen)
|
|
129.
|
|
|
Now, with <command>./configure</command> you can run the <filename>configure</filename> script to generate a Makefile that is customized to your system.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/introduction.xml:93(para)
|
|
130.
|
|
|
You can also give <filename>./configure</filename> command line options. For instance, by default <application>GNU Hello</application> will install to the <filename>/usr/local/</filename> directory. You could instead install it somewhere else (a personal binary directory, <filename>~/programs/</filename>, for example)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/introduction.xml:97(para)
|
|
131.
|
|
|
./configure --prefix="$HOME/programs/" # specify install directory.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/introduction.xml:103(screen)
|
|
132.
|
|
|
You can see all the <filename>./configure</filename> options by running <application>./configure --help</application>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
C/introduction.xml:105(para)
|