[gradsusr] Grads Installaltion on Ubuntu (WSL)

Tan, Haochen htan at anl.gov
Sun Jan 7 12:09:17 EST 2024


Dear experts,

I tried to install GrADS in Ubuntu (WSL), downloaded from  http://cola.gmu.edu/grads/downloads.php. It passed the configuration but failed on make.

See below:


config.status: executing libtool commands
 +=========================================================================+
   GrADS 2.2.1 : Configured on 01/07/24 for x86_64-unknown-linux-gnu
  +=========================================================================+

  +-------------------------------+
  |                               |
  |  GrADS will be built with:    |
  |                               |
  |  - GUI disabled               |
  |  - READLINE disabled          |
  |  - GEOTIFF disabled           |
  |  - shapefile disabled         |
  |  + GD enabled                 |
  |  + CAIRO enabled              |
  |  - GRIB2 disabled             |
  |  - HDF4 disabled              |
  |  - HDF5 disabled              |
  |  - NETCDF disabled            |
  |  - OPeNDAP disabled           |
  |                               |
  +-------------------------------+

Run 'make && make install' to build GrADS.
Executables will be installed to bin/ in current dir, unless prefix was specified.

htan at HT:~/grads-2.2.1$ make && make install
Making all in src
make[1]: Entering directory '/home/htan/grads-2.2.1/src'
make  all-am
make[2]: Entering directory '/home/htan/grads-2.2.1/src'
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -rdynamic -version-info 1:0:1  -o libgxpGD.la -rpath /home/htan/Grads/lib libgxpGD_la-gxprintGD.lo libgxpGD_la-gxGD.lo -L..//lib   -lgd -lm
../libtool: line 6000: cd: ..//lib: No such file or directory
libtool: link: cannot determine absolute directory name of `..//lib'
Makefile:711: recipe for target 'libgxpGD.la' failed
make[2]: *** [libgxpGD.la] Error 1
make[2]: Leaving directory '/home/htan/grads-2.2.1/src'
Makefile:610: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/htan/grads-2.2.1/src'
Makefile:458: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1



I have checked line 6000 in the configure file and it shows " sympat='\([_A-Za-z][_A-Za-z0-9]*\)' ". I thought it was some typo in the configuration but now it feels like it is because of libs from GD. I would appreciate any help.

Thanks in advance,
Haochen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20240107/46359b33/attachment.html>


More information about the gradsusr mailing list