Форум программистов
 

Восстановите пароль или Зарегистрируйтесь на форуме, о проблемах и с заказом рекламы пишите сюда - alarforum@yandex.ru, проверяйте папку спам!

Вернуться   Форум программистов > Операционные системы > Linux (Ubuntu, Debian, Red Hat, CentOS, Mint)
Регистрация

Восстановить пароль
Повторная активизация e-mail

Купить рекламу на форуме - 42 тыс руб за месяц

Ответ
 
Опции темы Поиск в этой теме
Старый 22.10.2016, 03:01   #1
DimOwl
Пользователь
 
Регистрация: 09.10.2008
Сообщений: 52
По умолчанию Ошибка при компилляции что делать?

Делаю по инструкции http://ifconfig.dk/freerdp/
Уже после этой команды в логе непонятки
Код:
sudo apt-get install build-essential git-core cmake libssl-dev libx11-dev libxext-dev libxinerama-dev \
libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev \
libxrandr-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
Цитата:
E: Unable to locate package libgstreamer0.10-dev
E: Couldn't find any package by glob 'libgstreamer0.10-dev'
E: Couldn't find any package by regex 'libgstreamer0.10-dev'
E: Unable to locate package libgstreamer-plugins-base0.10-dev
E: Couldn't find any package by glob 'libgstreamer-plugins-base0.10-dev'
E: Couldn't find any package by regex 'libgstreamer-plugins-base0.10-dev'
Следующая команда тоже несколько ошибок выдает
cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON .
Цитата:
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Потом make - сразу отказывает.




Вот лог, посмотрите пожалуйста что не так.
Вложения
Тип файла: txt VLOJENIE.txt (7.9 Кб, 142 просмотров)
DimOwl вне форума Ответить с цитированием
Старый 22.10.2016, 07:23   #2
p51x
Старожил
 
Регистрация: 15.02.2010
Сообщений: 15,706
По умолчанию

Цитата:
E: Unable to locate package libgstreamer0.10-dev
Проверяйте, какие у вас из источников включены. sudo apt-get update сделайте.

http://packages.ubuntu.com/ru/precis...reamer0.10-dev
p51x вне форума Ответить с цитированием
Старый 22.10.2016, 14:21   #3
DimOwl
Пользователь
 
Регистрация: 09.10.2008
Сообщений: 52
По умолчанию

Цитата:
Сообщение от p51x Посмотреть сообщение
Проверяйте, какие у вас из источников включены. sudo apt-get update сделайте.

http://packages.ubuntu.com/ru/precis...reamer0.10-dev
sudo apt-get update это я делал вчера несколько раз.

А ссылка эта для ubuntu подойдет для debian?
DimOwl вне форума Ответить с цитированием
Старый 22.10.2016, 14:27   #4
DimOwl
Пользователь
 
Регистрация: 09.10.2008
Сообщений: 52
По умолчанию

Источники это sources.list как я понял. У меня он такой:
Цитата:
#

# deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free

#deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free

deb http://http.kali.org/kali kali-rolling main non-free contrib
# deb-src http://http.kali.org/kali kali-rolling main non-free contrib
DimOwl вне форума Ответить с цитированием
Старый 22.10.2016, 15:32   #5
DimOwl
Пользователь
 
Регистрация: 09.10.2008
Сообщений: 52
По умолчанию

Заменил в sources.list на такие строки но все равно теже ошибки с libgstreamer0.10-dev

deb http://httpredir.debian.org/debian testing main contrib non-free
deb-src http://httpredir.debian.org/debian testing main contrib non-free
DimOwl вне форума Ответить с цитированием
Старый 22.10.2016, 15:41   #6
p51x
Старожил
 
Регистрация: 15.02.2010
Сообщений: 15,706
По умолчанию

Скачайте пакеты по ссылке и попробуйте поставить вручную. Проверьте в менеджере пакетов, который использутее, что включено. Например, новые версии убунты часто не включают не каноникал репозитарии или при обновлении могли выключить.
p51x вне форума Ответить с цитированием
Старый 22.10.2016, 20:51   #7
DimOwl
Пользователь
 
Регистрация: 09.10.2008
Сообщений: 52
По умолчанию

Цитата:
Сообщение от p51x Посмотреть сообщение
Проверьте в менеджере пакетов, который использутее, что включено.
Не понял что именно надо сделать?
Цитата:
root@kali:~# apt-get --help
apt 1.3~rc4 (amd64)
Usage: apt-get [options] command
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]

apt-get is a command line interface for retrieval of packages
and information about them from authenticated sources and
for installation, upgrade and removal of packages together
with their dependencies.

Most used commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.deb)
remove - Remove packages
purge - Remove packages and config files
autoremove - Remove automatically all unused packages
dist-upgrade - Distribution upgrade, see apt-get(8)
dselect-upgrade - Follow dselect selections
build-dep - Configure build-dependencies for source packages
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies
source - Download source archives
download - Download the binary package into the current directory
changelog - Download and display the changelog for the given package

See apt-get(8) for more information about the available commands.
Configuration options and syntax is detailed in apt.conf(5).
Information about how to configure sources can be found in sources.list(5).
Package and version choices can be expressed via apt_preferences(5).
Security details are available in apt-secure(8).
This APT has Super Cow Powers.
root@kali:~#
Как устанавливать пакеты из файла? Гуглить пока не получается. В лучшем случае какие-то общие инструкции для Ubuntu попадаются.
DimOwl вне форума Ответить с цитированием
Старый 22.10.2016, 21:19   #8
DimOwl
Пользователь
 
Регистрация: 09.10.2008
Сообщений: 52
По умолчанию

Нашел способ установки dpkg из файла, но похоже так невозможно установить из-за массы зависимостей.
Цитата:
root@kali:~# cd /root/Documents/1
root@kali:~/Documents/1# dpkg --install libgstreamer0.10-dev_0.10.36-1ubuntu1_amd64.deb
Selecting previously unselected package libgstreamer0.10-dev.
(Reading database ... 348684 files and directories currently installed.)
Preparing to unpack libgstreamer0.10-dev_0.10.36-1ubuntu1_amd64.deb ...
Unpacking libgstreamer0.10-dev (0.10.36-1ubuntu1) ...
dpkg: dependency problems prevent configuration of libgstreamer0.10-dev:
libgstreamer0.10-dev depends on libgstreamer0.10-0 (= 0.10.36-1ubuntu1); however:
Package libgstreamer0.10-0 is not installed.
libgstreamer0.10-dev depends on pkg-config; however:
Package pkg-config is not installed.
libgstreamer0.10-dev depends on libglib2.0-dev; however:
Package libglib2.0-dev is not installed.
libgstreamer0.10-dev depends on libxml2-dev; however:
Package libxml2-dev is not installed.
libgstreamer0.10-dev depends on gir1.2-gstreamer-0.10 (= 0.10.36-1ubuntu1); however:
Package gir1.2-gstreamer-0.10 is not installed.

