From: Grzegorz J. <ja...@ac...> - 2004-08-30 12:32:26
|
Hi Dimitry, Good to hear from you. Grigorenko Dmitriy wrote: > Come filenames (aux.cc, aux.h and others) were changed in rel_2_8 branch > only (not in the main branch). > Is it right? Correct. > I`ve checked opencxx rel_2_8 under Cygwin. > I typed > ./bootstrap > and got > You should update your `aclocal.m4' by running aclocal. > Is it correct? > Then I typed > ./aclocal; ./configure-for-testing > You can see log file cft.log in the attachment. > Then I tried > make check > The log file is mkck.log. > And there is a tester2.log file in the attachment too. > More detail information is following > Dima@home <mailto:Dima@home> > ~/opencxx/testsuite/testsuite.dir/comp/tnested/compilation > $ libtool -dlopen /home/Dima/opencxx/opencxx/libocc_mop.la > --mode=execute /home /Dima/opencxx/occ --private--external-driver -E > <tnested-class.ii --private--output tnested-class.occ.tmp > libtool: Couldn't find configure.ac nor configure.in file > As far as it was discussed here there is an error in the Cygwin > automake/autoconf tools. > > The solution is to create an empty configure.in files. I`ve patched > tester2 for it. > Log file is tester2_2.log > More detail information is following: > Dima@home <mailto:Dima@home> > ~/opencxx/testsuite/testsuite.dir/comp/tnested/compilation > $ libtool -dlopen /home/Dima/opencxx/opencxx/libocc_mop.la > --mode=execute /home/Dima/opencxx/occ --private--external-driver -E > <tnested-class.ii --private--output tnested-class.occ.tmp > exec: /home/Dima/opencxx/occ: not found > Why is it sow? Perhaps the file should be 'occ.exe' ? Most likely '$(EXEEXT)' or @EXEEXT@ is missing somewhere (in tester2.in ???). > I tried to run occ2 ang got: > occ2: unknown option `--private--external-driver' This is strange. > I`ve run make. Log file is mk.log > After this I tried make check and got the results into tester2_3.log > I`ve solved this problem by > chmod +x occ2 > It works (on some tests)! > You can see final tester2_f.log file. I have seen it. Thank you! Plugins fail, the rest works. > More information about failed tests: > Dima@home <mailto:Dima@home> > ~/opencxx/testsuite/testsuite.dir/comp/typeidt/compilation-via-plugin > $ libtool -dlopen /home/Dima/opencxx/opencxx/libocc_mop.la > --mode=execute /home/Dima/opencxx/occ --private--external-driver > --private--libtool-plugins -S TestClass <typeidt-test.ii > --private--output typeidt-test.occ.tmp > lt_dlopen(TestClass-init.la) failed: can't open the module > I do not know how to fix it. May be it is inpossable in Cygwin/WinXP OS. > Is not it? I think it is doable, but I more and more seriously think that this plugins functionality is not really worth the effort that we need to put into maintaining it. I am just about to raise this subject on the mailing list, so stay tuned and pls. let me (and others) know what you think. > I am not sure with how my changes have to be made. So I did not commit > anything. > There is tester2.in patch in the attachment. Unfortunately it is alredy too late for 2.8, but I have already applied to MAIN. I believe it is important to build some momentum around Cygwin and .NET ports, so that OpenC++ becomes easier accessible for Windows users. Having said that your help is very valuable. Thanks! Grzegorz |