Photo Installation on Centos

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Photo Installation on Centos

Rusen Oktem
Hi,

Has anyone tried installing Gphoto2 on Centos (Redhat)? Is there a page with a nice description of how to do it, I am having troubles with library dependencies.

Thanks,
Rusen


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gphoto-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-user
Reply | Threaded
Open this post in threaded view
|

Re: Photo Installation on Centos

Hubert Figuière-2
On 19/01/17 07:30 PM, Rusen Oktem wrote:

> Has anyone tried installing Gphoto2 on Centos (Redhat)? Is there a page with a nice description of how to do it, I am having troubles with library dependencies.

Which version of CentOS and what dependencies in particular?

Most of what you need should be available via yum, and CentOS 7.3 is
fairly recent.

Hub


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gphoto-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-user
Reply | Threaded
Open this post in threaded view
|

Re: Photo Installation on Centos

Rusen Oktem
I have Centos 6.8  I figured out that my best option is using rpm files for libgphoto2 and gphoto2, but I couldn’t get past the library dependencies of libgphoto2. yum worked for many of them but I couldn’t manage with

libc
libgd
libexif

Thanks,
Rusen


> On Jan 19, 2017, at 5:20 PM, Hubert Figuière <[hidden email]> wrote:
>
> On 19/01/17 07:30 PM, Rusen Oktem wrote:
>
>> Has anyone tried installing Gphoto2 on Centos (Redhat)? Is there a page with a nice description of how to do it, I am having troubles with library dependencies.
>
> Which version of CentOS and what dependencies in particular?
>
> Most of what you need should be available via yum, and CentOS 7.3 is
> fairly recent.
>
> Hub
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gphoto-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-user
Reply | Threaded
Open this post in threaded view
|

Re: Photo Installation on Centos

Hubert Figuière-2
On 20/01/17 01:15 PM, Rusen Oktem wrote:

> I have Centos 6.8  I figured out that my best option is using rpm
> files for libgphoto2 and gphoto2, but I couldn’t get past the library
> dependencies of libgphoto2. yum worked for many of them but I
> couldn’t manage with
>

libgphoto2 should be available in CentOS 6.8, but it probably is quite old.

