[Met_help] [rt.rap.ucar.edu #44884] History for GSL and MET compilation problems

RAL HelpDesk {for John Halley Gotway} met_help at ucar.edu
Fri Feb 25 08:44:33 MST 2011


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

To whom it may concern:

I have successfully installed the MET software before, but am running into
problems on my current computer.  When I try to make the MET 3.0 I receive
the following error.

../vx_gsl_prob/gsl_wavelet2d.h:72: error: ISO C++ forbids declaration of
‘gsl_wavelet’ with no type
../vx_gsl_prob/gsl_wavelet2d.h:75: error: expected ‘,’ or ‘...’ before ‘*’
token
../vx_gsl_prob/gsl_wavelet2d.h:77: error: ISO C++ forbids declaration of
‘gsl_wavelet’ with no type
make[3]: *** [stat_job.o] Error 1
make[2]: *** [vx_analysis_util_all] Error 2
make[1]: *** [libs] Error 2
make: *** [all] Error 2

 I think this is due to problems while compiling GSL.  GSL compiles
correctly and makes it through most of the make but  gives the following
error at the end:

glfixed.c: In function ‘gsl_integration_glfixed_table*
gsl_integration_glfixed_table_alloc(size_t)’:
glfixed.c:226: error: invalid conversion from ‘void*’ to
‘gsl_integration_glfixed_table*’
make[2]: *** [glfixed.lo] Error 1
make[2]: Leaving directory `/root/gsl-1.14/integration'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gsl-1.14'
make: *** [all] Error 2

I have been unable to find the source of this error or any hints online and
I was wondering if you have any suggestions.  Thank you very much for your
time I really appreciate it!

Sincerely,
Emily


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: Re: [rt.rap.ucar.edu #44884] GSL and MET compilation problems
From: John Halley Gotway
Time: Thu Feb 24 16:22:14 2011

Emily,

Sure, we're happy to help.  Unfortunately, I don't have an easy fix
for you, but we should be able to figure this out.

I'm wondering if you're aware of the MET online tutorial.  The
compilation section of the online tutorial can be found here:
   http://www.dtcenter.org/met/users/support/online_tutorial/METv3.0/compilation/index.php

In particular, please make sure:
(1) You've downloaded all the most recent METv3.0 patches.
(2) You're compiling MET and all of its required libraries using the
SAME family of compilers.
(3) You follow the suggestions for compiling GSL listed on this page:
   http://www.dtcenter.org/met/users/support/online_tutorial/METv3.0/compilation/req_libs.php

Please try recompiling using the MET online tutorial as a guide.  If
that doesn't resolve you're problem, then please send me:
(1) The output of the "make" command when you build GSL.  For example,
I'd want to see the file "make_gsl.log" from below:
      cd /path/to/gsl
      setenv CC /path/to/c/compiler
      ./configure --prefix=/gsl/install/path
      make >& make_gsl.log
      make install

(2) The output of the "make" command when you build MET - the file
named "make_met.log".

(3) Please tell me your platform, which compilers you're using, and
the version number for those compilers.

Thanks,
John Halley Gotway
met_help at ucar.edu


On 02/24/2011 03:55 PM, RAL HelpDesk {for emily niebuhr} wrote:
>
> Thu Feb 24 15:55:15 2011: Request 44884 was acted upon.
> Transaction: Ticket created by elniebuhr at gmail.com
>        Queue: met_help
>      Subject: GSL and MET compilation problems
>        Owner: Nobody
>   Requestors: elniebuhr at gmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=44884 >
>
>
> To whom it may concern:
>
> I have successfully installed the MET software before, but am
running into
> problems on my current computer.  When I try to make the MET 3.0 I
receive
> the following error.
>
> ../vx_gsl_prob/gsl_wavelet2d.h:72: error: ISO C++ forbids
declaration of
> ‘gsl_wavelet’ with no type
> ../vx_gsl_prob/gsl_wavelet2d.h:75: error: expected ‘,’ or ‘...’
before ‘*’
> token
> ../vx_gsl_prob/gsl_wavelet2d.h:77: error: ISO C++ forbids
declaration of
> ‘gsl_wavelet’ with no type
> make[3]: *** [stat_job.o] Error 1
> make[2]: *** [vx_analysis_util_all] Error 2
> make[1]: *** [libs] Error 2
> make: *** [all] Error 2
>
>  I think this is due to problems while compiling GSL.  GSL compiles
> correctly and makes it through most of the make but  gives the
following
> error at the end:
>
> glfixed.c: In function ‘gsl_integration_glfixed_table*
> gsl_integration_glfixed_table_alloc(size_t)’:
> glfixed.c:226: error: invalid conversion from ‘void*’ to
> ‘gsl_integration_glfixed_table*’
> make[2]: *** [glfixed.lo] Error 1
> make[2]: Leaving directory `/root/gsl-1.14/integration'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/gsl-1.14'
> make: *** [all] Error 2
>
> I have been unable to find the source of this error or any hints
online and
> I was wondering if you have any suggestions.  Thank you very much
for your
> time I really appreciate it!
>
> Sincerely,
> Emily

------------------------------------------------
Subject: GSL and MET compilation problems
From: emily niebuhr
Time: Fri Feb 25 04:39:24 2011

Thank you for your help!  Turns out that I had CC set to g++ in my
.bashrc
file instead of gcc.  As soon as I switched to gcc it worked
perfectly.
Thank you for your suggestions!

Sincerely,
Emily

On 24 February 2011 14:22, RAL HelpDesk {for John Halley Gotway} <
met_help at ucar.edu> wrote:

> Emily,
>
> Sure, we're happy to help.  Unfortunately, I don't have an easy fix
for
> you, but we should be able to figure this out.
>
> I'm wondering if you're aware of the MET online tutorial.  The
compilation
> section of the online tutorial can be found here:
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv3.0/compilation/index.php
>
> In particular, please make sure:
> (1) You've downloaded all the most recent METv3.0 patches.
> (2) You're compiling MET and all of its required libraries using the
SAME
> family of compilers.
> (3) You follow the suggestions for compiling GSL listed on this
page:
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv3.0/compilation/req_libs.php
>
> Please try recompiling using the MET online tutorial as a guide.  If
that
> doesn't resolve you're problem, then please send me:
> (1) The output of the "make" command when you build GSL.  For
example, I'd
> want to see the file "make_gsl.log" from below:
>      cd /path/to/gsl
>      setenv CC /path/to/c/compiler
>      ./configure --prefix=/gsl/install/path
>      make >& make_gsl.log
>      make install
>
> (2) The output of the "make" command when you build MET - the file
named
> "make_met.log".
>
> (3) Please tell me your platform, which compilers you're using, and
the
> version number for those compilers.
>
> Thanks,
> John Halley Gotway
> met_help at ucar.edu
>
>
> On 02/24/2011 03:55 PM, RAL HelpDesk {for emily niebuhr} wrote:
> >
> > Thu Feb 24 15:55:15 2011: Request 44884 was acted upon.
> > Transaction: Ticket created by elniebuhr at gmail.com
> >        Queue: met_help
> >      Subject: GSL and MET compilation problems
> >        Owner: Nobody
> >   Requestors: elniebuhr at gmail.com
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=44884 >
> >
> >
> > To whom it may concern:
> >
> > I have successfully installed the MET software before, but am
running
> into
> > problems on my current computer.  When I try to make the MET 3.0 I
> receive
> > the following error.
> >
> > ../vx_gsl_prob/gsl_wavelet2d.h:72: error: ISO C++ forbids
declaration of
> > ‘gsl_wavelet’ with no type
> > ../vx_gsl_prob/gsl_wavelet2d.h:75: error: expected ‘,’ or ‘...’
before
> ‘*’
> > token
> > ../vx_gsl_prob/gsl_wavelet2d.h:77: error: ISO C++ forbids
declaration of
> > ‘gsl_wavelet’ with no type
> > make[3]: *** [stat_job.o] Error 1
> > make[2]: *** [vx_analysis_util_all] Error 2
> > make[1]: *** [libs] Error 2
> > make: *** [all] Error 2
> >
> >  I think this is due to problems while compiling GSL.  GSL
compiles
> > correctly and makes it through most of the make but  gives the
following
> > error at the end:
> >
> > glfixed.c: In function ‘gsl_integration_glfixed_table*
> > gsl_integration_glfixed_table_alloc(size_t)’:
> > glfixed.c:226: error: invalid conversion from ‘void*’ to
> > ‘gsl_integration_glfixed_table*’
> > make[2]: *** [glfixed.lo] Error 1
> > make[2]: Leaving directory `/root/gsl-1.14/integration'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/root/gsl-1.14'
> > make: *** [all] Error 2
> >
> > I have been unable to find the source of this error or any hints
online
> and
> > I was wondering if you have any suggestions.  Thank you very much
for
> your
> > time I really appreciate it!
> >
> > Sincerely,
> > Emily
>
>

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #44884] GSL and MET compilation problems
From: John Halley Gotway
Time: Fri Feb 25 08:44:08 2011

Emily,

Great!  Glad you were able to figure it out.

Thanks,
John

On 02/25/2011 04:39 AM, RAL HelpDesk {for emily niebuhr} wrote:
>> (3) Please tell me your platform, which compilers you're using, and
the

------------------------------------------------


More information about the Met_help mailing list