From: Grzegorz J. <ja...@ac...> - 2004-07-24 14:32:55
|
Grigorenko Dmitriy wrote: > Hello > > >>Dmitriy can you make some tests, > > OK > > >>in config.log, you have >>configure:2886: checking for main in -lltdl >>configure:2911: gcc -o conftest.exe -g -O2 conftest.c -lltdl >&5 >>/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: >>cannot find -lltdl >>collect2: ld returned 1 exit status >>configure:2914: $? = 1 >>configure: failed program was: >> >>we want this to pass, saying 'yes'. > > I`he downloaded the head of cvs and tried ./configure > The result is in the simple_cfg.log. > As you can see the answer is 'yes' now. > When I type 'make', I get an error message becouse there is no Makefile in > gc directory (so it does not know how to build target 'all'). Why is it so? I suspect that you don't have exact copy of CVS. I am not sure which branch you are using (MAIN or rel_2_8), but neither of them contains directory 'gc' anymore. Perhaps you need to do 'cvs update -C -P'. > > >>can you try to change configure.in, adding AC_LIBTOOL_WIN32_DLL, >>you will have, >> >>AC_DISABLE_SHARED >>AC_LIBTOOL_WIN32_DLL >>AM_PROG_LIBTOOL >> >>then >> >>libtoolize --force --automake --copy >>./bootstrap >>./configure --disable-gc # save compile time > > I`ve done it (and I`ve undated my libtool up to 1.5.6) > As you can see, > checking dependency style of gcc... gcc3 > checking for lt_dlinit in -lltdl... yes > (no checking for main in -lltdl) That's correct, since libltdl shouldn't normally contain main. (I know that you need main on cygwin, but this is workaround for a bug.) > Also there two new warnings: > configure: WARNING: dlfcn.h: accepted by the compiler, rejected by the > preprocessor! > configure: WARNING: dlfcn.h: proceeding with the compiler's result > > Next step I tried to run make tests and got: > In file included from ../opencxx/parser/Ptree.h:37, > from ../opencxx/Class.h:37, > from ChangedMemberList.cc:36: > ../opencxx/parser/PtreeUtil.h:34:32: opencxx/parser/aux.h: No such file or > direc > tory > make[2]: *** [ChangedMemberList.lo] Error 1 > > It is right. There is no aux.h in the opencxx/parser. Why is it so? > Again, I think you are not in sync with CVS. Viewcvs shows that both rel_2_8 and MAIN contain parser/aux.h http://cvs.sourceforge.net/viewcvs.py/opencxx/opencxx/opencxx/parser/aux.h?rev=1.2.2.1&only_with_tag=rel_2_8&view=log http://cvs.sourceforge.net/viewcvs.py/opencxx/opencxx/opencxx/parser/aux.h?rev=1.2&only_with_tag=MAIN&view=log BR Grzegorz > The result of 'cvn up' command is following: > cvs update: move away opencxx/member.h; it is in the way > C opencxx/member.h > cvs update: Updating opencxx/dll-off > cvs update: Updating opencxx/gc-related-gc-no > cvs update: Updating opencxx/gc-related-gc-yes > cvs update: Updating opencxx/gc-related-gc-yes/dll-off > cvs update: Updating opencxx/gc-related-gc-yes/dll-on > cvs update: Updating opencxx/parser > cvs update: move away opencxx/parser/aux.cc; it is in the way > C opencxx/parser/aux.cc > cvs update: move away opencxx/parser/aux.h; it is in the way > C opencxx/parser/aux.h > cvs update: move away opencxx/parser/ptree.h; it is in the way > C opencxx/parser/ptree.h > cvs update: Updating opencxx/ptree > cvs update: Updating opencxx/ptree/src > > How can I download these files? > > Thank you |