dpkg: error processing package libgstreamer0.10-dev (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
libgstreamer0.10-dev
root@kali:~/Documents/1#
DimOwl вне форума Ответить с цитированием
Старый 22.10.2016, 21:43   #9
DimOwl
Пользователь
 
Регистрация: 09.10.2008
Сообщений: 52
По умолчанию

https://www.reddit.com/r/Demonsaw/co...t_version_x64/

Тут тоже про эту проблему пишут. Попробовал делать как там советуют, но не помогло.
DimOwl вне форума Ответить с цитированием
Старый 22.10.2016, 22:01   #10
pompiduskus
юзер как все
Участник клуба
 
Аватар для pompiduskus
 
Регистрация: 10.01.2012
Сообщений: 1,586
По умолчанию

Нельзя просто так взять и поменять dist вsource.
Вы так просто убъете нахрен всю OS.

Но если уж очень хочется то нужно подобрать хотя бы примерно релизы.

Смысл такой:

Kali Sana != Debian Wheezy
Kali Sana == Debian Jessie

Надеюсь понятно ?

Берете версию Debina которая ближе всего в вашей Kali

И подключаете репозитории от Debian. Я лично проверил, все работает.
Но у меня Wheezy.

BASH:
Код:
ch3ll0v3k@ch3ll:~$ sudo apt-get install build-essential git-core cmake libssl-dev libx11-dev libxext-dev libxinerama-dev \
> libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev \
> libxrandr-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
[sudo] password for ch3ll0v3k: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libasound2-dev is already the newest version.
build-essential is already the newest version.
build-essential set to manually installed.
cmake is already the newest version.
libx11-dev is already the newest version.
libx11-dev set to manually installed.
libxcursor-dev is already the newest version.
libxcursor-dev set to manually installed.
libxext-dev is already the newest version.
libxext-dev set to manually installed.
libxinerama-dev is already the newest version.
libxinerama-dev set to manually installed.
libxrandr-dev is already the newest version.
libxrandr-dev set to manually installed.
libxv-dev is already the newest version.
libxv-dev set to manually installed.
libxml2 is already the newest version.
libxml2 set to manually installed.
libssl-dev is already the newest version.
The following extra packages will be installed:
  autopoint comerr-dev debhelper gettext html2text intltool-debian krb5-multidev libgettextpo0 libgnutls-dev
  libgnutls-openssl27 libgnutlsxx27 libgssrpc4 libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkrb5-dev
  libmail-sendmail-perl libp11-kit-dev libsys-hostname-long-perl libtasn1-3-dev po-debconf x11proto-damage-dev
Suggested packages:
  doc-base dh-make gettext-doc krb5-doc gnutls26-doc krb5-user gstreamer0.10-doc libmail-box-perl
The following NEW packages will be installed:
  autopoint comerr-dev debhelper gettext git-core html2text intltool-debian krb5-multidev libcups2-dev libgettextpo0
  libgnutls-dev libgnutls-openssl27 libgnutlsxx27 libgssrpc4 libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev
  libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkrb5-dev libmail-sendmail-perl libp11-kit-dev libsys-hostname-long-perl
  libtasn1-3-dev libxdamage-dev libxkbfile-dev libxml2-dev po-debconf x11proto-damage-dev
0 upgraded, 29 newly installed, 0 to remove and 2 not upgraded.
Need to get 9,799 kB of archives.
After this operation, 25.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
/etc/apt/source.list
Код:
ch3ll0v3k@ch3ll:~$ cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 7.3.0 _Wheezy_ - Official i386 DVD Binary-1 20131215-03:40]/ wheezy contrib main
# deb cdrom:[Debian GNU/Linux 7.3.0 _Wheezy_ - Official i386 DVD Binary-1 20131215-03:40]/ wheezy contrib main
# ::::::::
# JESSIE
#deb http://ftp.be.debian.org/debian/ jessie main non-free contrib
#deb-src http://ftp.be.debian.org/debian/ jessie main non-free contrib

#deb http://security.debian.org/ jessie/updates main contrib non-free
#deb-src http://security.debian.org/ jessie/updates main contrib non-free

#deb http://ftp.be.debian.org/debian/ jessie-updates main contrib non-free
#deb-src http://ftp.be.debian.org/debian/ jessie-updates main contrib non-free

# ::::::::
# WHEEZY
deb http://ftp.be.debian.org/debian/ wheezy main non-free contrib
deb-src http://ftp.be.debian.org/debian/ wheezy main non-free contrib

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

deb http://ftp.be.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.be.debian.org/debian/ wheezy-updates main contrib non-free

# ::::::::
#deb http://http.debian.net/debian jessie-backports main

# ::::::::
#deb http://ppa.launchpad.net/mapeditor.org/tiled/ubuntu trusty main
#deb-src http://ppa.launchpad.net/mapeditor.org/tiled/ubuntu trusty main
# ::::::::
# Kali :D

#deb http://http.kali.org/kali sana main non-free contrib
#deb http://security.kali.org/kali-security sana/updates main contrib non-free

# MetaSploit
#deb http://downloads.metasploit.com/data/releases/metasploit-framework/apt wheezy main

