Страница 1 из 1
Сборка DEB пакета
Добавлено: 10 ноя 2017, 19:35
Я_Максим
Добрый вечер, нужно собрать из исходников ПО кумир, пакет для linux mint 18.2 пробовал вот с этого мана
http://blog.swlogic.eu/2011/01/20/linu ... distribut/, на 3 пункте пишет bash: ./configure: Отказано в доступе, работаю от прав root
Сборка DEB пакета
Добавлено: 10 ноя 2017, 19:43
rogoznik
Код: Выделить всё
tar -xzvf name-version.tar.gz
cd name-version
./configure
make
sudo make install
тут от рута только последняя команда запускается. Внимательней читай инструкции.
А где ошибки которыми ругается на тебя терминал?
А где ссылка на исходники которые пытаешься собрать?
Сборка DEB пакета
Добавлено: 10 ноя 2017, 19:45
Я_Максим
Пробовал и от простого пользователя
Сборка DEB пакета
Добавлено: 10 ноя 2017, 19:48
Я_Максим
Сборка DEB пакета
Добавлено: 10 ноя 2017, 19:51
Я_Максим
ЛОГ
Сборка DEB пакета
Добавлено: 10 ноя 2017, 19:51
Я_Максим
Сборка DEB пакета
Добавлено: 10 ноя 2017, 20:00
rogoznik
в директории с исходниками выполни chmod a+x configure.py
потом уже ./configure
Сборка DEB пакета
Добавлено: 10 ноя 2017, 20:03
Я_Максим
получилось но файл на 4 уровне найти не может
Сборка DEB пакета
Добавлено: 10 ноя 2017, 20:07
rogoznik
Я_Максим писал(а): ↑10 ноя 2017, 20:03
получилось
Ничего не получилось. Ему
qmake
нужен. Как минимум тебе нужно сделать
apt install qt4-qmake
Сборка DEB пакета
Добавлено: 10 ноя 2017, 20:11
Я_Максим
apt install qt4-qmake установлена проблема актуальна
Сборка DEB пакета
Добавлено: 10 ноя 2017, 20:14
rogoznik
Я_Максим писал(а): ↑10 ноя 2017, 20:11
проблема актуальна
Какая проблема?
Сборка DEB пакета
Добавлено: 10 ноя 2017, 20:18
Я_Максим
таже что и на втором скрине make наити не может
Сборка DEB пакета
Добавлено: 10 ноя 2017, 20:19
rogoznik
make
рано еще делать.
1) Поставьте auto-apt
sudo apt-get install auto-apt
2) Распакуйте исходники программы, почитайте файл INSTALL, в каталоге с распакованными исходниками командуйте
sudo auto-apt update && auto-apt -y run ./configure
так попробуй
Сборка DEB пакета
Добавлено: 10 ноя 2017, 20:20
di_mok
Сборка DEB пакета
Добавлено: 10 ноя 2017, 20:25
Я_Максим
выполнил команды
Сборка DEB пакета
Добавлено: 11 ноя 2017, 13:17
Я_Максим
При выполнений команды
./configure выходит ошибка
configure: error: glib-2.0 not found or version too old (must be >= 2.26) как ее устранить!?
Код: Выделить всё
./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 whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking whether gcc accepts -fdiagnostics-show-option... yes
checking whether gcc accepts -Wassign-enum... no
checking whether gcc accepts -Wbad-function-cast... yes
checking whether gcc accepts -Wcomment... yes
checking whether gcc accepts -Wconditional-uninitialized... no
checking whether gcc accepts -Wdeclaration-after-statement... yes
checking whether gcc accepts -Wfloat-conversion... yes
checking whether gcc accepts -Wfloat-equal... yes
checking whether gcc accepts -Wformat... yes
checking whether gcc accepts -Wformat-security... yes
checking whether gcc accepts -Wformat-signedness... yes
checking whether gcc accepts -Wimplicit... yes
checking whether gcc accepts -Wignored-qualifiers... yes
checking whether gcc accepts -Wlogical-not-parentheses... yes
checking whether gcc accepts -Wmaybe-uninitialized... yes
checking whether gcc accepts -Wmissing-braces... yes
checking whether gcc accepts -Wmissing-declarations... yes
checking whether gcc accepts -Wmissing-field-initializers... yes
checking whether gcc accepts -Wmissing-format-attribute... yes
checking whether gcc accepts -Wmissing-parameter-type... yes
checking whether gcc accepts -Wmissing-prototypes... yes
checking whether gcc accepts -Wmissing-variable-declarations... no
checking whether gcc accepts -Wnested-externs... yes
checking whether gcc accepts -Wno-long-long... yes
checking whether gcc accepts -Wno-unreachable-code... yes
checking whether gcc accepts -Wparentheses... yes
checking whether gcc accepts -Wpointer-arith... yes
checking whether gcc accepts -Wpointer-sign... yes
checking whether gcc accepts -Wredundant-decls... yes
checking whether gcc accepts -Wreturn-type... yes
checking whether gcc accepts -Wsequence-point... yes
checking whether gcc accepts -Wshadow... yes
checking whether gcc accepts -Wsign-compare... yes
checking whether gcc accepts -Wstrict-prototypes... yes
checking whether gcc accepts -Wswitch... yes
checking whether gcc accepts -Wswitch-default... yes
checking whether gcc accepts -Wtype-limits... yes
checking whether gcc accepts -Wundef... yes
checking whether gcc accepts -Wuninitialized... yes
checking whether gcc accepts -Wunreachable-code... yes
checking whether gcc accepts -Wunused-but-set-variable... yes
checking whether gcc accepts -Wunused-function... yes
checking whether gcc accepts -Wunused-label... yes
checking whether gcc accepts -Wunused-parameter... yes
checking whether gcc accepts -Wunused-result... yes
checking whether gcc accepts -Wunused-value... yes
checking whether gcc accepts -Wunused-variable... yes
checking whether gcc accepts -Wwrite-strings... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
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 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 a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
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 for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether ln -s works... yes
checking for perl... /usr/bin/perl
checking for python... /usr/bin/python
checking for ruby... /usr/bin/ruby
checking for nroff... true
checking for manual formatting macros... -mandoc
checking for option to disable ANSI color in manuals... none
checking if nroff accepts -Tlatin1 or -Tascii... -Tlatin1
checking for file... true
checking for -L option to file command... yes
checking for gnome-moz-remote... no
checking for mozilla... no
checking for firefox... firefox
checking for ar... (cached) ar
checking for CHECK... no
configure: WARNING: 'Check' testing framework not found. Check your environment
checking for GLIB... no
configure: error: glib-2.0 not found or version too old (must be >= 2.26)
Сборка DEB пакета
Добавлено: 11 ноя 2017, 18:37
rogoznik
Я_Максим, sudo apt install libglib2.0-0
Сборка DEB пакета
Добавлено: 14 янв 2018, 11:40
vir0id
darkfenix писал(а): ↑11 ноя 2017, 18:37
sudo apt install libglib2.0-0
А какую версию он потянет? Нужна больше чем 2.26 ну или таже
Сборка DEB пакета
Добавлено: 14 янв 2018, 12:51
rogoznik
vir0id писал(а): ↑14 янв 2018, 11:40
А какую версию он потянет
Код: Выделить всё
$ apt policy libglib2.0-0
libglib2.0-0:
Установлен: 2.48.2-0ubuntu1
Кандидат: 2.48.2-0ubuntu1
Таблица версий:
*** 2.48.2-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
100 /var/lib/dpkg/status
2.48.0-1ubuntu4 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages