Как это сделать в Linux

Обсуждение установки, настройки и использования LinuxCNC. Вопросы по Gкоду.
nkp
Мастер
Сообщения: 8340
Зарегистрирован: 28 ноя 2011, 00:25
Репутация: 1589
Контактная информация:

Re: Как это сделать в Linux

Сообщение nkp »

UAVpilot писал(а):но на английском языке

Код: Выделить всё

The following packages have unmet dependencies:
  libgtkmm-2.4-dev: Depends: libgtkmm-2.4-1c2a (= 1:2.20.2-1) but 1:2.20.3-0ubuntu1 is to be installed
                    Depends: libcairomm-1.0-dev (>= 1.2.2) but it is not going to be installed
                    Depends: libpangomm-1.4-dev (>= 2.26.0) but it is not going to be installed
E: Broken packages
не полегчало - потому как сама концепция написания мне непонятна :thinking:
вот строка:
libgtkmm-2.4-dev: Depends: libgtkmm-2.4-1c2a (= 1:2.20.2-1) but 1:2.20.3-0ubuntu1 is to be installed
то есть :
я пытаюсь установить libgtkmm-2.4-dev...
он зависит от libgtkmm-2.4-1c2a ...
и далее магическое "= 1:2.20.2-1" - что такое "равно" ? это нужная версия ?
далее ,как я понимаю , "должен быть установлен 1:2.20.3-0ubuntu1"
ну так он и есть установлен ;) (на скрине выше видно)
===========
Аватара пользователя
Serg
Мастер
Сообщения: 21923
Зарегистрирован: 17 апр 2012, 14:58
Репутация: 5183
Заслуга: c781c134843e0c1a3de9
Настоящее имя: Сергей
Откуда: Москва
Контактная информация:

Re: Как это сделать в Linux

Сообщение Serg »

nkp писал(а):и далее магическое "= 1:2.20.2-1" - что такое "равно" ? это нужная версия ?
Да, версия должна быть именно такой, не больше и не меньше.
nkp писал(а):далее ,как я понимаю , "должен быть установлен 1:2.20.3-0ubuntu1"
ну так он и есть установлен ;) (на скрине выше видно)
У тебя в системе установлен libgtkmm версии 1:2.20.3-0ubuntu1.
Ты пытаешься поставить libgtkmm-dev, он должен соответствовать версии libgtkmm, т.е. тоже должен иметь версию 1:2.20.3-0ubuntu1.
Однако в доступных репозитариях нет libgtkmm-dev этой версии, есть только предыдущая 1:2.20.2-1. Почему так - не знаю, я сразу сказал:
UAVpilot писал(а):Видимо репозитарий не полный или ещё какой косяк...
nkp писал(а): libgtkmm-2.4-dev: Depends: libgtkmm-2.4-1c2a (= 1:2.20.2-1) but 1:2.20.3-0ubuntu1 is to be installed
т.е. понимать надо практически буквально: libgtkmm-2.4-dev зависит от 1:2.20.2-1, а должна быть установлена версия 1:2.20.3-0ubuntu1.

Решений два:
Правильное: найти полный репозитарий и/или написать багрепорт куда надо.
Неправильное: сделать downgrade libgtkmm на версию 1:2.20.2-1...
Я не Христос, рыбу не раздаю, но могу научить, как сделать удочку...
nkp
Мастер
Сообщения: 8340
Зарегистрирован: 28 ноя 2011, 00:25
Репутация: 1589
Контактная информация:

Re: Как это сделать в Linux

Сообщение nkp »

UAVpilot писал(а):Неправильное: сделать downgrade libgtkmm на версию 1:2.20.2-1...
спасибо - это помогло вроде поставить все нужные пакеты...
но сама программа не устанавливается ,хотя откровенно и не "ругается" ...
раньше думал , что make если выдает error , то что то не так,а если warning - то "пройдет"...
но тут вроде не проходит...
вот процесс сборки:

Код: Выделить всё

nkp@nkp-desktop:~/pcb2gcode-1.1.4$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for Boost headers version >= 1.39.0... /usr/include
checking for Boost's header version... 1_40
checking for the toolset name used by Boost for g++... unknown
configure: WARNING: could not figure out which toolset name to use for g++
checking boost/program_options.hpp usability... yes
checking boost/program_options.hpp presence... yes
checking for boost/program_options.hpp... yes
checking for the Boost program_options library... yes
checking boost/scoped_ptr.hpp usability... yes
checking boost/scoped_ptr.hpp presence... yes
checking for boost/scoped_ptr.hpp... yes
checking boost/shared_ptr.hpp usability... yes
checking boost/shared_ptr.hpp presence... yes
checking for boost/shared_ptr.hpp... yes
checking boost/foreach.hpp usability... yes
checking boost/foreach.hpp presence... yes
checking for boost/foreach.hpp... yes
checking boost/tuple/tuple.hpp usability... yes
checking boost/tuple/tuple.hpp presence... yes
checking for boost/tuple/tuple.hpp... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for glibmm... yes
checking for gdkmm... yes
checking for gerbv... yes
checking for ANSI C header files... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Код: Выделить всё

