<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi, <br>
<div class="moz-forward-container"> <br>
I have tried to install Scilab 5.5.2 on my Ubuntu machine from
source code. Now I know there's a binary but I want an
installation that creates a /usr/bin/scilab file so that the
command 'scilab' launches the Scilab GUI. I have tried creating a
symbolic link (via sudo ln -s /path/to/scilab-5.5.2/bin
/usr/bin/scilab) to allow this but for whatever reason running
'scilab' from the command line won't seem to launch the Scilab GUI
after I create such a link. <br>
<br>
My build attempt may be summarized by this bash script (before
this script was when I downloaded the source tarball and the
prerequisite tarball to Downloads using Chrome):<code><br>
</code>
<blockquote><code></code><code style="font-size: 0.85em;
font-family: Consolas,Inconsolata,Courier,monospace;margin:
0px 0.15em; padding: 0px 0.3em; white-space: pre-wrap; border:
1px solid rgb(234, 234, 234); background-color: rgb(248, 248,
248); border-radius: 3px; display: inline;">cd ~/Downloads for
i in *.tar.gz do sudo tar xvzf $i -C /opt; done sudo chmod 777
-R /opt/scilab-5.5.2 cd /opt/scilab-5.5.2 sudo ./configure
sudo make all</code></blockquote>
<div markdown-here-wrapper-content-modified="true" style=""
class="markdown-here-wrapper" data-md-url="Thunderbird">
<div
title="MDH:PGJyPgogICAgPGNvZGU+CiAgICAgIDwvY29kZT5fY29kZV88YnI+YGNkIH4vRG93bmxvYWRzPGJyPgogICAgICBmb3IgaSBpbiAqLnRhci5neiBkbyBzdWRvIHRhciB4dnpmICRpIC1DIC9vcHQ7IGRv
bmU8YnI+CiAgICAgIHN1ZG8gY2htb2QgNzc3IC1SIC9vcHQvc2NpbGFiLTUuNS4yPGJyPgogICAg
ICBjZCAvb3B0L3NjaWxhYi01LjUuMjxicj4KICAgICAgc3VkbyAuL2NvbmZpZ3VyZTxicj4KICAg
ICAgc3VkbyBtYWtlIGFsbGA="
style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0;"></div>
</div>
no errors were encountered up until the last line, the last six
lines of output were:<br>
<blockquote><code style="font-size: 0.85em; font-family:
Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em;
padding: 0px 0.3em; white-space: pre-wrap; border: 1px solid
rgb(234, 234, 234); background-color: rgb(248, 248, 248);
border-radius: 3px; display: inline;">Found dependency from
scilab-cli-bin to libstdc++ found Makefile:2092: recipe for
target 'check-libstdcpp-dep' failed make[1]: ***
[check-libstdcpp-dep] Error 2 make[1]: Leaving directory
'/opt/scilab-5.5.2' Makefile:1541: recipe for target
'all-recursive' failed make: *** [all-recursive] Error 1</code></blockquote>
<div markdown-here-wrapper-content-modified="true" style=""
class="markdown-here-wrapper" data-md-url="Thunderbird">
<div
title="MDH:YEZvdW5kIGRlcGVuZGVuY3kgZnJvbSBzY2lsYWItY2xpLWJpbiB0byBsaWJzdGRjKysgZm91bmQ8YnI+TWFrZWZpbGU6MjA5MjogcmVjaXBlIGZvciB0YXJnZXQgJ2NoZWNrLWxpYnN0ZGNwcC1kZXAn
IGZhaWxlZDxicj5tYWtlWzFdOiAqKiogW2NoZWNrLWxpYnN0ZGNwcC1kZXBdIEVycm9yIDI8YnI+
bWFrZVsxXTogTGVhdmluZyBkaXJlY3RvcnkgJy9vcHQvc2NpbGFiLTUuNS4yJzxicj5NYWtlZmls
ZToxNTQxOiByZWNpcGUgZm9yIHRhcmdldCAnYWxsLXJlY3Vyc2l2ZScgZmFpbGVkPGJyPm1ha2U6
ICoqKiBbYWxsLXJlY3Vyc2l2ZV0gRXJyb3IgMWA="
style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0;"></div>
</div>
If it is important I have been trying to follow the "Compiling
Scilab 5.x under GNU-Linux Unix" Wiki article and to get any
prerequisites not in the tarball I ran:<br>
<blockquote>
<div markdown-here-wrapper-content-modified="true" style=""
class="markdown-here-wrapper" data-md-url="Thunderbird">
<p style="margin: 0px 0px 1.2em ! important;"><code
style="font-size: 0.85em; font-family:
Consolas,Inconsolata,Courier,monospace;margin: 0px 0.15em;
padding: 0px 0.3em; white-space: pre-wrap; border: 1px
solid rgb(234, 234, 234); background-color: rgb(248, 248,
248); border-radius: 3px; display: inline;">sudo apt-get
build-dep scilab</code></p>
<div title="MDH:YHN1ZG8gYXB0LWdldCBidWlsZC1kZXAgc2NpbGFiYA=="
style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0;"></div>
</div>
</blockquote>
The version of Scilab found in the vivid repos is 5.5.1 so I
thought that the dependencies for 5.5.2 would be similar enough to
allow Scilab 5.5.2 to be built using 5.5.1's dependencies. <br>
<br>
Thanks for your time,<br>
Brenton<br>
</div>
</body>
</html>