LINUX.ORG.RU
решено ФорумMobile

libmtp not found

 


0

1

помогите пожалуйста разобраться с установкой simple-mtpfs я устанавливаю, скачивая архив с гит-репозитория: https://github.com/phatina/simple-mtpfs/

далее делаю всё, что там написано в readme:

kalinin@kalinin ~/VINT/misc2 $ 
kalinin@kalinin ~/simple-mtpfs-master $ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
src/makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
kalinin@kalinin ~/simple-mtpfs-master $ mkdir build && cd build
kalinin@kalinin ~/simple-mtpfs-master/build $ ../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 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 whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking for LIBMTP_Init in -lmtp... no
configure: error: libmtp not found

получаю сообщение о том, что в системе отсутствует библиотека libmtp. но она есть:

kalinin@kalinin ~/simple-mtpfs-master/build $ whereis libmtp
libmtp: /usr/local/lib/libmtp.so /usr/local/lib/libmtp.a /usr/local/lib/libmtp.la

а кроме того я час назад уже подключал планшет через mtpfs(но сейчас что-то поломалось и я снова не могу подключиться)


Установки пакет с заголовочными файлами этой библиотеки.

kostik87 ★★★★★
()
Ответ на: комментарий от arrecck

Он должен сам учиться думать. Зря дал точное указание, вот сходил бы он, да поискал пакет по содержанию, а именно наличию файла 'libmtp.h'.

kostik87 ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.