tag:blogger.com,1999:blog-8431280378972900538.post7550006663877396022..comments2024-03-05T23:01:20.640-07:00Comments on NCAR's Research Data Archive Blog: Setting up to work with GRIB2Doug Schusterhttp://www.blogger.com/profile/00524288836473102210noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-8431280378972900538.post-3949078308302302312018-11-05T08:22:56.367-07:002018-11-05T08:22:56.367-07:00Make sure that your version of gcc is not too old:...Make sure that your version of gcc is not too old:<br />https://stackoverflow.com/questions/10357804/configure-error-c-compiler-cannot-create-executables<br /><br />Run "gcc --version" to see what version you have, and if it is lower than 5, you need to upgrade.Bob Dattorehttps://www.blogger.com/profile/18070726967315315905noreply@blogger.comtag:blogger.com,1999:blog-8431280378972900538.post-5079012009375442492018-11-02T16:41:23.004-06:002018-11-02T16:41:23.004-06:00I am getting the same issue as well. Was anyone ab...I am getting the same issue as well. Was anyone able to resolve it? <br /><br />Thanks greatly!Juniper111111https://www.blogger.com/profile/15074138250486422528noreply@blogger.comtag:blogger.com,1999:blog-8431280378972900538.post-60610428642042034912018-10-02T14:26:53.950-06:002018-10-02T14:26:53.950-06:00I am getting the exact same error using gcc and gf...I am getting the exact same error using gcc and gfortran for compiling the wgrib2 v2.0.6+ on OS X. Any input will be greatly appreciated.Anonymoushttps://www.blogger.com/profile/03400592617016593493noreply@blogger.comtag:blogger.com,1999:blog-8431280378972900538.post-6940923296291019652018-03-20T17:24:31.263-06:002018-03-20T17:24:31.263-06:00Hi,
I'm trying to help someone install wgrib2...Hi,<br /><br />I'm trying to help someone install wgrib2 on OSX, and we're running into an error I haven't been able to fix during compilation.<br /><br />We followed all your instructions, but when we type "make" we get:<br /><br />Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1<br />cd /usr/local/wgrib2/grib2/jasper-1.900.1 && export CC=gcc && ./configure --without-x --disable-libjpeg --disable-opengl --prefix=/usr/local/wgrib2/grib2 && make -j 1 check install<br />checking build system type... i386-apple-darwin15.6.0<br />checking host system type... i386-apple-darwin15.6.0<br />checking target system type... i386-apple-darwin15.6.0<br />checking for a BSD-compatible install... /usr/bin/install -c<br />checking whether build environment is sane... yes<br />checking for gawk... no<br />checking for mawk... no<br />checking for nawk... no<br />checking for awk... awk<br />checking whether make sets $(MAKE)... yes<br />checking for gcc... gcc<br />checking for C compiler default output file name... configure: error: C compiler cannot create executables<br />See `config.log' for more details.<br />make: * [/usr/local/wgrib2/grib2/lib/libjasper.a] Error 77<br /><br />Any ideas? Let me know if you want any additional information.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8431280378972900538.post-61891378427087840072017-05-12T11:25:17.116-06:002017-05-12T11:25:17.116-06:00Did you install gfortran per the instructions here...Did you install gfortran per the instructions here?<br />https://rda.ucar.edu/datasets/ds083.2/software/wgrib2_install+.txtAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8431280378972900538.post-84141979097275999492017-05-08T10:32:00.770-06:002017-05-08T10:32:00.770-06:00Hello Grace,
Thank you for providing us with a wg...Hello Grace,<br /><br />Thank you for providing us with a wgrib2 installation tutorial.<br /><br />I am trying to set it up on my Mac. I followed your steps carefully and it turns out that I get a fortran error when I run the make command:<br /><br />makefile:362: *** ERROR, fortran compiler (enironment vararible FC) is not recognized. Stop.<br /><br />Would you have any suggestions for my problem?<br /><br />Best regards,<br /><br />Sebastien Boulnois.Sebastien Boulnoishttps://www.blogger.com/profile/14377999160778753823noreply@blogger.com