Скачал и установил cygwin, поставил пакеты gcc-core, gcc-g++, gcc-mingw-core, gcc-mingw-g++, libpng12, libpng14, пытаюсь собрать командой:
./win32/build_gerbv, получаю ответ:
C:/WinAVR-20100110/utils/bin/make all-recursive
make[1]: Entering directory `C:/PCB-Wizard/gerbv-2.4.0'
Making all in src
make[2]: Entering directory `C:/PCB-Wizard/gerbv-2.4.0/src'
C:/cygwin/bin/sh.exe ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -mms-bitfields -mno-cygwin -mwindows -DPREFIXDIR=\"/cygdrive/c/PCB-Wizard/gerbv-2.4.0/gerbv_inst\" -DBINDIR=\"/cygdrive/c/PCB-Wizard/gerbv-2.4.0/gerbv_inst/bin\" -DBACKEND_DIR='"/cygdrive/c/PCB-Wizard/gerbv-2.4.0/gerbv_inst/share/gerbv/scheme/"' -DSCMSUBDIR='"scheme"' -I/home/dead/gtk_win32/include -mms-bitfields -mno-cygwin -mwindows -Wall -mms-bitfields -IC:/PCB-Wizard/gtk-plus/include/gtk-2.0 -IC:/PCB-Wizard/gtk-plus/lib/gtk-2.0/include -IC:/PCB-Wizard/gtk-plus/include/atk-1.0 -IC:/PCB-Wizard/gtk-plus/include/cairo -IC:/PCB-Wizard/gtk-plus/include/gdk-pixbuf-2.0 -IC:/PCB-Wizard/gtk-plus/include/pango-1.0 -IC:/PCB-Wizard/gtk-plus/include/glib-2.0 -IC:/PCB-Wizard/gtk-plus/lib/glib-2.0/include -IC:/PCB-Wizard/gtk-plus/include -IC:/PCB-Wizard/gtk-plus/include/freetype2 -IC:/PCB-Wizard/gtk-plus/include/libpng14 -mms-bitfields -IC:/PCB-Wizard/gtk-plus/include/cairo -IC:/PCB-Wizard/gtk-plus/include/glib-2.0 -IC:/PCB-Wizard/gtk-plus/lib/glib-2.0/include -IC:/PCB-Wizard/gtk-plus/include -IC:/PCB-Wizard/gtk-plus/include/freetype2 -IC:/PCB-Wizard/gtk-plus/include/libpng14 -c -o amacro.lo amacro.c
Xlibpng14 -c -o amacro.lo amacro.lo
libtool: compile: libobj name `libpng14 -c -o amacro.lo amacro.lo' may not contain shell special characters.
rm: unknown option -- c
Try `rm --help' for more information.
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I.. -mms-bitfields -mno-cygwin -mwindows "-DPREFIXDIR=\\/cygdrive/c/PCB-Wizard/gerbv-2.4.0/gerbv_inst\" -DBINDIR=\"/cygdrive/c/PCB-Wizard/gerbv-2.4.0/gerbv_inst/bin\" -DBACKEND_DIR=\"/cygdrive/c/PCB-Wizard/gerbv-2.4.0/gerbv_inst/share/gerbv/scheme/\" -DSCMSUBDIR=\"scheme\" -I/home/dead/gtk_win32/include -mms-bitfields -mno-cygwin -mwindows -Wall -mms-bitfields -IC:/PCB-Wizard/gtk-plus/include/gtk-2.0 -IC:/PCB-Wizard/gtk-plus/lib/gtk-2.0/include -IC:/PCB-Wizard/gtk-plus/include/atk-1.0 -IC:/PCB-Wizard/gtk-plus/include/cairo -IC:/PCB-Wizard/gtk-plus/include/gdk-pixbuf-2.0 -IC:/PCB-Wizard/gtk-plus/include/pango-1.0 -IC:/PCB-Wizard/gtk-plus/include/glib-2.0 -IC:/PCB-Wizard/gtk-plus/lib/glib-2.0/include -IC:/PCB-Wizard/gtk-plus/include -IC:/PCB-Wizard/gtk-plus/include/freetype2 -IC:/PCB-Wizard/gtk-plus/include/libpng14 -mms-bitfields -IC:/PCB-Wizard/gtk-plus/include/cairo -IC:/PCB-Wizard/gtk-plus/include/glib-2.0 -IC:/PCB-Wizard/gtk-plus/lib/glib-2.0/include -IC:/PCB-Wizard/gtk-plus/include -IC:/PCB-Wizard/gtk-plus/include/freetype2 -IC:/PCB-Wizard/gtk-plus/include/libpng14 -c -o amacro.lo amacro.c" -DPIC -o .libs/libpng14 -c -o amacro.lo amacro.o
gcc: amacro.o: No such file or directory
gcc: no input files
make[2]: *** [amacro.lo] Error 1
make[2]: Leaving directory `C:/PCB-Wizard/gerbv-2.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `C:/PCB-Wizard/gerbv-2.4.0'
make: *** [all] Error 2
Так и не понял, что это за зверь такой "amacro.o" - может это всё оттого, что подцепился make из WinAVR, никто не в теме?
Еще до этого пытался выполнить команду ./win32/extract_gtk_win32 получил:
$ ./win32/extract_gtk_win32
Extract *.zip
./win32/extract_gtk_win32: line 56: unzip: command not found
Extract *.zip
./win32/extract_gtk_win32: line 74: unzip: command not found
chmod: cannot access `/home/dead/gtk_win32/bin/*': No such file or directory
mv: cannot stat `/home/dead/gtk_win32_runtime/zlib*.dll': No such file or direct
ory
chmod: cannot access `/home/dead/gtk_win32_runtime/bin/*': No such file or direc
tory
./win32/extract_gtk_win32: line 87: unzip: command not found
cp: cannot stat `*/*.dll': No such file or directory
cat: /home/dead/gd_win32/COPYING.TXT: No such file or directory
chmod: cannot access `/home/dead/gd_win32/*/*': No such file or directory
bzcat: Can't open input file /home/dead/gtk_win32_downloads/atk-*.tar.bz2: No su
ch file or directory.
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
cat: atk-*/COPYING: No such file or directory
cat: /home/dead/gtk_win32_downloads/COPYING-expat: No such file or directory
tar (child): /home/dead/gtk_win32_downloads/fontconfig-*.tar.gz: Cannot open: No
such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
cat: fontconfig*/COPYING: No such file or directory
tar (child): /home/dead/gtk_win32_downloads/gettext-*.tar.gz: Cannot open: No su
ch file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
cat: gettext-*/COPYING: No such file or directory
tar (child): /home/dead/gtk_win32_downloads/jpegsrc.v6b.tar.gz: Cannot open: No
such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
cat: jpeg-6b/README: No such file or directory
./win32/extract_gtk_win32: line 235: unzip: command not found
ls: cannot access include: No such file or directory
awk: cmd. line:1: fatal: cannot open file `include/png.h' for reading (No such f
ile or directory)
tar (child): /home/dead/gtk_win32_downloads/pkg-config-*.tar.gz: Cannot open: No
such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
cat: pkg-config-*/COPYING: No such file or directory
tar (child): /home/dead/gtk_win32_downloads/tiff-*.tar.gz: Cannot open: No such
file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
cat: tiff-*/COPYRIGHT: No such file or directory
cat: /home/dead/gtk_win32_downloads/zlib_license.txt: No such file or directory
Тут вообще не понял что происходит