nkp@nkp-desktop:~/pcb2gcode-1.1.4$ make
make  all-recursive
make[1]: Вход в каталог `/home/nkp/pcb2gcode-1.1.4'
Making all in man
make[2]: Вход в каталог `/home/nkp/pcb2gcode-1.1.4/man'
make[2]: Цель `all' не требует выполнения команд.
make[2]: Выход из каталога `/home/nkp/pcb2gcode-1.1.4/man'
make[2]: Вход в каталог `/home/nkp/pcb2gcode-1.1.4'
g++ -DHAVE_CONFIG_H -I.  -I/usr/include -pthread -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -D_REENTRANT -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0/   -pthread -D_REENTRANT -I/usr/include/gerbv-2.4.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12     -g -O2 -MT svg_exporter.o -MD -MP -MF .deps/svg_exporter.Tpo -c -o svg_exporter.o svg_exporter.cpp
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from svg_exporter.hpp:46,
                 from svg_exporter.cpp:26:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:69:1: warning: "PACKAGE" redefined
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from svg_exporter.hpp:36,
                 from svg_exporter.cpp:26:
./config.h:60:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from svg_exporter.hpp:46,
                 from svg_exporter.cpp:26:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:72:1: warning: "PACKAGE_BUGREPORT" redefined
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from svg_exporter.hpp:36,
                 from svg_exporter.cpp:26:
./config.h:63:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from svg_exporter.hpp:46,
                 from svg_exporter.cpp:26:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:75:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from svg_exporter.hpp:36,
                 from svg_exporter.cpp:26:
./config.h:66:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from svg_exporter.hpp:46,
                 from svg_exporter.cpp:26:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:78:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from svg_exporter.hpp:36,
                 from svg_exporter.cpp:26:
./config.h:69:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from svg_exporter.hpp:46,
                 from svg_exporter.cpp:26:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:81:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from svg_exporter.hpp:36,
                 from svg_exporter.cpp:26:
./config.h:72:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from svg_exporter.hpp:46,
                 from svg_exporter.cpp:26:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:84:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from svg_exporter.hpp:36,
                 from svg_exporter.cpp:26:
./config.h:78:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from svg_exporter.hpp:46,
                 from svg_exporter.cpp:26:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:90:1: warning: "VERSION" redefined
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from svg_exporter.hpp:36,
                 from svg_exporter.cpp:26:
./config.h:84:1: warning: this is the location of the previous definition
mv -f .deps/svg_exporter.Tpo .deps/svg_exporter.Po
g++ -DHAVE_CONFIG_H -I.  -I/usr/include -pthread -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -D_REENTRANT -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0/   -pthread -D_REENTRANT -I/usr/include/gerbv-2.4.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12     -g -O2 -MT board.o -MD -MP -MF .deps/board.Tpo -c -o board.o board.cpp
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from board.cpp:21:
./config.h:60:1: warning: "PACKAGE" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from board.cpp:21:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:69:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from board.cpp:21:
./config.h:63:1: warning: "PACKAGE_BUGREPORT" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from board.cpp:21:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:72:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from board.cpp:21:
./config.h:66:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from board.cpp:21:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:75:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from board.cpp:21:
./config.h:69:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from board.cpp:21:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:78:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from board.cpp:21:
./config.h:72:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from board.cpp:21:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:81:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from board.cpp:21:
./config.h:78:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from board.cpp:21:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:84:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from board.cpp:21:
./config.h:84:1: warning: "VERSION" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from board.cpp:21:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:90:1: warning: this is the location of the previous definition
mv -f .deps/board.Tpo .deps/board.Po
g++ -DHAVE_CONFIG_H -I.  -I/usr/include -pthread -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -D_REENTRANT -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0/   -pthread -D_REENTRANT -I/usr/include/gerbv-2.4.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12     -g -O2 -MT drill.o -MD -MP -MF .deps/drill.Tpo -c -o drill.o drill.cpp
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from svg_exporter.hpp:46,
                 from drill.hpp:48,
                 from drill.cpp:29:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:69:1: warning: "PACKAGE" redefined
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from drill.hpp:39,
                 from drill.cpp:29:
./config.h:60:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from svg_exporter.hpp:46,
                 from drill.hpp:48,
                 from drill.cpp:29:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:72:1: warning: "PACKAGE_BUGREPORT" redefined
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from drill.hpp:39,
                 from drill.cpp:29:
./config.h:63:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from svg_exporter.hpp:46,
                 from drill.hpp:48,
                 from drill.cpp:29:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:75:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from drill.hpp:39,
                 from drill.cpp:29:
./config.h:66:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from svg_exporter.hpp:46,
                 from drill.hpp:48,
                 from drill.cpp:29:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:78:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from drill.hpp:39,
                 from drill.cpp:29:
./config.h:69:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from svg_exporter.hpp:46,
                 from drill.hpp:48,
                 from drill.cpp:29:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:81:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from drill.hpp:39,
                 from drill.cpp:29:
./config.h:72:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from svg_exporter.hpp:46,
                 from drill.hpp:48,
                 from drill.cpp:29:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:84:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from drill.hpp:39,
                 from drill.cpp:29:
./config.h:78:1: warning: this is the location of the previous definition
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from svg_exporter.hpp:46,
                 from drill.hpp:48,
                 from drill.cpp:29:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:90:1: warning: "VERSION" redefined
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from drill.hpp:39,
                 from drill.cpp:29:
./config.h:84:1: warning: this is the location of the previous definition
mv -f .deps/drill.Tpo .deps/drill.Po
g++ -DHAVE_CONFIG_H -I.  -I/usr/include -pthread -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -D_REENTRANT -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0/   -pthread -D_REENTRANT -I/usr/include/gerbv-2.4.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12     -g -O2 -MT gerberimporter.o -MD -MP -MF .deps/gerberimporter.Tpo -c -o gerberimporter.o gerberimporter.cpp
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from gerberimporter.cpp:21:
./config.h:60:1: warning: "PACKAGE" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from gerberimporter.cpp:21:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:69:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from gerberimporter.cpp:21:
./config.h:63:1: warning: "PACKAGE_BUGREPORT" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from gerberimporter.cpp:21:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:72:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from gerberimporter.cpp:21:
./config.h:66:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from gerberimporter.cpp:21:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:75:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from gerberimporter.cpp:21:
./config.h:69:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from gerberimporter.cpp:21:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:78:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from gerberimporter.cpp:21:
./config.h:72:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from gerberimporter.cpp:21:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:81:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from gerberimporter.cpp:21:
./config.h:78:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from gerberimporter.cpp:21:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:84:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from gerberimporter.cpp:21:
./config.h:84:1: warning: "VERSION" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from gerberimporter.cpp:21:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:90:1: warning: this is the location of the previous definition
mv -f .deps/gerberimporter.Tpo .deps/gerberimporter.Po
g++ -DHAVE_CONFIG_H -I.  -I/usr/include -pthread -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -D_REENTRANT -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0/   -pthread -D_REENTRANT -I/usr/include/gerbv-2.4.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12     -g -O2 -MT layer.o -MD -MP -MF .deps/layer.Tpo -c -o layer.o layer.cpp
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from layer.hpp:13,
                 from layer.cpp:2:
./config.h:60:1: warning: "PACKAGE" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from layer.hpp:13,
                 from layer.cpp:2:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:69:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from layer.hpp:13,
                 from layer.cpp:2:
./config.h:63:1: warning: "PACKAGE_BUGREPORT" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from layer.hpp:13,
                 from layer.cpp:2:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:72:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from layer.hpp:13,
                 from layer.cpp:2:
./config.h:66:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from layer.hpp:13,
                 from layer.cpp:2:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:75:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from layer.hpp:13,
                 from layer.cpp:2:
./config.h:69:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from layer.hpp:13,
                 from layer.cpp:2:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:78:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from layer.hpp:13,
                 from layer.cpp:2:
./config.h:72:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from layer.hpp:13,
                 from layer.cpp:2:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:81:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from layer.hpp:13,
                 from layer.cpp:2:
./config.h:78:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from layer.hpp:13,
                 from layer.cpp:2:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:84:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from layer.hpp:13,
                 from layer.cpp:2:
./config.h:84:1: warning: "VERSION" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from layer.hpp:13,
                 from layer.cpp:2:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:90:1: warning: this is the location of the previous definition
mv -f .deps/layer.Tpo .deps/layer.Po
g++ -DHAVE_CONFIG_H -I.  -I/usr/include -pthread -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -D_REENTRANT -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0/   -pthread -D_REENTRANT -I/usr/include/gerbv-2.4.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12     -g -O2 -MT mill.o -MD -MP -MF .deps/mill.Tpo -c -o mill.o mill.cpp
mv -f .deps/mill.Tpo .deps/mill.Po
g++ -DHAVE_CONFIG_H -I.  -I/usr/include -pthread -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -D_REENTRANT -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0/   -pthread -D_REENTRANT -I/usr/include/gerbv-2.4.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12     -g -O2 -MT ngc_exporter.o -MD -MP -MF .deps/ngc_exporter.Tpo -c -o ngc_exporter.o ngc_exporter.cpp
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from ngc_exporter.hpp:41,
                 from ngc_exporter.cpp:20:
./config.h:60:1: warning: "PACKAGE" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from ngc_exporter.hpp:41,
                 from ngc_exporter.cpp:20:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:69:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from ngc_exporter.hpp:41,
                 from ngc_exporter.cpp:20:
./config.h:63:1: warning: "PACKAGE_BUGREPORT" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from ngc_exporter.hpp:41,
                 from ngc_exporter.cpp:20:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:72:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from ngc_exporter.hpp:41,
                 from ngc_exporter.cpp:20:
./config.h:66:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from ngc_exporter.hpp:41,
                 from ngc_exporter.cpp:20:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:75:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from ngc_exporter.hpp:41,
                 from ngc_exporter.cpp:20:
./config.h:69:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from ngc_exporter.hpp:41,
                 from ngc_exporter.cpp:20:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:78:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from ngc_exporter.hpp:41,
                 from ngc_exporter.cpp:20:
./config.h:72:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from ngc_exporter.hpp:41,
                 from ngc_exporter.cpp:20:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:81:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from ngc_exporter.hpp:41,
                 from ngc_exporter.cpp:20:
./config.h:78:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from ngc_exporter.hpp:41,
                 from ngc_exporter.cpp:20:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:84:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from ngc_exporter.hpp:41,
                 from ngc_exporter.cpp:20:
./config.h:84:1: warning: "VERSION" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from board.hpp:46,
                 from exporter.hpp:38,
                 from ngc_exporter.hpp:41,
                 from ngc_exporter.cpp:20:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:90:1: warning: this is the location of the previous definition
mv -f .deps/ngc_exporter.Tpo .deps/ngc_exporter.Po
g++ -DHAVE_CONFIG_H -I.  -I/usr/include -pthread -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -D_REENTRANT -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0/   -pthread -D_REENTRANT -I/usr/include/gerbv-2.4.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12     -g -O2 -MT surface.o -MD -MP -MF .deps/surface.Tpo -c -o surface.o surface.cpp
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from surface.cpp:20:
./config.h:60:1: warning: "PACKAGE" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from surface.cpp:20:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:69:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from surface.cpp:20:
./config.h:63:1: warning: "PACKAGE_BUGREPORT" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from surface.cpp:20:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:72:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from surface.cpp:20:
./config.h:66:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from surface.cpp:20:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:75:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from surface.cpp:20:
./config.h:69:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from surface.cpp:20:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:78:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from surface.cpp:20:
./config.h:72:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from surface.cpp:20:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:81:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from surface.cpp:20:
./config.h:78:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from surface.cpp:20:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:84:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from surface.hpp:39,
                 from surface.cpp:20:
./config.h:84:1: warning: "VERSION" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from surface.hpp:39,
                 from surface.cpp:20:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:90:1: warning: this is the location of the previous definition
mv -f .deps/surface.Tpo .deps/surface.Po
g++ -DHAVE_CONFIG_H -I.  -I/usr/include -pthread -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -D_REENTRANT -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0/   -pthread -D_REENTRANT -I/usr/include/gerbv-2.4.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12     -g -O2 -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o options.cpp
mv -f .deps/options.Tpo .deps/options.Po
g++ -DHAVE_CONFIG_H -I.  -I/usr/include -pthread -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -D_REENTRANT -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0/   -pthread -D_REENTRANT -I/usr/include/gerbv-2.4.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12     -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from main.cpp:35:
./config.h:60:1: warning: "PACKAGE" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from main.cpp:35:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:69:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from main.cpp:35:
./config.h:63:1: warning: "PACKAGE_BUGREPORT" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from main.cpp:35:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:72:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from main.cpp:35:
./config.h:66:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from main.cpp:35:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:75:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from main.cpp:35:
./config.h:69:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from main.cpp:35:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:78:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from main.cpp:35:
./config.h:72:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from main.cpp:35:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:81:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from main.cpp:35:
./config.h:78:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from main.cpp:35:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:84:1: warning: this is the location of the previous definition
In file included from /usr/include/gerbv-2.4.0/gerbv.h:66,
                 from gerberimporter.hpp:31,
                 from main.cpp:35:
./config.h:84:1: warning: "VERSION" redefined
In file included from /usr/include/cairomm-1.0/cairomm/cairomm.h:34,
                 from importer.hpp:28,
                 from gerberimporter.hpp:27,
                 from main.cpp:35:
/usr/include/cairomm-1.0/cairomm/cairommconfig.h:90:1: warning: this is the location of the previous definition
mv -f .deps/main.Tpo .deps/main.Po
/bin/bash ./libtool --tag=CXX   --mode=link g++  -g -O2 -L/usr/lib -R/usr/lib  -o pcb2gcode svg_exporter.o board.o drill.o gerberimporter.o layer.o mill.o ngc_exporter.o surface.o options.o main.o  -pthread -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0 -lrt -lglib-2.0   -pthread -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lgtk-x11-2.0 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -pthread -lgerbv -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lboost_program_options-mt
make[2]: Выход из каталога `/home/nkp/pcb2gcode-1.1.4'
make[1]: Выход из каталога `/home/nkp/pcb2gcode-1.1.4'

Код: Выделить всё

nkp@nkp-desktop:~/pcb2gcode-1.1.4$ sudo make install
[sudo] password for nkp: 
Making install in man
make[1]: Вход в каталог `/home/nkp/pcb2gcode-1.1.4/man'
make[2]: Вход в каталог `/home/nkp/pcb2gcode-1.1.4/man'
make[2]: Цель `install-exec-am' не требует выполнения команд.
 /bin/mkdir -p '/usr/local/share/man/man1'
 /usr/bin/install -c -m 644 pcb2gcode.1 '/usr/local/share/man/man1'
