I'm trying to make GROMACS the error I'm getting is :
fatal error: glib.h: No such file or directory
I've seen that there are already questions related to this, and I followed their advice and ran the following:
sudo apt-get install libglib2.0-dev
I got
Reading package lists... Done
Building dependency tree
Reading state information... Done
libglib2.0-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 270 not upgraded.
After this, when I re-run make,why do I it still get the same error?
/usr/include/glib-2.0
to the include path of MakeFile? – RSK Jan 14 '14 at 09:54-I/usr/include/glib-2.0
to theAM_CPPFLAGS
variable so that it looks like this:AM_CPPFLAGS = -I$(top_srcdir)/include -I/usr/include/glib-2.0
and then reruning theautogen.sh
script. – jeremija Jan 16 '14 at 09:37