Hello,
On Thu, Apr 22, 2010 at 7:56 AM, laurent laffont laurent.laffont@gmail.com wrote:
On linux, configure fails: -- Configuring done CMake Error in CMakeLists.txt: Cannot find source file "aio.c". Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx aio.c is in .unix/vm/aio.c
Thank you for your answer! It is fixed in the new set of files: http://eleves.ec-lille.fr/~couprieg/divers/changes-08-05-10.tar.gz
With these new files, I can now build the unix and win32 VM, from a linux host. The unix VM works, but the win32 one needs a few other changes to build, that I'll send with other patches.
A few notes: -to build, you have to delete config.h from platforms/win32/vm, as it is now generated by cmake -for unix, use 'platforms/cmake/configure --src=<generated source relative path> --version=4.0.2 --generator="Unix Makefiles" ' -for win32, use 'CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ platforms/cmake/configure --src=<generated source relative path> --version=4.0.2 --host=i586-mingw32msvc --generator="Unix Makefiles" '
These files are not yet ready to be included in the sources, they still need some cleaning. But now, it works well :)
For the ones that were talking about setting up a squeak buildbot, this will be useful!
Again, please test it, and feel free to comment.
Best regards,
Geoffroy