make[2]: Выход из каталога `/home/nkp/pcb2gcode-1.1.4/man'
make[1]: Выход из каталога `/home/nkp/pcb2gcode-1.1.4/man'
make[1]: Вход в каталог `/home/nkp/pcb2gcode-1.1.4'
/bin/bash ./libtool --tag=CXX   --mode=link g++  -g -O2 -L/usr/lib -R/usr/lib  -o pcb2gcode svg_exporter.o board.o drill.o gerberimporter.o layer.o mill.o ngc_exporter.o surface.o options.o main.o  -pthread -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0 -lrt -lglib-2.0   -pthread -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lgtk-x11-2.0 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -pthread -lgerbv -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lboost_program_options-mt
make[2]: Вход в каталог `/home/nkp/pcb2gcode-1.1.4'
/bin/bash ./libtool --tag=CXX   --mode=link g++  -g -O2 -L/usr/lib -R/usr/lib  -o pcb2gcode svg_exporter.o board.o drill.o gerberimporter.o layer.o mill.o ngc_exporter.o surface.o options.o main.o  -pthread -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0 -lrt -lglib-2.0   -pthread -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lgtk-x11-2.0 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -pthread -lgerbv -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lboost_program_options-mt
 /bin/mkdir -p '/usr/local/bin'
