LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , , , , ,

Reply
 
Thread Tools
Old 07-12-2007, 08:17 AM   #1
toneill
LQ Newbie
 
Registered: Jul 2007
Location: North England
Distribution: Zenwalk 5
Posts: 8
Thanked: 0
Angry Installing gphoto2 and libusb-0.1.5


[Log in to get rid of this advertisement]
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.
toneill is offline  
Tag This Post , , , , ,
Reply With Quote
Old 07-12-2007, 09:12 AM   #2
weibullguy
PackManUtil Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Cross Linux from Scratch, Gentoo
Posts: 2,343
Blog Entries: 1
Thanked: 60
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
weibullguy is offline     Reply With Quote
Old 07-12-2007, 09:46 AM   #3
Marsolin
Member
 
Registered: Jul 2005
Posts: 124
Thanked: 0
Is there a particular reason that you aren't installed gphoto2 from the Ubuntu repositories? Installing the deb file will automatically manage the dependencies.
Marsolin is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 01:59 AM
libusb dependancy error when installing libmtp schneidz Linux - Software 5 01-11-2007 01:40 PM
installing gphoto2 on redhat 9 newlin Linux - Software 2 10-17-2004 03:59 PM
gphoto2 ? shanenin Linux - Software 0 12-26-2003 12:47 PM
gphoto2 php_rocks Linux - Software 0 08-30-2003 03:02 AM


All times are GMT -5. The time now is 11:31 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration