13,420
edits
Changes
no edit summary
# Remain in your '''c7host''' VM, but make certain that you are logged in as a regular user (i.e. NOT root!).
# Perform a Netsearch for the pattern: <b><code><span style="color:#3366CC;font-size:1.2em;">lbreakout2 .tar.gz</span></code></b>
# Go to aan appropriate webpage and download a "zipped tarball" (compressed source code) for the '''lbreakout2''' game (filename should be something like: '''lbreakout2.tar.gz''')
#Change to the directory where you downloaded that file (most likely ''~/Download''s).
<ol>
<li value="7">Issue the following command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">./configure && make</span></code></b><br>Most likely, you will get an error. What do you think the error is telling you?<br></li>
<li>You can use the '''yum install''' command to install some missing dependencies<ul><li><b><code><span style="color:#3366CC;font-size:1.2em;">gcc</span></code></b></li><li><b><code><span style="color:#3366CC;font-size:1.2em;">zlib-devel</span></code></b></li><li><b><code><span style="color:#3366CC;font-size:1.2em;">libpng-devel</span></code></b></li><li><b><code><span style="color:#3366CC;font-size:1.2em;">SDL</span></code></b></li><li><b><code><span style="color:#3366CC;font-size:1.2em;">SDL-devel</span></code></b></li></ul><li>
<li>Reissue the <b><code><span style="color:#3366CC;font-size:1.2em;">./configure && make</span></code></b> command. Where you successful? If not, what do you think is missing?</li>
<li>Use the yum command to install the gcc compiler, and issue the <b><code><span style="color:#3366CC;font-size:1.2em;">./configure && make</span></code></b> command again. Where you successful this time?</li>