LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-12-2007, 07:17 AM   #1
toneill
LQ Newbie
 
Registered: Jul 2007
Location: North England
Distribution: Zenwalk 5
Posts: 8

Rep: Reputation: 0
Angry Installing gphoto2 and libusb-0.1.5


Im having a lot of trouble trying to install gphoto2 on my Xubuntu Linux machine. Its my first time trying to install software on a Linux box and its proving very difficult. I originally went down the route of RPM packages however I soon found that certain packages would not install as dependences werenít satisfied even though I acquired those packages and installed them. I read on a tutorial (building and installing software on linux) that this can happen as certain libs are not exactly the same version in the two pakages or something like that. So I thought sod it Iíll have a go via source code. I download the latest version of gphoto2-suite and ran. /configure and found that I needed to install libusb-0.1.5 as the version on my system was version 0.1.4. I thought no problem Iíll download the correct version, which I did, I untared it and the files were placed in the /usr/lib directory. I then ran ./configure again and the same error was returned. Looking in the archive libusb-0.1.5 there I two object files I believe they are called Ė but the file names are libusb-0.4.1so.4 and some thing else (sorry im doing this form memory and as im not connected to the net and im having to use some one eles machine) the thing is do I just untar these libusb files and thatís it or do I have to do something else to them. How do I install this libusb. Any help will be greatly appreciated. Thank You.
 
Old 07-12-2007, 08:12 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,741
Blog Entries: 1

Rep: Reputation: 224Reputation: 224Reputation: 224
After you unpack the source code, you have to configure, compile, link, and install it.
Code:
wget http://prdownloads.sourceforge.net/libusb/libusb-0.1.12.tar.gz &&
./configure --prefix=/usr --disable-build-docs &&
make &&
sudo make install
 
Old 07-12-2007, 08:46 AM   #3
Marsolin
Member
 
Registered: Jul 2005
Posts: 124

Rep: Reputation: 15
Is there a particular reason that you aren't installed gphoto2 from the Ubuntu repositories? Installing the deb file will automatically manage the dependencies.
 
  


Reply

Tags
cam, digital, installing, libusb, xubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
driver help with libusb halfwit Linux - Hardware 19 01-23-2008 12:59 AM
libusb dependancy error when installing libmtp schneidz Linux - Software 5 01-11-2007 12:40 PM
installing gphoto2 on redhat 9 newlin Linux - Software 2 10-17-2004 02:59 PM
gphoto2 ? shanenin Linux - Software 0 12-26-2003 11:47 AM
gphoto2 php_rocks Linux - Software 0 08-30-2003 02:02 AM


All times are GMT -5. The time now is 01:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration