Hi Bob,
As I wrote most of problems solved. The dos-utils mess up if there is no file to delete or if they overwrite something. (if you call twice clean)
Attached my current makefile. You see the test before rmdir? BTW: You can simplify your live using unix-utils for Win. http://gnuwin32.sourceforge.net/packages/fileutils.htm This is not a complete bash (as msys) but useful to.
I still have this problems with the freehand-tool and filling of rectangle and star. Can you confirm this?
Adib.
Bob Jamison wrote:
taraben.a@...50... wrote:
Hi Bob,
thanks for your work.
I still have some issues to the build proccess. I use Win2k and latest MingW.
- On my system there is no deltree.
I agree. At work, we have some people on Win9x (and I have no idea why!) and others on Win2K/XP. To make builds work, we have been opting for the "worst case" build environment. I guess that what I should do, is check the system type, and have an alternate 'dist:' target.
- mkdir using make does not work
mkdir inkscape process_begin: CreateProcess((null), mkdir inkscape, ...) failed. make (e=2): Das System kann die angegebene Datei nicht finden. mingw32-make: *** [dist] Error 2
My error. I forgot that when you install MinGW, there is no make.exe. Just copy mingw32-make.exe to make.exe. I will add this to the instructions.
- The copy command including star (copy samples*.svg
inkscape\samples) Does not work: copy samples*.svg inkscape\samples copy: samples*.svg: No such file or directory mingw32-make: *** [dist] Error 1
suggestions:
- the first command in dist should not deltree, this is an issue for
clean. I recommend to remove that line and add parameter /Y to all the xcopy's 2. I prefer to have a $(CP) $(RM) etc. variables
Best regards,
I will test this out on both 9x and XP until I get it working on both. Since 'dist:' and 'clean:' in that one Makefile.mingw are the only places where the problems occur, this should not be a problem.
Should we agree that $(RM) can remove both a file and directory $(CP) can copy both a file and directory and that /y is always used?
Adib.
It would be -SO- sweet if the C/C++ world had a build tool comparable to Apache Ant. It is cross-platform, and performs all of the messy operations (mkdir/rmdir/move/copy... etc) itself.
Thanks for checking this out!
Bob
participants (1)
-
unknown@example.com