Installing Grace (xmgrace) on CentOS 5 and 6

For further information on what is Grace ( xmgrace ) and some notes during installation. Do read the blog entry

  1. Grace plotting tool for X Window System 
  2. Compiling Grace: checking for a Motif >= 1002 compatible API… no

For installing in a nutshell on CentOS 5 and CentOS 6.

./configure --enable-grace-home=/opt/grace \
--with-extra-incpath=/usr/local/include:/opt/include \
--with-extra-ldpath=/usr/local/lib:/opt/lib \
--prefix=/usr/local

–enable-grace-home=DIR      define Grace home dir [PREFIX/grace]
–with-extra-incpath=PATH    define extra include path (dir1:dir2:…) [none]
–with-extra-ldpath=PATH     define extra ld path (dir1:dir2:…) [none]

 

Compiling,

make

Testing

make tests

Installation

make install

Making links

make links

References:

  1. Encountering the pars.yacc:5426 error when installing Grace 5.1.23 on CentOS 5