"Third-party" RPM (ie not from the distro) might not be the best option.
Make sure they are for the right version if you really want to go that
route, otherwise they will depend on the wrong versions... (you list
libc, that's the first indication they are not for CentOS 6.8)

If you really need a recent version libgphoto2 and gphoto2, building
from source might be the only easy way.


Hub


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gphoto-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-user
Reply | Threaded
Open this post in threaded view
|

Re: Photo Installation on Centos

Rusen Oktem
I see, I will try that. Thanks.

Rusen


> On Jan 20, 2017, at 10:35 AM, Hubert Figuière <[hidden email]> wrote:
>
> On 20/01/17 01:15 PM, Rusen Oktem wrote:
>
>> I have Centos 6.8  I figured out that my best option is using rpm
>> files for libgphoto2 and gphoto2, but I couldn’t get past the library
>> dependencies of libgphoto2. yum worked for many of them but I
>> couldn’t manage with
>>
>
> libgphoto2 should be available in CentOS 6.8, but it probably is quite old.
>
> "Third-party" RPM (ie not from the distro) might not be the best option.
> Make sure they are for the right version if you really want to go that
> route, otherwise they will depend on the wrong versions... (you list
> libc, that's the first indication they are not for CentOS 6.8)
>
> If you really need a recent version libgphoto2 and gphoto2, building
> from source might be the only easy way.
>
>
> Hub
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gphoto-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-user
Reply | Threaded
Open this post in threaded view
|

Re: Photo Installation on Centos

Rusen Oktem
In reply to this post by Rusen Oktem
Hi,

Thanks for your document Peter. Getting some help from your  document and also following Hub’s recommendation, I tried building from the source.
With libgphoto2,  ltdl installation worked when I used
yum install libtool-ltdl-devel

For gphoto2,  popt library installation worked with  
yum install popt-devel

So now I have installed gphoto2 version 2.5.11 and libgphoto2 version 2.5.12. I connected my Sony a5100 camera  but it does not work.  I get the following responses for the following commands

gphoto2 --auto-detect
Model                          Port                                            
----------------------------------------------------------
Nikon DSC D750                 usb:001,001     

(for Sony camera) even when there is no device connected 


gphoto2 --list-ports
Devices found: 7
Path                             Description
--------------------------------------------------------------
ptpip:                           PTP/IP Connection               
serial:/dev/ttyS0                Serial Port 0                   
serial:/dev/ttyS1                Serial Port 1                   
serial:/dev/ttyS2                Serial Port 2                   
serial:/dev/ttyS3                Serial Port 3                   
serial:                          Serial Port Device              
usb:001,001                      Universal Serial Bus            


lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 018: ID 054c:07cc Sony Corp. 
Bus 002 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 002 Device 004: ID 05e3:0610 Genesys Logic, Inc. 4-port hub

Did anyone have similar problem, any idea if it is the gphoto version or the device I am using?

Thanks,
Rusen





On Jan 19, 2017, at 6:33 PM, [hidden email] wrote:

Here attached are my notes on installing gphoto2 on a linux mint system.
This might be of some help.

Peter

Hi,

Has anyone tried installing Gphoto2 on Centos (Redhat)? Is there a page
with a nice description of how to do it, I am having troubles with library
dependencies.

Thanks,
Rusen


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gphoto-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-user



--
Peter Hiscocks
Syscomp Electronic Design Limited, Toronto
http://www.syscompdesign.com
USB Oscilloscope and Waveform Generator
647-839-0325<edited-compiling-gphoto2.txt>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gphoto-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-user
Reply | Threaded
Open this post in threaded view
|

Re: Photo Installation on Centos

Marcus Meissner
On Fri, Jan 20, 2017 at 12:55:12PM -0800, Rusen Oktem wrote:

> Hi,
>
> Thanks for your document Peter. Getting some help from your  document and also following Hub’s recommendation, I tried building from the source.
> With libgphoto2,  ltdl installation worked when I used
> yum install libtool-ltdl-devel
>
> For gphoto2,  popt library installation worked with  
> yum install popt-devel
>
> So now I have installed gphoto2 version 2.5.11 and libgphoto2 version 2.5.12. I connected my Sony a5100 camera  but it does not work.  I get the following responses for the following commands
>
> gphoto2 --auto-detect
> Model                          Port                                            
> ----------------------------------------------------------
> Nikon DSC D750                 usb:001,001    
>
> (for Sony camera) even when there is no device connected

THis is a "virtual" D750, a testcamera.

It shows up when you build without libusb development headers and libraries.

Install libusb-somethign-devel , rerun configure (it will say if libusb was found at
the end) and remake.

Ciao, MArcus

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gphoto-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-user
Reply | Threaded
Open this post in threaded view
|

Re: Photo Installation on Centos

Rusen Oktem
Thanks Marcus, it works fine now.

Best,
Rusen

> On Jan 21, 2017, at 1:47 AM, Marcus Meissner <[hidden email]> wrote:
>
> On Fri, Jan 20, 2017 at 12:55:12PM -0800, Rusen Oktem wrote:
>> Hi,
>>
>> Thanks for your document Peter. Getting some help from your  document and also following Hub’s recommendation, I tried building from the source.
>> With libgphoto2,  ltdl installation worked when I used
>> yum install libtool-ltdl-devel
>>
>> For gphoto2,  popt library installation worked with  
>> yum install popt-devel
>>
>> So now I have installed gphoto2 version 2.5.11 and libgphoto2 version 2.5.12. I connected my Sony a5100 camera  but it does not work.  I get the following responses for the following commands
>>
>> gphoto2 --auto-detect
>> Model                          Port                                            
>> ----------------------------------------------------------
>> Nikon DSC D750                 usb:001,001    
>>
>> (for Sony camera) even when there is no device connected
>
> THis is a "virtual" D750, a testcamera.
>
> It shows up when you build without libusb development headers and libraries.
>
> Install libusb-somethign-devel , rerun configure (it will say if libusb was found at
> the end) and remake.
>
> Ciao, MArcus


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gphoto-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-user