[gmx-users] install problem of ngmx.

Mark Abraham Mark.Abraham at anu.edu.au
Thu Apr 8 10:09:09 CEST 2010


On 8/04/2010 5:52 PM, kecy_wu at sina.com wrote:
>
> Hello, I installed the gromacs4.0.5, when I made, it had lots of
> mistakes, below is some of the mistakes:

You should prefer to install the latest version, not one that's over a 
year old. Bugs get fixed...

Unless you're planning to use ngmx you can use "./configure --without-X" 
and this problem will go away.

configure should really have recognized that ngmx couldn't be compiled. 
If you've not run configure on this machine in the same shell from which 
you try to make, go and do that properly. If you have done this 
properly, then you have something "unique" about your machine...

Mark

> /In file included from ngmx.c:50:/
>
> /Xstuff.h:48:22: error: X11/Xlib.h: No such file or directory/
>
> /Xstuff.h:49:23: error: X11/Xutil.h: No such file or directory/
>
> /Xstuff.h:51:28: error: X11/cursorfont.h: No such file or directory/
>
> /Xstuff.h:52:27: error: X11/Xresource.h: No such file or directory/
>
> /In file included from ./xutil.h:43,/
>
> /from ./xdlgitem.h:42,/
>
> /from xdlg.h:40,/
>
> /from dialogs.h:40,/
>
> /from ngmx.c:54:/
>
> /./x11.h:57: error: expected specifier-qualifier-list before 'Display'/
>
> /./x11.h:79: error: expected declaration specifiers or '...' before
> 'XEvent'/
>
> /./x11.h:79: error: expected declaration specifiers or '...' before
> 'Window'/
>
> /./x11.h:82: error: expected specifier-qualifier-list before 'Window'/
>
> /In file included from ./xdlgitem.h:42,/
>
> /from xdlg.h:40,/
>
> /from dialogs.h:40,/
>
> /from ngmx.c:54:/
>
> /./xutil.h:49: error: expected specifier-qualifier-list before 'Window'/
>
> /./xutil.h:57: error: expected ')' before 'win'/
>
> /./xutil.h:61: error: expected ')' before '*' token/
>
> /./xutil.h:63: error: expected declaration specifiers or '...' before
> 'XFontStruct'/
>
> /./xutil.h:63: error: expected declaration specifiers or '...' before
> 'Drawable'/
>
> /./xutil.h:67: error: expected declaration specifiers or '...' before
> 'Drawable'/
>
> /./xutil.h:75: error: expected ')' before '*' token/
>
> /./xutil.h:77: error: expected ')' before '*' token/
>
> /./xutil.h:79: error: expected ')' before '*' token/
>
> /./xutil.h:81: error: expected ')' before '*' token/
>
> /./xutil.h:84: error: expected ')' before '*' token/
>
> /./xutil.h:87: error: expected ')' before '*' token/
>
> /./xutil.h:89: error: expected ')' before '*' token/
>
> /./xutil.h:91: error: expected ')' before '*' token/
>
> /In file included from xdlg.h:40,/
>
> /from dialogs.h:40,/
>
> /from ngmx.c:54:/
>
> /./xdlgitem.h:66: error: expected specifier-qualifier-list before 'Pixmap'/
>
> /./xdlgitem.h:98: error: expected declaration specifiers or '...' before
> 'XEvent'/
>
> /./xdlgitem.h:142: error: expected declaration specifiers or '...'
> before 'Pixmap'/
>
> /In file included from dialogs.h:40,/
>
> /from ngmx.c:54:/
>
> /xdlg.h:63: error: expected specifier-qualifier-list before 'Window'/
>
> /xdlg.h:81: error: expected declaration specifiers or '...' before 'Window'/
>
> /xdlg.h:140: error: expected declaration specifiers or '...' before
> 'Window'/
>
> /In file included from pulldown.h:40,/
>
> /from dialogs.h:41,/
>
> /from ngmx.c:54:/
>
> /popup.h:44: error: expected specifier-qualifier-list before 'Window'/
>
> /popup.h:53: error: expected specifier-qualifier-list before 'Window'/
>
> /popup.h:58: error: expected specifier-qualifier-list before 'Window'/
>
> /popup.h:64: error: expected declaration specifiers or '...' before
> 'Window'/
>
> /In file included from dialogs.h:41,/
>
> /from ngmx.c:54:/
>
> /pulldown.h:51: error: expected declaration specifiers or '...' before
> 'Window'/
>
> /In file included from manager.h:45,/
>
> /from dialogs.h:42,/
>
> /from ngmx.c:54:/
>
> /nleg.h:54: error: expected declaration specifiers or '...' before 'Window'/
>
> /In file included from manager.h:46,/
>
> /from dialogs.h:42,/
>
> /from ngmx.c:54:/
>
> /buttons.h:64: error: expected declaration specifiers or '...' before
> 'Window'/
>
> /buttons.h:64: error: expected declaration specifiers or '...' before
> 'Window'/
>
> /buttons.h:69: error: expected declaration specifiers or '...' before
> 'Window'/
>
> /buttons.h:69: error: expected declaration specifiers or '...' before
> 'Window'/
>
> /In file included from dialogs.h:42,/
>
> /from ngmx.c:54:/
>
> /manager.h:133: error: expected declaration specifiers or '...' before
> 'Window'/
>
> /In file included from dialogs.h:43,/
>
> /from ngmx.c:54:/
>
> /logo.h:44: error: expected specifier-qualifier-list before 'XFontStruct'/
>
> /logo.h:53: error: expected declaration specifiers or '...' before 'Window'/
>
> /In file included from ngmx.c:57:/
>
> /nmol.h:43: error: expected declaration specifiers or '...' before 'Window'/
>
> /ngmx.c:65: error: expected declaration specifiers or '...' before 'Window'/
>
> /ngmx.c: In function 'dump_xw':/
>
> /ngmx.c:70: error: 'w' undeclared (first use in this function)/
>
> /ngmx.c:70: error: (Each undeclared identifier is reported only once/
>
> /ngmx.c:70: error: for each function it appears in.)/
>
> /ngmx.c:411: error: 't_x11' has no member named 'bg'/
>
> /ngmx.c:412: warning: passing argument 7 of 'init_pd' makes pointer from
> integer without a cast/
>
> /ngmx.c:412: warning: passing argument 8 of 'init_pd' from incompatible
> pointer type/
>
> /ngmx.c:412: warning: passing argument 9 of 'init_pd' from incompatible
> pointer type/
>
> /ngmx.c:412: error: too many arguments to function 'init_pd'/
>
> /make[3]: *** [ngmx.o] Error 1/
>
> /make[3]: Leaving directory `/mnt/soft/chemtec/gromacs-4.0.5/src/ngmx'/
>
> /make[2]: *** [all-recursive] Error 1/
>
> /make[2]: Leaving directory `/mnt/soft/chemtec/gromacs-4.0.5/src'/
>
> /make[1]: *** [all] Error 2/
>
> /make[1]: Leaving directory `/mnt/soft/chemtec/gromacs-4.0.5/src'/
>
> /make: *** [all-recursive] Error 1/
>
> I hope you can give me some suggestions to solve the problom¡£
>
> Thank you very much!
>



More information about the gromacs.org_gmx-users mailing list