Abdel wrote:

I completely agree and I first try the static version but all the demo and examples crashed, including the Qtdesigner. I'll try to find sometime to compile in debug mode and see what's happening.

Ah. I forgot to mention: Ignore this!

There is a bug in qtwin/src/kernel/qapplication_win.cpp which doesn't show up if you run LyX but makes all qtwin examples fail. If you change qCreateCommandLine to

void qCreateCommandLine( QStringList &cmd_lst, int &argc, QMemArray<pchar> &argv )
{
   argc = 0;
   /* set size of argv ( + 1 because of \0 for last element ) */
   argv.resize( argc + 1 );
   argv[ 0 ] = NULL;
}

the problem vanishes (which drops all cmd line args, of course, but I don't care about them... but maybe the qtwin guy does (Christian???))

Yes. I modified './common/file_util.cpp' as you recommended. Plus I had to put '#undef printf' at the end of './common/gettext.h'. Then the compilation stopped with the following:

Making all in .
D:\mingw\bin\make.exe[1]: Entering directory `D:/msys/home/yns/src/aspell-0.60.4' /bin/perl gen/mk-static-filter.pl modules/filter/url-filter.info modules/filter/email-filter.info modules/filter/tex-filter.info modules/filter/sgml-filter.info modules/filter/html-filter.info modules/filter/context-filter.info modules/filter/nroff-filter.info modules/filter/texinfo-filter.info process_begin: CreateProcess((null), /bin/perl gen/mk-static-filter.pl modules/filter/url-filter.info modules/filter/email-filter.info modules/filter/tex-filter.info modules/filter/sgml-filter.info modules/filter/html-filter.info modules/filter/context-filter.info modules/filter/nroff-filter.info modules/filter/texinfo-filter.info, ...) failed.
make (e=3): The system cannot find the path specified.
D:\mingw\bin\make.exe[1]: *** [gen/static_filters.src.cpp] Error 3
D:\mingw\bin\make.exe[1]: Leaving directory `D:/msys/home/yns/src/aspell-0.60.4'
D:\mingw\bin\make.exe: *** [all-recursive] Error 1

This doesn't look like an Aspell-specific error. You should definitely re-install MinGW.

I had many problems in the past with the MSYS DTK (1.0.11) so I had installed the latest mingw package manually in the mingw directory (including perl, automake and autoconf). I guess this is source of all my problems. I will try a parallel install of MSYS+MINGW and see what happens.

You should install MSYS-1.0.11 and msysDTK-1.0.1 before you install all other msys packages. I guess there is some overlapping. And rename the directory of the former MinGW installation. Having two different versions of MinGW on the same machine looks like another promising source of problems...

Michael

Reply via email to