On Wed, 12 Nov 2003, ALEX MANTION wrote: > Thanks to Tommy Hassinen and Michael Banck for their > advices ! I solve the gtk problem, get the cvs version > of ghemical (1.5) with : cvs > -d:pserver:anonymous@bioinformatics.org:/cvsroot > checkout ghemical (and idem with libghemical). > > I try to compile it with gcc > 3.2 ! It seems not to > work :-( ! > > The configure step complete without error, but when I > use make it stops due to an error at > geomopt-dialog.cpp once at approx line 20 and approx > after at 80. Has is something to do with a glut_init > not found ("Checking for glutInit in -lglut : no") in > the ./configure step [but Gl/glut.h is present !!!!)? Hi, perhaps this is not about glut, since geomopt-dialog.cpp is the first file to be compiled under src/glade, and all those files are dependent on libglade. Please check that libglade is ok, for example I have $ libglade-config --version libglade 0.17 > For libghemical, ./configure works fine (with the same > preceeding remark) but here there are syntax errors : > in cdiag.c > in function 'cdiag_' > c:33 syntax error before "fm06as..." > At top level > same kind of error line 558 and line 724 > in fonction 'me08a_' > c:628 syntax error before "fm06bs..." These files belong to the MOPAC7 source that is included in the source; that is originally fortran code but is converted to C using a "f2c" converter tool. Therefore one needs "f2c.h" header file to compile those files. In my Debian "testing" system I have these related packages: $ dpkg --list |grep f2c ii f2c 20020621-2 A FORTRAN 77 to C/C++ translator You have made nice progress, so I hope this helps! :) Tommi