[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Build problems on Win32
I can build Goo successfully from the initial windows distribution by doing a 'make simple-install' from Cygwin. But if I regenerate the sources I have problems. Following the instructions in the doc file, I do:
(use eval/g2c)
(g2c-goo)
When I then do a 'make' on the C source I get an error:
$ make
(cd g2c; make)
make[1]: Entering directory `/cygdrive/e/temp/goo2/goo-0_131-win32-dev/c/g2c'
make[1]: *** No rule to make target `..%', needed by `g2c'. Stop.
make[1]: Leaving directory `/cygdrive/e/temp/goo2/goo-0_131-win32-dev/c/g2c'
make: *** [all] Error 2
Comparing the makefile in GOO_BUILD_ROOT/c/g2c to the one in the original distribution I see that the pattern substitution line has had the '/' changed to '\'. Ditto with the slash in the paths of all the .o files in the makefile.
Changing the '\' to '/' in the pattern substitution and the file paths allowed Goo to build fine. Path separators are a pain for cross platform stuff, aren't they!
Chris.
--------------------------------------------------------------------------------------
Disclaimer:
"The information contained in this document is confidential to the addressee(s) and
may be legally privileged. Any view or opinions expressed are those of the author
and may not be those of the organisation to which the author belongs. If you have
received this e-mail message in error please delete it and notify me. Thank you."
--------------------------------------------------------------------------------------