-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Message: 5
> Date: Tue, 31 Jul 2012 02:23:02 +0000 (UTC)
> From: sshah <[email protected]>
> Subject: Re: [Fink-users] "fink list libimobiledevice" does not find
>       find    lib on Mac OS X 10.7.4
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
> 
> Schindler Karl-Michael <karl-michael.schindler <at> web.de> writes:
>> Am 20.07.2012 um 02:06 schrieb Hanspeter Niederstrasser:
>>> On 7/19/2012 7:43 PM, Alexander Hansen wrote:
>>>> On 7/19/12 4:16 PM, sshah wrote:
>>>>> Hi there,
>>>>> 
>>>>> I'm new to fink so if this is not the right forum, please point me to the
>>>>> appropriate forum.
>>>>> 
>>>>> Mac OS X 10.7.4
>>>>> fink: 0.34
>>>>> 
>>>>> I tried "dselect",
>>>> 
>>>> dselect doesn't really do much for 10.6 or 10.7, since there are no
>>>> official binary distributions for those platforms.
>>>> 
>>>>> "fink select libimobiledevice"
>>>> 
>>>> It helps if you use command verbs that actually exist 
>>>> 
>>>>> as well as "fink install libimobiledevice", but none of them
>>>>> list or install libimobiledevice. Is 10.7.4 supported?
>>>>> 
>>>>> Thanks,
>>>>> sshah
>>>> 
>>>> According to
>>>> 
>>>> http://pdb.finkproject.org/pdb/package.php/libimobiledevice
>>>> 
>>>> it is not yet available for 10.7.  The maintainer (cc'ed) may have more
>>>> insight as to why it isn't available.
>>> 
>>> Karl-Michael,
>>> 
>>> usbmuxd (a dependency for libimobiledevice) needs an extra flag to
>>> successfully build (tested on
>>> 10.6/i386 and also on a locally copied 10.7 info).
>>> 
>>> -DUSB_INCLUDE_DIR=%p/include/libusb-1.0 must be added to the cmake command
>>> in order to find the
>>> libusb1 header.  This allows the build to finish.  Otherwise it fails during
>>> the cmake command.
>>> 
>>> However, even after this is patched, the libusbmuxd.pc file is not formed
>>> correctly, and the Version: field is given a value of "UNKNOWN".  
>>> This causes libimobiledevice to then fail during ./configure when
>>> trying to find usbmuxd.  usbmuxd's self-version check seems broken
>>> (see Modules/VersionTag.cmake and Modules/describe.sh)
>>> 
>>> Hanspeter
>> 
>> I am too busy at work at the moment to look at this right away. I'll have a
>> look into it in about 2 weeks. Sorry.
>> 
>> Michael
> 
> Thanks Hanspeter and Michael. I'm trying to "fink install libimobiledevice" on
> 10.6 and now having problems with usbmuxd (USB_INCLUDE_DIR gets set to
> USB_INCLUDE_DIR-NOTFOUND). I just reread Hanspeter's reply and realized that
> usbmuxd is not ready for 10.6 too. I tried setting USB_INCLUDE_DIR to
> /sw/include/libusb-1.0, but when I attempt "fink install usbmuxd", cmake again
> reports USB_INCLUDE_DIR-NOTFOUND. I tried 2 different ways (a) edit
> CMakeCache.txt and (b) ccmake -D USB_INCLUDE_DIR:PATH=/sw/include/libusb-1.0
> but it fails in both the cases. After "fink install usbmuxd" CMakeCache.txt 
> loses my
> changes. Am I modifying wrong CMakeLists.txt (via ccmake)? If so if you can 
> tell
> me which one I need to modify (there are a few under usbmuxd's build 
> directory).
> I will appreciate any pointers to make it work on my system, so if there is a
> workaround to take care of libusbmuxd.pc file too - please let me know. I'm
> ready to  try even if official build is not yet ready. THANKS A LOT.  

I started to look at the issues with usbmuxd and libimobiledevice.
One point is that there are substantial patches in their repositories, which 
are 
not part of the latest source tarballs. I usually include that directly in the 
patchscript. 
However, they are larger and are better included as a patchfile. 
Actually, I was hoping that they release a new version soon, but this does not 
seem 
to be the case. i have to completely rework usbmuxd and libimobile. 
Sorry for the inconvenience. In case you want to try yourself, i found the 
interactive ccmake helpful in the struggle with cmake, where you have a list of 
the variables, which you can set.
  mkdir build
  cd build
  ccmake ..
then toggle on the expert modus, which shows the complete list of variables.
In case something goes wrong, simply delete the directory build and you can 
start 
from a clean setup.

I hope to make some progress within this week.

Michael.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAlAXkLwACgkQNieRQA4yz998WACeK2NHEqIeHbPMZ40dLTGga6Hc
djgAoIFyVUyGNDyvJ2IlD5G7jB4q7pZZ
=kVIY
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to