[SailfishDevel] Porting gphoto2 to Sailfish
Mikael Erkkilä
mikael.erkkilae at web.de
Mon Mar 23 20:14:31 UTC 2015
Hey, I got the ssh connection to the emulator to work. Thx again for the
hint with the shared folder.
Today I tried to build gphoto-suite-2.4.2 on the emulator. So started
with getting the sources, unpacking and trying ./configure...
At first he missed some basic stuff, so I installed via pkcon the
following packages:
gcc gcc-c++ make autoconf automake
Now the configure almost goes through until libtool misses. So I
installed it:
pkcon install libtool libtool-ltdl libtool-ltdl-devel
Unfortunately this has not solved the problem. Now he finds libtool but
he doesn't seem to get something registered/linked correctly:
[...]
appending configuration tag "F77" to libtool
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
checking for lt_dlcaller_register in -lltdl... no
configure: error:
libgphoto2 requires the ltdl library, included with libtool
Please make sure that the proper development package is installed
(libltdl-dev, libtool-ltdl-devel, etc.)
configure: error: ./configure failed for src/libgphoto2
I can't find the problem here. Libtool-ltdl is obviously installed, so
why can't he register...
Any ideas?
On 12.03.2015 09:28, Andrey Kozhevnikov wrote:
> inside sdk your host home folder is mounted to /home/mersdk/shared.
> you don't need to copy anything.
>
> 12.03.2015 13:25, mikael.erkkilae at web.de пишет:
>> I tried with the sdk/emulator first via ssh on localhost. But somehow
>> when I tried to copy the sources to the emulator via scp, something
>> always went wrong. I tried via a shared folder in virtualbox but that
>> somehow didn't work out either.
>> On the Jolla scp worked immediately, so I continued with that approach.
>>
>> I'll have a look again on the emulator soon. I will inform you on the
>> outcome.
>> Am Do. Mär. 12 09:11:37 2015 GMT+0100 schrieb Michele Tameni:
>>> Before you mess up your system, why not install the sdk and get
>>> things done
>>> safely on the emulator first?
>>>
>>> 2015-03-10 21:44 GMT+01:00 <mikael.erkkilae at web.de>:
>>>
>>>> Hello Sailfish developers,
>>>>
>>>> I am newbie at developing but I would really like to contribute to
>>>> this
>>>> project.
>>>>
>>>> I have started to port gphoto2 to sailfish/jolla and would hope to get
>>>> some comments on how compiling and installing dependencies is
>>>> normally
>>>> done. I have the feeling I did it quite straight-forward, without
>>>> really
>>>> knowing if this will work out or not. Especially having to use
>>>> devel-su
>>>> scares me because I don't want to corrupt my system.
>>>>
>>>> See here:
>>>>
>>>> https://together.jolla.com/question/86155/wiki-use-your-digital-camera-with-jolla-porting-gphoto2/
>>>>
>>>>
>>>> As next step I would try to install libltdl which is needed for
>>>> gphoto.
>>>> What are your thoughts?
>>>>
>>>> Cheers
>>>> _______________________________________________
>>>> SailfishOS.org Devel mailing list
>>>> To unsubscribe, please send a mail to
>>>> devel-unsubscribe at lists.sailfishos.org
>>>>
>>>
>>>
>>> --
>>> michele tameni
>>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscribe at lists.sailfishos.org
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
More information about the Devel
mailing list