Changes

Jump to: navigation, search

OPS235 Lab 5 - Fedora17

48 bytes added, 10:46, 13 February 2010
Investigation 4: How do you build software from source code?
{{Admon/note|Compiling requires the correct tools to be installed. | In order to build software from source code, you must have the appropriate software development tools (such as make and gcc) and libraries (such as GTK) installed. The required tools will vary depending on the computer languages used in the software being built.}}
{{Admon/important |Software Development Tools Required |You may need to install <code>gcc</code> (GNU C Compiler) and <code>ncurses-devel</code> (Development Library) in order to complete this investigation successfully. Use <code>yum</code> to install these packages if you get an error message saying the cc command was not found or the ncurses library is not found.}}
#Go to the directory <code>/tmp</code>
#Use the <code>wget</code> command to download the "tar ball" that contains the source code for the NLED text editor.
#Check to see if there is a file named <code>configure</code>. If so, run it; if not, skip this step. (Most but not all source code archives contain this file)
#Check to see if there is a file named <code>Makefile</code> or <code>makefile</code>. If so, type the command:
#*make#*{{Admon/important |Software Development Tools Required |You may need to install <code>gccmake</code> (GNU C Compiler) and #What does <code>ncurses-devel</code> (Development Library) in order to complete this step successfully. Use <code>yummake</code> to install these packages if you get an error message saying the cc command was not found or the ncurses library is not found.}}   What does make do?  6. #Some software distributed as source code can automatically install itself. Try this command: #*<code>make install</code>  #Most but not all source code archives include the capability of installing themselves this way. 7. # If the command in step #7 <code>make install</code> does not work (how can you tell?), copy the <code>nled </code> program manually:  #*<code>cp nled /usr/local/bin</code>  8. #Test <code>nled </code> to make sure it works.
Answer the Investigation 4 question.
9
edits

Navigation menu