make[2]: Цель `install-data-am' не требует выполнения команд.
make[2]: Выход из каталога `/home/nkp/pcb2gcode-1.1.4'
make[1]: Выход из каталога `/home/nkp/pcb2gcode-1.1.4'
nkp@nkp-desktop:~/pcb2gcode-1.1.4$ 
могут ли эти warning быть причиной и что с ними делать??
Аватара пользователя
Serg
Мастер
Сообщения: 21923
Зарегистрирован: 17 апр 2012, 14:58
Репутация: 5183
Заслуга: c781c134843e0c1a3de9
Настоящее имя: Сергей
Откуда: Москва
Контактная информация:

Re: Как это сделать в Linux

Сообщение Serg »

warning warning'у рознь!
Надо разбираться почему эти символы redefined. Вероятно какой-то косяк в config.h.
бинарник pcb2gcode создаётся?
Я не Христос, рыбу не раздаю, но могу научить, как сделать удочку...
nkp
Мастер
Сообщения: 8340
Зарегистрирован: 28 ноя 2011, 00:25
Репутация: 1589
Контактная информация:

Re: Как это сделать в Linux

Сообщение nkp »

UAVpilot писал(а):бинарник pcb2gcode создаётся?
нет
Аватара пользователя
Serg
Мастер
Сообщения: 21923
Зарегистрирован: 17 апр 2012, 14:58
Репутация: 5183
Заслуга: c781c134843e0c1a3de9
Настоящее имя: Сергей
Откуда: Москва
Контактная информация:

Re: Как это сделать в Linux

Сообщение Serg »

Неудивительно...
Похоже там ещё Makefile презабавненько написан - на отваливается с руганью если не может собрать целевой файл...
Я не Христос, рыбу не раздаю, но могу научить, как сделать удочку...
nkp
Мастер
Сообщения: 8340
Зарегистрирован: 28 ноя 2011, 00:25
Репутация: 1589
Контактная информация:

Re: Как это сделать в Linux

Сообщение nkp »

Код: Выделить всё

$ git clone git:.......
$ cd pcb2gcode
$ ./git-build.sh
$ sudo make install
через git появился бинарник
Аватара пользователя
Сергей Саныч
Мастер
Сообщения: 9116
Зарегистрирован: 30 май 2012, 14:20
Репутация: 2858
Откуда: Тюмень
Контактная информация:

Re: Как это сделать в Linux

Сообщение Сергей Саныч »

Еще вопрос, касающийся COM-порта.
Чтобы использовать его как "ногодрыгалку" например, как здесь, в LinuxCNC нужно его каждый раз отключать от системы командой

Код: Выделить всё

sudo setserial /dev/ttyS0 uart none
но это неудобно, хотя бы потому, что надо каждый раз вводить пароль.
В документации обозначен альтернативный вариант:
but it is best to ensure that the serial port is never used or configured by the Linux kernel by setting a kernel commandline parameter or not loading the serial kernel module if it is a modularized driver.
но моих познаний в Линуксе недостаточно, чтобы сделать такую конфигурацию. Подскажите, куда копать :thinking:
Чудес не бывает. Бывают фокусы.
Аватара пользователя
PKM
Почётный участник
Почётный участник
Сообщения: 4263
Зарегистрирован: 31 мар 2011, 18:11
Репутация: 705
Настоящее имя: Андрей
Откуда: Украина
Контактная информация:

Re: Как это сделать в Linux

Сообщение PKM »

Вот похожее на правду, для Убунты

You can create /etc/serial.conf and put lines like
/dev/ttyS0 uart none
into it
Аватара пользователя
Serg
Мастер
Сообщения: 21923
Зарегистрирован: 17 апр 2012, 14:58
Репутация: 5183
Заслуга: c781c134843e0c1a3de9
Настоящее имя: Сергей
Откуда: Москва
Контактная информация:

Re: Как это сделать в Linux

Сообщение Serg »

в качестве простого и универсального способа можно команду
setserial /dev/ttyS0 uart none
добавить в /etc/rc.local, только проверьте, чтоб у файла были права на выполнение.
Я не Христос, рыбу не раздаю, но могу научить, как сделать удочку...
Аватара пользователя
Сергей Саныч
Мастер
Сообщения: 9116
Зарегистрирован: 30 май 2012, 14:20
Репутация: 2858
Откуда: Тюмень
Контактная информация:

Re: Как это сделать в Linux

Сообщение Сергей Саныч »

PKM писал(а):Вот похожее на правду, для Убунты

You can create /etc/serial.conf and put lines like
/dev/ttyS0 uart none
into it
Работает! :good:
Чудес не бывает. Бывают фокусы.
_taras_
Мастер
Сообщения: 546
Зарегистрирован: 16 мар 2011, 15:19
Репутация: 69
Контактная информация:

Re: Как это сделать в Linux

Сообщение _taras_ »

Убунта 14.04 32 бит. Необходимо установить плагин для гимпа wavelet-sharpen. При выполнении команды make
выскакивает ошибка

Код: Выделить всё

/usr/bin/ld: wavelet.o: неопределённая ссылка на символ «exp@@GLIBC_2.0»
//lib/i386-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [wavelet-sharpen] Ошибка 1
Поиск решения не увидел :(
Аватара пользователя
Serg
Мастер
Сообщения: 21923
Зарегистрирован: 17 апр 2012, 14:58
Репутация: 5183
Заслуга: c781c134843e0c1a3de9
Настоящее имя: Сергей
Откуда: Москва
Контактная информация:

Re: Как это сделать в Linux

Сообщение Serg »

Я всем новичками, которые не знают как устроена система (версии ядра, версии системных библиотек, взаимосвязи между ними и остальными программами и т.п.) советую стараться не устанавливать ничего из исходников. Считайте установку из исходников самой крайней мерой, после которой целостность системы не гарантируется. Это как потеря гарантии на сложный прибор. В современных Linux'ах Вашей главной командой поиска нужного софта должна стать команда

Код: Выделить всё

apt-cache search чтовамнадо
В данном случае скорее всего решение простое:

Код: Выделить всё

$ apt-cache search wavelet sharpen
gimp-plugin-registry - repository of optional extensions for GIMP
$
$ apt-cache show gimp-plugin-registry
Package: gimp-plugin-registry
Version: 5.20120621
Installed-Size: 4445
Maintainer: Bernd Zeimetz <bzed@debian.org>
Architecture: i386
Replaces: gimp-refocus (<< 0.9.0-2), gimp-resynthesizer, gimp-save-for-web
Provides: gimp-resynthesizer, gimp-save-for-web
Depends: gimp (>= 2.6), libatk1.0-0 (>= 1.12.4), libblas3 | libblas.so.3 | libatlas3-base, libc6 (>= 2.3.6-6~), libcairo2 (>= 1.2.4), libfftw3-3, libfontconfig1 (>= 2.9.0), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:4.1.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libgimp2.0 (>= 2.6), libgl1-mesa-glx | libgl1, libglew1.7 (>= 1.7.0), libglib2.0-0 (>= 2.31.8), libglu1-mesa | libglu1, libgtk2.0-0 (>= 2.14.0), libgtkglext1, libice6 (>= 1:1.0.0), libjpeg8 (>= 8c), liblapack3, liblcms1 (>= 1.15-1), liblqr-1-0 (>= 0.4.0), libpango1.0-0 (>= 1.14.0), libsm6, libstdc++6 (>= 4.6), libtiff4 (>> 3.9.5-3~), libx11-6, libxmu6, libxt6, python, libtiff-tools, xdg-utils
Recommends: gimp-gmic
Suggests: icc-profiles
Enhances: gimp
Breaks: gimp-refocus (<< 0.9.0-2), gimp-resynthesizer (<< 0.16-2~), gimp-save-for-web
Description-en: repository of optional extensions for GIMP
 The package contains the following plugins:
 .
   * Add Film Grain (2.8):
     Helps adding realistic film grain to BW images.
   * btn4ws (0.8.0.1):
     Generates a series of buttons in three states (passive, active, pressed)
     with various selectable effects on them, as well as XHTML, CSS and
     JavaScript code for using the buttons.
   * Black and White Film Simulation (1.1):
     Converts the selected layer into Black and White using
     the channel mixer. Tries to produce results resembling
     tonal qualities of film.
   * CMYK Tiff 2 PDF for Gimp (20090321):
     This plugin completes the prepress workflow of using Separate+ to generate
     CMYK Tiff images by allowing you to convert the saved CMYK Tiff image into
     a PDF file.
   * Contact Sheet (2.16):
     Generates a contact sheet(s) for a directory of images.
   * David's Batch Processor (1.1.9):
     A simple batch processing plugin for The Gimp - it allows
     the user to automatically perform operations (such as resize)
     on a collection of image files.
   * Diana-Holga2 (c):
     Diana/Holga Toys Cameras effect simulator.
   * El Samuko GIMP Scripts:
     * Antique Photo Border Script:
       This script simulates a yellowed and slightly jagged border
       like these of old photographies.
     * Che Guevara Script:
       This script generates a poster like the famous Che Guevara
       one from Jim Fitzpatrick.
     * Cyanotype Script:
       This script simulates the Cyanotype printing process.
     * Difference Layer Script
       This script generates two difference layers from the two layers
       on the top. It's similar to GIMP's built-in Grain Extract/Merge
       function, but the tonal range is bigger.
       Now you can apply further editing and "switch on/off" the
       adjustment by switching the visibility of the subtractive and
       the additive layer.
       Also you can change the modification intensity by changing the
       intensity of these two layers.
     * Erosion Sharpen:
       Sharpens the image with erosion and dilation.
     * Escape Line Script:
       This script creates escaping lines from any point. It's similar
       in function to the built-in Line-Nova Script, but much more
       flexible. So you can chose the center, the thickness, the angle,
       the length, the offset and the randomness.
     * Film Grain Script:
       This is yet another script which simulates the typical film grain
       of high ISO pictures.
     * First Photo Border Script:
       This script simulates the cut-off of the first picture of a film
       roll of cheap cameras like Lomo.
     * Lomo Script with Old Style Colors
       This script simulates the Lomo effect.
     * Movie 300 Script:
       This script simulates the color style of the movie "300".
     * National Geographic Script:
       This script simulates a high quality (portrait) photo like
       these from the National Geographic.
     * Obama "HOPE" Script:
       This script generates a poster like the famous Obama "HOPE"
       one from Shepard Fairey.
     * Rainy Landscape Script:
       This script changes a dry landscape to a wet one.
     * Photochrom Script:
       This script simulates a photochrom image, a lithographic printing
       process from the 1890's.
     * Sprocket Hole Script:
       This script simulates complete exposed 35mm film strips with frame
       numbers, lettering, overexposed sprocketholes and DX film edge barcodes.
     * Sunny Landscape Script:
       This script changes a rainy landscape to a sunny one.
     * Technicolor 2 Color Script:
       This script simulates the 2 Color Technicolor effect.
     * Technicolor 3 Color Script:
       This script simulates the 3 Color Technicolor effect.
     * Vintage Look Script:
       This script simulates a 70s vintage look.
      * Exposure Blend (1.3b):
        Prompt for 3 images in a bracketed exposure series (e.g. 0,-2,+2 EV)
        and blend these into a contrast enhanced image.
   * EZ Perspective:
     Specialized tool for easily correcting or changing perspective.
   * Fix-CA (3.0.2):
     Corrects chromatic aberration in photos
   * Focus-Blur (3.2.6):
     This plugin tries to simulate an out-of-focus blur
   * GIMP FX Foundry (r111):
     Probably the largest script collection available for The GIMP.
   * GIMP-Mask:
     Do and undo several popular image masking (that is, censoring)
     methods (CP, FL, Q0, MEKO).
   * Warming and Cooling Filters (May 24, 2010):
     Warm or cool an image using one of several methods:
     Wratten, Roy's Warm, Brauer's Warm, Pasty Cadaveric Look
   * Layer-Effects (4/12/2012):
     This is a series of scripts that implement various layer effects:
     Drop Shadow, Inner Shadow, Outer Glow, Inner Glow, Bevel and Emboss,
     Satin, Color Overlay, Gradient Overlay, Pattern Overlay, Stroke
   * Liquid Rescale (0.7.1):
     Content-aware rescaling. Keeps the features of the image while
     rescaling along a single direction.
   * Normalmap (1.2.2):
     Allows you to convert images into RGB normal maps for use in
     per-pixel lighting applications.
   * OpenRaster load/save handler (20110529-1d32622):
     OpenRaster is an effort by the Create project[1] to offer a standardized
     and open interchange format for raster-based applications. This plugin
     allows one to load and save files in the OpenRaster format.
   * Planet Render (1-2):
     Creates a planet. Color, size and sun orientation
     can be set.
   * Refocus (0.9.1):
     The GIMP plugin to refocus images using FIR Wiener filtering.
     During image processing operations such as scanning and scaling, images
     tend to get blurry. The blurred impression of these images is due to the
     fact that image pixels are averaged with their neighbors. Blurred images
     don't have sharp boundaries and look as though they have been taken with
     an unfocused camera.
   * Resynthesizer (2.0):
     Gimp plugin for texture synthesis
     This gimp plugin takes samples of textures, and synthesizes larger textures
     from them.  It can be used to extend textures (including making tileable
     textures), remove objects from textures, and make themed images.
   * Save for Web (0.29.0):
     Allows to experiment with various popular web format options. It shows
     an automatically updated preview and file size statistics.
   * Separate+ (0.5.8):
     Separate+ is a plug-in that generates color separations from an RGB
     image, proofs CMYK colors on the monitor and exports the CMYK TIFF file.
   * Smart Seperate Sharpening (2.8):
     This script implements a new version of smart sharpening (redux)
     combined with separate sharpen to give better results.
     You can find more about Smart Sharpening at
     http://www.gimpguru.org/Tutorials/SmartSharpening2/
   * Streak-Camera simulation (0.6):
     A streak camera images an object through a slit -
     thus getting a "one dimensional image". This image is
     propagated along the second dimension of the image plane
     at a constant speed. The result is a picture of the time
     dependency of the object.
   * Traditional Orton:
     This is an effect invented by Michael Orton in the 1990’s, which
     consists of taking two copies of an image, one blurred, and one sharp,
     and mixing them to produce an image with a dreamy quality. It is
     especially well suited to landscape and flower photography.
   * Wavelet Decompose (0.1.2):
     The wavelet decompose plugin decomposes a layer of an image into layers
     of wavelet scales. This means that you can edit the image on different
     detail scales (frequencies). The trivial recomposition of the image can
     be done by GIMP's layer modes so you can see the results of your
     modifications instantly. Among the applications are retouching, noise
     reduction, and enhancing global contrast.
   * Wavelet Denoise (0.3.1):
     The wavelet denoise plugin is a tool to selectively reduce noise in
     individual channels of an image with optional RGB<->YCbCr conversion.
     It has a user interface to adjust the amount of denoising applied. The
     wavelet nature of the algorithm makes the processing quite fast.
Description-md5: 8177e2880167359803290d820214b7b4
Tag: field::arts, implemented-in::c, implemented-in::c++,
 implemented-in::perl, implemented-in::python, implemented-in::scheme,
 interface::x11, role::plugin, suite::gimp, uitoolkit::gtk,
 works-with::image, works-with::image:raster
Section: graphics
Priority: optional
Filename: pool/main/g/gimp-plugin-registry/gimp-plugin-registry_5.20120621_i386.deb
Size: 1717014
MD5sum: fb043ed72e9e9a5d772c2d9062537498
SHA1: 38097bc5fc9ff4ad844958cc885785604b0731ea
SHA256: 2fa449de50d40b6d996dbfb92f2ab315fe502d8b236ca169bee3b363c3e96ae9

$
Полагаю в этом списке есть ваш плагин...
Я не Христос, рыбу не раздаю, но могу научить, как сделать удочку...
_taras_
Мастер
Сообщения: 546
Зарегистрирован: 16 мар 2011, 15:19
Репутация: 69
Контактная информация:

Re: Как это сделать в Linux

Сообщение _taras_ »

Этот плагин (gimp-plugin-registry) у меня стоит. И в нем отсутствует плагин такого функционалак как wavelet sharpen.
wavelet sharpen - по моему мнению лучший плагин для увеличения резкости изображения. И очень хочется запихнуть его.
Аватара пользователя
Serg
Мастер
Сообщения: 21923
Зарегистрирован: 17 апр 2012, 14:58
Репутация: 5183
Заслуга: c781c134843e0c1a3de9
Настоящее имя: Сергей
Откуда: Москва
Контактная информация:

Re: Как это сделать в Linux

Сообщение Serg »

Ну тогда ставьте из исходников.
Решение вашей проблемы описано на страничке плагина (первая ссылка в гугле)
Я не Христос, рыбу не раздаю, но могу научить, как сделать удочку...
_taras_
Мастер
Сообщения: 546
Зарегистрирован: 16 мар 2011, 15:19
Репутация: 69
Контактная информация:

Re: Как это сделать в Linux

Сообщение _taras_ »

UAVpilot у меня уже глаз замылился :freak: . Ткни пальцем на ссылку.
Аватара пользователя
Serg
Мастер
Сообщения: 21923
Зарегистрирован: 17 апр 2012, 14:58
Репутация: 5183
Заслуга: c781c134843e0c1a3de9
Настоящее имя: Сергей
Откуда: Москва
Контактная информация:

Re: Как это сделать в Linux

Сообщение Serg »

Я не Христос, рыбу не раздаю, но могу научить, как сделать удочку...
S500
Мастер
Сообщения: 301
Зарегистрирован: 22 сен 2014, 18:25
Репутация: 57
Контактная информация:

Re: Как это сделать в Linux

Сообщение S500 »

может это не по теме,
нo я не смог найти ответа на форуме.

скажите пожалуйста как сделать чтобы при открытии файла, нажимаете кнопку "o" открывалось сразу на флешку USB.
по моему тут надо что-то сделать, а что не знаю :thinking: .

Код: Выделить всё

PROGRAM_PREFIX = /USB  ###/home/xobi/linuxcnc/nc_files
спасибо за любую помощь :) .
Аватара пользователя
verser
Мастер
Сообщения: 1903
Зарегистрирован: 21 июл 2013, 22:28
Репутация: 1282
Настоящее имя: Сергей
Откуда: Тбилиси
Контактная информация:

Re: Как это сделать в Linux

Сообщение verser »

S500 писал(а): скажите пожалуйста как сделать чтобы при открытии файла, нажимаете кнопку "o" открывалось сразу на флешку USB.
по моему тут надо что-то сделать, а что не знаю :thinking: .

Код: Выделить всё

PROGRAM_PREFIX = /USB  ###/home/xobi/linuxcnc/nc_files
спасибо за любую помощь :) .
Думаю, в этот параметр надо задавать интересующую папку

Код: Выделить всё

[RS274NGC]
...
SUBROUTINE_PATH = /USB/nc_files
Аватара пользователя
Serg
Мастер
Сообщения: 21923
Зарегистрирован: 17 апр 2012, 14:58
Репутация: 5183
Заслуга: c781c134843e0c1a3de9
Настоящее имя: Сергей
Откуда: Москва
Контактная информация:

Re: Как это сделать в Linux

Сообщение Serg »

Теоретически достаточно указать в PROGRAM_PREFIX каталог, куда монтируется флешка. Но на практике такое делать не стоит т.к. будет ругань при отсутствии флешки. Да и флешки монтируются в разные каталоги в зависимости от имени флешки или её сер.номера.

Хотя помоему есть способ: в PROGRAM_PREFIX указать путь к каталогу Desktop - при монтировании флешки там создается ссылка на неё.
Я не Христос, рыбу не раздаю, но могу научить, как сделать удочку...
Ответить

Вернуться в «LinuxCNC»