Сборка DEB пакета

Как правильно задавать вопросы Правильно сформулированный вопрос и его грамотное оформление способствует высокой вероятности получения достаточно содержательного и по существу ответа. Общая рекомендация по составлению тем: 1. Для начала воспользуйтесь поиском форума. 2. Укажите версию ОС вместе с разрядностью. Пример: LM 19.3 x64, LM Sarah x32 3. DE. Если вопрос касается двух, то через запятую. (xfce, KDE, cinnamon, mate) 4. Какое железо. (достаточно вывод inxi -Fxz в спойлере (как пользоваться спойлером смотрим здесь)) или же дать ссылку на hw-probe 5. Суть. Желательно с выводом консоли, логами. 6. Скрин. Просьба указывать 2, 3 и 4 независимо от того, имеет ли это отношение к вопросу или нет. Так же не забываем об общих правилах Как пример вот
Закрыто
Аватара пользователя

Автор темы
Я_Максим
Сообщения: 207
Зарегистрирован: 10 ноя 2017, 19:25
Решено: 1
Благодарил (а): 32 раза
Контактная информация:

Сборка DEB пакета

#1

10 ноя 2017, 19:35

Добрый вечер, нужно собрать из исходников ПО кумир, пакет для linux mint 18.2 пробовал вот с этого мана http://blog.swlogic.eu/2011/01/20/linu ... distribut/, на 3 пункте пишет bash: ./configure: Отказано в доступе, работаю от прав root
FX-8350 тащит

Аватара пользователя

rogoznik
Сообщения: 10015
Зарегистрирован: 27 июн 2017, 13:36
Решено: 128
Откуда: Нижний Тагил
Благодарил (а): 776 раз
Поблагодарили: 1950 раз
Контактная информация:

Сборка DEB пакета

#2

10 ноя 2017, 19:43

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

tar -xzvf name-version.tar.gz
  cd name-version
  ./configure
  make
  sudo make install
тут от рута только последняя команда запускается. Внимательней читай инструкции.
А где ошибки которыми ругается на тебя терминал?
А где ссылка на исходники которые пытаешься собрать?
Последний раз редактировалось пользователем 1 rogoznik; всего редактировалось раз: 10
ИзображениеИзображение

Аватара пользователя

Автор темы
Я_Максим
Сообщения: 207
Зарегистрирован: 10 ноя 2017, 19:25
Решено: 1
Благодарил (а): 32 раза
Контактная информация:

Сборка DEB пакета

#3

10 ноя 2017, 19:45

Пробовал и от простого пользователя
FX-8350 тащит

Аватара пользователя

Автор темы
Я_Максим
Сообщения: 207
Зарегистрирован: 10 ноя 2017, 19:25
Решено: 1
Благодарил (а): 32 раза
Контактная информация:

Сборка DEB пакета

#4

10 ноя 2017, 19:48

Скачиваю с вот этого сайтаhttp://nimof.ucoz.ru/publ/nastrojka_sis ... nt/2-1-0-4
FX-8350 тащит

Аватара пользователя

Автор темы
Я_Максим
Сообщения: 207
Зарегистрирован: 10 ноя 2017, 19:25
Решено: 1
Благодарил (а): 32 раза
Контактная информация:

Сборка DEB пакета

#5

10 ноя 2017, 19:51

ЛОГ
Вложения
log.jpg
FX-8350 тащит

Аватара пользователя

Автор темы
Я_Максим
Сообщения: 207
Зарегистрирован: 10 ноя 2017, 19:25
Решено: 1
Благодарил (а): 32 раза
Контактная информация:

Сборка DEB пакета

#6

10 ноя 2017, 19:51

FX-8350 тащит

Аватара пользователя

rogoznik
Сообщения: 10015
Зарегистрирован: 27 июн 2017, 13:36
Решено: 128
Откуда: Нижний Тагил
Благодарил (а): 776 раз
Поблагодарили: 1950 раз
Контактная информация:

Сборка DEB пакета

#7

10 ноя 2017, 20:00

в директории с исходниками выполни chmod a+x configure.py потом уже ./configure
ИзображениеИзображение

Аватара пользователя

Автор темы
Я_Максим
Сообщения: 207
Зарегистрирован: 10 ноя 2017, 19:25
Решено: 1
Благодарил (а): 32 раза
Контактная информация:

Сборка DEB пакета

#8

10 ноя 2017, 20:03

получилось но файл на 4 уровне найти не может
Вложения
лог2.jpg
FX-8350 тащит

Аватара пользователя

rogoznik
Сообщения: 10015
Зарегистрирован: 27 июн 2017, 13:36
Решено: 128
Откуда: Нижний Тагил
Благодарил (а): 776 раз
Поблагодарили: 1950 раз
Контактная информация:

Сборка DEB пакета

#9

10 ноя 2017, 20:07

