master1986
Posts: 15
Joined: Mon Nov 03, 2014 8:40 am

software grads

Mon Nov 03, 2014 8:55 am

Hello everyone, I am trying to install grads (scentifico a package for the analysis of mathematical models to forecast). the package is as follows:

https://packages.debian.org/wheezy/grads

I installed all the libraries, and packages used for architecture armhf.

My problam comes to the use of the software on the terminal, if I try to launch it by simply typing "grads", he is returned to the "Illegal Instruction"

If I understand it, this problem arises from the architecture of the processor.

Is there a solution to allow the software to work?

Thanks so much

Aydan
Posts: 727
Joined: Fri Apr 13, 2012 11:48 am
Location: Germany, near Lake Constance

Re: software grads

Mon Nov 03, 2014 9:19 am

You'll need to use the raspbian repositories or compile them yourself for the raspberry because the debian armhf is made for armv7 processors and the raspberry is armv6.
The instruction sets are not backwards compatible.

Regards
Aydan

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: software grads

Mon Nov 03, 2014 9:28 am

master1986 wrote:Hello everyone, I am trying to install grads (scentifico a package for the analysis of mathematical models to forecast). the package is as follows:

https://packages.debian.org/wheezy/grads

I installed all the libraries, and packages used for architecture armhf.

My problam comes to the use of the software on the terminal, if I try to launch it by simply typing "grads", he is returned to the "Illegal Instruction"

If I understand it, this problem arises from the architecture of the processor.

Is there a solution to allow the software to work?

Thanks so much
Incorrect install of package,remove all what you have manually installed and then install from the Raspbian Repository

Code: Select all

sudo apt-get update
sudo apt-get install grads
You can not mix repositories from different architecture it will totally bork Raspbian
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: software grads

Mon Nov 03, 2014 9:32 am

Minor nitpick: ARMv6 processors are not forwards compatible. You can run Debian "arm" (ARMv4) fine on a Pi.
You cannot mix Raspbian and Debian though. And you cannot expect software for a newer architecture to work on the
Pis ARMv6 processor.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

master1986
Posts: 15
Joined: Mon Nov 03, 2014 8:40 am

Re: software grads

Mon Nov 03, 2014 10:15 am

fruitoftheloom wrote:
master1986 wrote:Hello everyone, I am trying to install grads (scentifico a package for the analysis of mathematical models to forecast). the package is as follows:

https://packages.debian.org/wheezy/grads

I installed all the libraries, and packages used for architecture armhf.

My problam comes to the use of the software on the terminal, if I try to launch it by simply typing "grads", he is returned to the "Illegal Instruction"

If I understand it, this problem arises from the architecture of the processor.

Is there a solution to allow the software to work?

Thanks so much
Incorrect install of package,remove all what you have manually installed and then install from the Raspbian Repository

Code: Select all

sudo apt-get update
sudo apt-get install grads
You can not mix repositories from different architecture it will totally bork Raspbian
hello, I tried uninstalling and reinstalling with the repository raspbian, but the error is always the same.

from what I understand is not compatible with raspberry?

master1986
Posts: 15
Joined: Mon Nov 03, 2014 8:40 am

Re: software grads

Mon Nov 03, 2014 10:16 am

What if there was anyway I think the repository , there has anche The mode DO work

master1986
Posts: 15
Joined: Mon Nov 03, 2014 8:40 am

Re: software grads

Mon Nov 03, 2014 10:39 am

someone can try to install it, so as to help me? I use it very well, only that I can not get it started

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: software grads

Mon Nov 03, 2014 10:50 am

master1986 wrote:someone can try to install it, so as to help me? I use it very well, only that I can not get it started
Installed it and got it running.
Apparently it does need X (the GU) and I have to start it from a console.
So if you are in the GUI start a terminal window (LXTermial icon is on the Raspbian desktop) and type grads and <ENTER>.
After that you should get the question what mode you want to use; answer it and a new window pops up.
Does this work for you?

Gr.
Dirk.

master1986
Posts: 15
Joined: Mon Nov 03, 2014 8:40 am

Re: software grads

Mon Nov 03, 2014 11:17 am

Hello , Maybe this is the problem, I do not I start by graduates OJ , that I connected signal conditioning instrument raspberry through LAN without video . By Using ssh. So it can not work in this mode ?

I installed the following graduates mode : sudo apt - get install grads. INSTALLATION OK . But enter " grads " and hit Enter COMES me the message " Illegal Instruction "
Last edited by master1986 on Mon Nov 03, 2014 11:54 am, edited 1 time in total.

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: software grads

Mon Nov 03, 2014 11:39 am

master1986 wrote:Hello , Maybe this is the problem, I do not I start by graduates OJ , that I connected signal conditioning instrument raspberry through LAN without video . By Using ssh. So it can not work in this mode ?

I installed the following graduates mode : sudo apt - get install graduates. INSTALLATION OK . But when dicito " graduates " and hit Enter COMES me the message " Illegal Instruction "
I assume you mean 'grads', not 'graduates'... AFAICT that package does not exist in the repository.

