Skip to content

Commit 051ba43

Browse files
authored
Merge pull request #12 from faruk13/patch-1
updated install.html for info with xsm install error
2 parents 4bd6f92 + bac9846 commit 051ba43

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

install.html

+13-2
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,23 @@ <h5> Step 2 :</h5>
103103
You may get some warnings and they can be ignored. If you get any <b>fatal error</b>,
104104
then install the following dependencies and try running "make" again : <br>
105105
<b>sudo apt-get install libreadline-dev</b> <br>
106-
<b>sudo apt-get install lib6-dev</b> <br>
106+
<b>sudo apt-get install libc6-dev</b> <br>
107107
If any other dependencies are missing (this depends on your system configuration), you have to install the missing dependencies
108108
and run "make" again.
109+
(Optional) While running "./xsm" after Step 2 if you get this error:<br>
110+
<i>/usr/bin/ld: cannot find -ll
111+
collect2: error: ld returned 1 exit status</i>
112+
Then you need to install:<br>
113+
<b>sudo apt-get install libfl-dev</b> <br>
114+
and edit the <b>Makefile</b> of <b>xsm_dev</b> folder, to proceed
115+
find the line where "-ll" is used as option and update it to "-lfl" to use the "flex" library we installed above.
116+
Now you can run "make" again after navigating into the folder <b>xsm_expl</b> through the terminal.
109117
</p></li>
110118
<li id="otis">2. Type "cd ../xfs-interface/" and type "./init".</li>
111-
</ul>
119+
<li id="otis">3.(Optional) Add this line <b>#!/usr/bin/env bash</b> as first line to the <b>xsm</b> file in <b>xsm_expl</b> folder.</li>
120+
This step is for those who don't have <b>bash</b> or <b>sh</b> as their "default shell" and therefore may be using other
121+
customizable shells like <b>zsh</b>, etc as their default shell. You can check your default shell by using <b>echo $SHELL</b> in terminal.
122+
</ul>
112123
</p>
113124
<p>The usage instructions for the XSM simulator can be found <a href="xsmusagespec.html" target="_blank"> here</a>.</p>
114125

0 commit comments

Comments
 (0)