# ::::::::
# Backports -> aptitude -t wheezy-backports install "package"

# : deb http://http.debian.net/debian-backports squeeze-backports(-sloppy) main 
#deb http://http.debian.net/debian wheezy-backports main non-free contrib
#deb http://ftp.be.debian.org/debian/ squeeze main non-free contrib

# Backports -> MIRRIRS
#deb http://ftp.de.debian.org/debian wheezy-backports main contrib non-free

# ::::::::
# SID
#deb http://ftp.debian.org/debian sid main non-free contrib

# ::::::::
# deb http://download.virtualbox.org/virtualbox/debian wheezy contrib
# 'DEIST' -> :
#    'vivid'
#    'utopic'
#    'trusty'
#    'raring'
#    'quantal'
#    'precise'
#    'lucid'
#    'jessie'
#    'wheezy'
#    'squeeze'.


#sudo apt-key add oracle_vbox_2016.asc
#sudo apt-key add oracle_vbox.asc
#or combine downloading and registering:

#wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
#wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
#The key fingerprint for oracle_vbox_2016.asc is

# B9F8 D658 297A F3EF C18D  5CDF A2F6 83C5 2980 AECF
# Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>
# The key fingerprint for oracle_vbox.asc is

#7 B0F AB3A 13B9 0743 5925  D9C9 5442 2A4B 98AB 5139
# Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>
# (As of VirtualBox 3.2, the signing key was changed. 

# ::::::::
# http://gnuradio.org/releases/gnuradio/

# libsoapysdr-dev libsoapysdr0.5-2 python-soapysdr soapysdr-tools >>

# http://ftp.us.debian.org/debian/pool/main/s/soapysdr/
#deb http://ftp.debian.org/debian sid main non-free contrib

# ::::::::
# Debian multi-media

#deb http://www.deb-multimedia.org wheezy main non-free contrib
#or
#deb ftp://ftp.deb-multimedia.org wheezy main non-free contrib
#or
#deb http://www.deb-multimedia.org oldstable main non-free contrib
#or
#deb ftp://ftp.deb-multimedia.org oldstable main non-free contrib


# ::::::::
#------------------------------------------------------------------------------#
#                            OFFICIAL UBUNTU REPOS                             #
#------------------------------------------------------------------------------#

###### Ubuntu Main Repos
#deb http://be.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse

###### Ubuntu Update Repos
#deb http://be.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

###### Ubuntu Partner Repo
#deb http://archive.canonical.com/ubuntu trusty partner

###### Ubuntu Extras Repo
#deb http://extras.ubuntu.com/ubuntu trusty main

# Ubuntu >> PRECISE <<
#deb http://cz.archive.ubuntu.com/ubuntu precise main universe
# ::::::::
# python-kivy

#deb http://ppa.launchpad.net/kivy-team/kivy/ubuntu trusty main
# ::::::::
# ::::::::
#deb https://dl.bintray.com/tvheadend/deb wheezy COMPONENT
#deb-src https://dl.bintray.com/tvheadend/deb wheezy COMPONENT
#deb https://dl.bintray.com/tvheadend/deb DISTRO BUILDTYPE
<Дзен - Вся вселенная в тебе > | Резюме: https://ch3ll0v3k.github.io/CV/

Последний раз редактировалось pompiduskus; 22.10.2016 в 22:06.
pompiduskus вне форума Ответить с цитированием
Ответ


Купить рекламу на форуме - 42 тыс руб за месяц

Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск


Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
Ошибка при компилляции Артем_дмитриев Общие вопросы C/C++ 6 19.01.2014 19:15
Ошибка 214735257. Что делать? cerberochek Microsoft Office Access 11 08.04.2011 15:45
Ошибка при компилляции в Delphi 2007 кода assembler tuition Assembler - Ассемблер (FASM, MASM, WASM, NASM, GoASM, Gas, RosAsm, HLA) и не рекомендуем TASM 6 10.12.2010 14:59
ошибка (не знаю что делать)... retype Помощь студентам 1 16.05.2010 21:26