Can you post the contents of '/etc/apt/sources.list' here?
Did you install the libraries with 'apt-get install'?

Gr.
Dirk.

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: software grads

Mon Nov 03, 2014 11:48 am

master1986 wrote:Hello , Maybe this is the problem, I do not I start by graduates OJ , that I connected signal conditioning instrument raspberry through LAN without video . By Using ssh. So it can not work in this mode ?

I installed the following graduates mode : sudo apt - get install graduates. INSTALLATION OK . But when dicito " graduates " and hit Enter COMES me the message " Illegal Instruction "
In you original post you stated https://packages.debian.org/wheezy/grads that is what I pointed to in my post, so what is graduates ??

http://www.iges.org/grads/gadoc

fyi a fully updated Raspbian Wheezy should have only this entry in APT Sources

Code: Select all

sudo nano /etc/apt/sources.list

deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
Last edited by fruitoftheloom on Mon Nov 03, 2014 12:02 pm, edited 1 time in total.
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

master1986
Posts: 15
Joined: Mon Nov 03, 2014 8:40 am

Re: software grads

Mon Nov 03, 2014 11:55 am

sorry it is a translation error ... you 've used the term " grads " , sorry for the mistake of the translator; -)

master1986
Posts: 15
Joined: Mon Nov 03, 2014 8:40 am

Re: software grads

Mon Nov 03, 2014 1:25 pm

hello, I tried to change the sources.list, I installed grads correctly but still the same error I get

When I write "grads" and then I press enter "Illegal Instruction"

how come it does not happen to you?

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: software grads

Mon Nov 03, 2014 1:30 pm

The source of the problem could be the libraries. Are you sure you installed these from the Raspbian repository?
Can you post the output of

Code: Select all

apt-cache policy grads
and

Code: Select all

apt-cache policy libgeotiff2
Gr.
Dirk.

master1986
Posts: 15
Joined: Mon Nov 03, 2014 8:40 am

Re: software grads

Mon Nov 03, 2014 1:34 pm

apt-cache policy grads
output:

Installed: 2.0.a9-4
Candidate: 2.0.a9-4
Version table:
*** 2.0.a9-4 0
500 http://mirrordirector.raspbian.org/raspbian/ wheezy/main armhf Packages
100 /var/lib/dpkg/status

apt-cache policy libgeotiff2

output

libgeotiff2:
Installed: 1.3.0+dfsg-3
Candidate: 1.3.0+dfsg-3+rpi1
Version table:
1.3.0+dfsg-3+rpi1 0
500 http://mirrordirector.raspbian.org/raspbian/ wheezy/main armhf Packages
*** 1.3.0+dfsg-3 0
100 /var/lib/dpkg/status

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: software grads

Mon Nov 03, 2014 1:41 pm

It looks as if you have the wrong libraries installed (it should be '1.3.0+dfsg-3+rpi1' instead of '1.3.0+dfsg-3'
'
Maybe you can try the following:

Code: Select all

sudo apt-get update
sudo apt-get install libc6 libgd2-xpm libgeotiff2 libgrib2c0d libhdf4-0 libhdf5-7 libnetcdfc7 libreadline6 libshp1 libtiff5 libudunits2-0 libx11-6
which are all the dependencies of 'grads'.

Gr.
Dirk.

master1986
Posts: 15
Joined: Mon Nov 03, 2014 8:40 am

Re: software grads

Mon Nov 03, 2014 1:48 pm

thanks for your time, I tried to do these tasks and ended well.

But if I try to launch from terminal ssh grads always gives me the same error and can not go on for the start of the next command

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: software grads

Mon Nov 03, 2014 2:40 pm

master1986 wrote:thanks for your time, I tried to do these tasks and ended well.

But if I try to launch from terminal ssh grads always gives me the same error and can not go on for the start of the next command
As I said, you cannot start X programs directly from SSH.
It's probably the easiest to use VNC. See e.g. http://www.raspberrypi.org/documentatio ... /README.md for installation and use.
I tried grads using VNC and it seemed to be working fine...

Gr.
Dirk.

Aydan
Posts: 727
Joined: Fri Apr 13, 2012 11:48 am
Location: Germany, near Lake Constance

Re: software grads

Mon Nov 03, 2014 4:15 pm

DirkS wrote:
master1986 wrote: As I said, you cannot start X programs directly from SSH.
You can, if you enable X-forwarding and have an X-server running on your local machine.
If your local machine is linux then there shouldn't be any problem, if it's Windows you have to install said X-server.

Regards
Aydan

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: software grads

Mon Nov 03, 2014 4:32 pm

Aydan wrote:
DirkS wrote:
master1986 wrote: As I said, you cannot start X programs directly from SSH.
You can, if you enable X-forwarding and have an X-server running on your local machine.
If your local machine is linux then there shouldn't be any problem, if it's Windows you have to install said X-server.
I know, but at this moment I don't really want to make it more complicated than necessary.

Gr.
Dirk.

Return to “General discussion”