Le lundi 04 juillet 2005 à 15:57 +0300, Tommi Hassinen a écrit : > On Mon, 4 Jul 2005, Jean Bréfort wrote: > > > Le lundi 04 juillet 2005 à 09:03 +0300, Tommi Hassinen a écrit : > > > > > > I have used the following "config"-headers: > > > > > > libconfig.h in libghemical > > > appconfig.h in ghemical > > > > > > I used names other than simply "config.h" so that the header file would > > > not so easily mix if other packages also have a file config.h. > > > > I understane, but the problem is that bowt hdefiune PACKAGE_NAME and two > > others with different values. re-naming them will not solve the problem. > > The AC_CONGIF_COMMAND above just removes the PACKAGE* variables from the > > public config file. > > Ok, I understand. I'll try the AC_CONGIF_COMMAND you suggested. > > > Btw, I could compile ghemical-1.90 on my laptop. It seems I cannot > > export molecules from gchempaint to ghemical-1.90. It does not read the > > gpr files written using openbabel? > > Sometimes I need to change the .gpr format for my own works. I think I > tested that import/export works with openbabel-1.100.2 but perhaps the fix > is only in 1.02/1.51 and not in 1.90. I need to check this tomorrow. > > BTW, I could not change the complier version in libghemical using the > traditional > > ./configure --with-gcc=gcc-3.4 --with-gxx=g++-3.4 > > those options were ignored and just gcc and g++ appeared in Makefile. I > could not edit the Makefiles either since libtool then stopped working. > Any ideas? I use the following command line to compile with gcc-4.0.0 which is not the default compiler (gcc was installed with --prefix=/usr/gcc) : CC=/usr/gcc-4/bin/gcc CXX=/usr/gcc-4/bin/g++ ./configure Regards, Jean