A "Illegal instruction"problem while Yade was successfully complied and installed

Asked by Tracy Xie

I complied and installed Yade using scons .It works.But when I run Yade ,A "Illegal instruction"problem was encoutered.
The information shows as below:
-----------------------------------------------------------------------------------------------------
scons: done building targets.
tracy@tracy-VirtualBox:/usr/local/yade-trunk-2954021$ cd /usr/local/yade080/bin
tracy@tracy-VirtualBox:/usr/local/yade080/bin$ ./yade-0.80.1
Welcome to Yade 0.80.1
Illegal instruction
------------------------------------------------------------------------------------------------------

My linux version is Ubuntu 11.04 i386, on a Virtual Machine( Oracle VM VirtualBox, on Win7).

Has anyone met this problem before?What's wrong with this(hardware,system software or the yade version)?How to solve it?
And could yade be run on linux on virtual machine?

Sincerely waiting for your reply^__^……

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Anton Gladky (gladky-anton) said :
#1

Hi,

why dont you install yade from packages?

It is not a good idea to use scons. It will be removed within the next
few days,
when the documentation will be regenerated.

Anton

Revision history for this message
Tracy Xie (csuhighspeed) said :
#2

Hi,

why dont you install yade from packages?

It is not a good idea to use scons. It will be removed within the next
few days,
when the documentation will be regenerated.

Anton
---------------------------------------------------------------------------
Thanks for your suggestion,Anton.

I tried to install yade from packages as your instructions on https://www.yade-dem.org/doc/installation.html.
when I run the commands "sudo add-apt-repository ppa:yade-pkg/stable ,sudo add-apt-repository ppa:yade-users/external,sudo apt-get update".It works.
While I run the last command "sudo apt-get install yade" .It said
----------------------------------------------------------------------------------------------------------

Ign http://cn.archive.ubuntu.com natty-updates/universe Translation-en
Fetched 14.7 MB in 7min 43s (31.8 kB/s)
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/natty/multiverse/i18n/Translation-en_US Connection timed out

E: Some index files failed to download. They have been ignored, or old ones used instead.

tracy@tracy-VirtualBox:~$ sudo apt-get install yade
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package yade
------------------------------------------------------------------------------------------------------
What's wrong with this ?Should I add yade resource pages to the apt sources list file ?What's the url of the yade yade resource pages?

I'm looking forward to you reply.
                                                              Sincerely Tracy

Revision history for this message
Anton Gladky (gladky-anton) said :
#3

Hi,

it should be:
sudo apt-get install yade-stable

[1] https://answers.launchpad.net/yade/+faq/1789

Anton

Can you help with this problem?

Provide an answer of your own, or ask Tracy Xie for more information if necessary.

To post a message you must log in.