[gradsusr] install grads
Christelle LACROIX
cl at meteoconsult.fr
Tue Oct 25 11:30:38 EDT 2011
I tried to install grads-2.0.a9 from source, but i have these errors when i
run make
Making all in src
make[1]: Entering directory `/usr/local/src/grads-2.0.a9/src'
make all-am
make[2]: Entering directory `/usr/local/src/grads-2.0.a9/src'
gcc -DHAVE_CONFIG_H -I. -g -O2 -rdynamic -c gagx.c
gagx.c:3882: erreur: expected declaration specifiers or â...â before
âDBFFieldTypeâ
gagx.c: In function ânewdbfldâ:
gagx.c:3889: erreur: invalid application of âsizeofâ to incomplete type
âstruct dbfldâ
gagx.c:3891: erreur: déréférencement d'un pointeur de type incomplet
gagx.c:3892: erreur: déréférencement d'un pointeur de type incomplet
gagx.c:3892: erreur: âdbtypeâ undeclared (first use in this function)
gagx.c:3892: erreur: (Each undeclared identifier is reported only once
gagx.c:3892: erreur: for each function it appears in.)
gagx.c:3893: erreur: déréférencement d'un pointeur de type incomplet
gagx.c:3894: erreur: déréférencement d'un pointeur de type incomplet
gagx.c:3895: erreur: déréférencement d'un pointeur de type incomplet
gagx.c:3905: erreur: déréférencement d'un pointeur de type incomplet
gagx.c:3908: erreur: déréférencement d'un pointeur de type incomplet
gagx.c:3910: erreur: déréférencement d'un pointeur de type incomplet
make[2]: *** [gagx.o] Erreur 1
make[2]: Leaving directory `/usr/local/src/grads-2.0.a9/src'
make[1]: *** [all] Erreur 2
make[1]: Leaving directory `/usr/local/src/grads-2.0.a9/src'
make: *** [all-recursive] Erreur 1
Thanks for your help
CL
2011/10/20 Goodson,Ron [Edm] <Ron.Goodson at ec.gc.ca>
> **
> Hi
>
> When I had a similar problem .. it was due to an old version of libc that
> 2.0.a9 did not support. It was Arlindo who gave me the answer ...
>
> -----------------------------------------
> From: gradsusr-bounces at gradsusr.org<http://gradsusr.org/mailman/listinfo/gradsusr>[mailto:gradsusr-bounces
> at gradsusr.org <http://gradsusr.org/mailman/listinfo/gradsusr>] On Behalf
> Of Arlindo da Silva
> Sent: February 16, 2011 6:17 PM
> To: GrADS Users Forum
> Subject: Re: [gradsusr] GrAds 2.0a7 and beyond - floating point exception
>
>
> Ron,
>
> Sometimes this floating point error means an incompatible version of libc.
> What is the result of
>
> % ldd --version
>
> You should have at least GNU libc 2.5; anything earlier will not work.
>
> Arlindo
>
> ------------------------------------------------------------
>
> and he was right .. my version was 2.3.4. Rather than try to fix libc, I
> upgraded to a more recent version of the O/S (I was using a really old
> version of redhat) and then all was well.
>
> ron
>
> ------------------------------
> *From:* gradsusr-bounces at gradsusr.org [mailto:
> gradsusr-bounces at gradsusr.org] *On Behalf Of *Christelle LACROIX
> *Sent:* October 20, 2011 9:16 AM
> *To:* GrADS Users Forum
> *Subject:* [gradsusr] install grads
>
> Hi,
>
> I use grads-1.9b4, but i would like to install grads-2.0.a9 on the same
> computer, I download from http://iges.org/grads/downloads.htmland uncompress and unpack the tar file, but when I want to run grads, i have
> this message:
> *Exception en point flottant*
> *
> *
> *
> *
> Thanks you for your help.
>
> CL
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20111025/bf1f0ddc/attachment-0003.html
More information about the gradsusr
mailing list