Я_Максим писал(а):
10 ноя 2017, 20:03
получилось
Ничего не получилось. Ему qmake нужен. Как минимум тебе нужно сделать apt install qt4-qmake
ИзображениеИзображение

Аватара пользователя

Автор темы
Я_Максим
Сообщения: 207
Зарегистрирован: 10 ноя 2017, 19:25
Решено: 1
Благодарил (а): 32 раза
Контактная информация:

Сборка DEB пакета

#10

10 ноя 2017, 20:11

apt install qt4-qmake установлена проблема актуальна
FX-8350 тащит

Аватара пользователя

rogoznik
Сообщения: 10015
Зарегистрирован: 27 июн 2017, 13:36
Решено: 128
Откуда: Нижний Тагил
Благодарил (а): 776 раз
Поблагодарили: 1950 раз
Контактная информация:

Сборка DEB пакета

#11

10 ноя 2017, 20:14

Я_Максим писал(а):
10 ноя 2017, 20:11
проблема актуальна
Какая проблема?
ИзображениеИзображение

Аватара пользователя

Автор темы
Я_Максим
Сообщения: 207
Зарегистрирован: 10 ноя 2017, 19:25
Решено: 1
Благодарил (а): 32 раза
Контактная информация:

Сборка DEB пакета

#12

10 ноя 2017, 20:18

таже что и на втором скрине make наити не может
FX-8350 тащит

Аватара пользователя

rogoznik
Сообщения: 10015
Зарегистрирован: 27 июн 2017, 13:36
Решено: 128
Откуда: Нижний Тагил
Благодарил (а): 776 раз
Поблагодарили: 1950 раз
Контактная информация:

Сборка DEB пакета

#13

10 ноя 2017, 20:19

make рано еще делать.
1) Поставьте auto-apt
sudo apt-get install auto-apt

2) Распакуйте исходники программы, почитайте файл INSTALL, в каталоге с распакованными исходниками командуйте
sudo auto-apt update && auto-apt -y run ./configure
так попробуй
ИзображениеИзображение

Аватара пользователя

di_mok
Сообщения: 5469
Зарегистрирован: 27 авг 2016, 19:06
Решено: 32
Откуда: Арзамас
Благодарил (а): 1593 раза
Поблагодарили: 1276 раз
Контактная информация:

Сборка DEB пакета

#14

10 ноя 2017, 20:20

А вот, вроде как уже готовые есть http://repos.lpm.org.ru/kumir2/ubuntu/p ... /k/kumir2/
Настоящая водка — это не пьянство, а ключ к своей совести, с нее-то и начинается настоящая мудрость. (c)
Изображение

Аватара пользователя

Автор темы
Я_Максим
Сообщения: 207
Зарегистрирован: 10 ноя 2017, 19:25
Решено: 1
Благодарил (а): 32 раза
Контактная информация:

Сборка DEB пакета

#15

10 ноя 2017, 20:25

выполнил команды
FX-8350 тащит

Аватара пользователя

Автор темы
Я_Максим
Сообщения: 207
Зарегистрирован: 10 ноя 2017, 19:25
Решено: 1
Благодарил (а): 32 раза
Контактная информация:

Сборка DEB пакета

#16

11 ноя 2017, 13:17

При выполнений команды ./configure выходит ошибка configure: error: glib-2.0 not found or version too old (must be >= 2.26) как ее устранить!? :blush:

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

./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)
Последний раз редактировалось пользователем 1 Dja; всего редактировалось раз: 11
Причина: BB-code
FX-8350 тащит

Аватара пользователя

rogoznik
Сообщения: 10015
Зарегистрирован: 27 июн 2017, 13:36
Решено: 128
Откуда: Нижний Тагил
Благодарил (а): 776 раз
Поблагодарили: 1950 раз
Контактная информация:

Сборка DEB пакета

#17

11 ноя 2017, 18:37

Я_Максим, sudo apt install libglib2.0-0
ИзображениеИзображение

Аватара пользователя

vir0id
Сообщения: 2757
Зарегистрирован: 19 дек 2017, 18:48
Решено: 15
Откуда: Рига
Благодарил (а): 163 раза
Поблагодарили: 305 раз
Контактная информация:

Сборка DEB пакета

#18

14 янв 2018, 11:40

darkfenix писал(а):
11 ноя 2017, 18:37
sudo apt install libglib2.0-0
А какую версию он потянет? Нужна больше чем 2.26 ну или таже

Аватара пользователя

rogoznik
Сообщения: 10015
Зарегистрирован: 27 июн 2017, 13:36
Решено: 128
Откуда: Нижний Тагил
Благодарил (а): 776 раз
Поблагодарили: 1950 раз
Контактная информация:

Сборка DEB пакета

#19

14 янв 2018, 12:51

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
ИзображениеИзображение

Закрыто

Вернуться в «Иное программное обеспечение»

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 9 гостей