LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (https://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   Trouble installing libmtp 1.1.6 to make xperia s recognized by Ubuntu 12.04 (https://www.linuxquestions.org/questions/linux-mobile-81/trouble-installing-libmtp-1-1-6-to-make-xperia-s-recognized-by-ubuntu-12-04-a-4175500228/)

charlemagne-is-my-son 04-01-2014 06:49 PM

Trouble installing libmtp 1.1.6 to make xperia s recognized by Ubuntu 12.04
 
1 Attachment(s)
I want my Ubuntu 12.04 to recognize my Sony Xperia S LT26i phone when it plugs in. qlix and gmtp fail. I am following the suggestion posted here. I am trying the 4th answer provided, by Sid.

I tried to install the latest version of libmtp downloaded from sourceforge via tarball. Following the INSTALL file attached below, I ran ./configure, but make fails:

Code:

checking for LIBUSB... no
checking for openusb_init in -lopenusb... no
checking for LIBUSB... no
checking for usb_open in -lusb... no
configure: error: *** libusb not found! (missing -dev/-devel package?) ***\n*** prefer to install libusb-1 if you can! ***
matt@matt-NV57H:~/Downloads/libmtp-1.1.6$ make
make: *** No targets specified and no makefile found.  Stop.

But when I check my package manager, I already have a version of libusb installed.

What to do?

gengisdave 04-02-2014 12:26 PM

search for libusb-devel

knudfl 04-02-2014 12:29 PM

Quote:

I already have a version of libusb installed.
The package "libusb" is not the complete libusb that you need to compile.

Please do : $ sudo apt-get install libusb-1.0-0-dev libusb-dev


All times are GMT -5. The time now is 12:34 AM.