Changes

Jump to: navigation, search

OPS235 Lab 3

59 bytes removed, 14:47, 9 October 2019
Part 2: Compiling Source Code from a Downloaded Archived File
<li>Issue the following command to install the library files for SQL by issuing the command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">yum install SDL-devel</span></code></b> (possibly <b><code><span style="color:#3366CC;font-size:1.2em;">yum install libpng-devel</span></code></b> and <b><code><span style="color:#3366CC;font-size:1.2em;">yum install zlib-devel</span></code></b> )</li>
<li>Reissue the <b><code><span style="color:#3366CC;font-size:1.2em;">./configure && make</span></code></b> command. Where you successful?</li>
<li>Run the command <b><code><span style="color:#3366CC;font-size:1.2em;">lbreakoutlbreakout2</span></code></b> (or possibly '''lbreakout2'''). Where you successful?</li>
<li>You need to run a command to make this program available regardless of your current directory (as opposed to running command in the directory that contains the program). Login as root (be sure to be in the same directory as the source code after logging in as root) and issue the command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">make install</span></code></b></li>
<li>Run the command: <b><code><span style="color:#3366CC;font-size:1.2em;">lbreakoutlbreakout2</span></code></b> (or possibly '''lbreakout2'''). Did it work? Issue the command:<br> <b><code><span style="color:#3366CC;font-size:1.2em;">which lbreakoutlbreakout2</span></code></b>. What do you think that the '''make install''' command did?</li>
</ol>
572
edits

Navigation menu