Hi,
what exactly is the problem when patching the libptp?
The following worked fine for me:

tar xzf libptp2-1.1.0.tar.gz
wget http://svn.exactcode.de/t2/trunk/package/graphic/libptp/gcc4.patch
patch -p0 < gcc4.patch
cd libptp2-1.1.0
./configure
make

Ignoring tons of warnings, the library compiles.
After that I type:

ln -s /path/to/libptp2-1.1.0/src/ libptp2
LIBPTP_INC=-I.  LIBPTP_LIB=-L/path/to/libptp2-1.1.0/src/.libs/ make

and it is done.
Petr


On Fri, 2007-07-27 at 15:35 +0200, soft_lb.mailinglist wrote:
> Hello,
> 
> When i try to compile libptp2 on my FC5 the same problem than this one
> occurs :
> 
> http://ubuntuforums.org/showthread.php?p=2437024
> 
> 
> In one hand, I not able to apply the patch and no rpm is availlable for
> libptp2 on FC5 (changed for libmtp). 
> In the other hand, i don't no how to changed the dependancy from libptp2
> to libmtp in capture and i don't known if it possible.
> 
> Is someone able to help me to solve this problem ?
> 
> Any help really appreciated, thank in advance.
> 
> 
> the gcc4 patch :
> http://svn.exactcode.de/t2/trunk/package/graphic/libptp/gcc4.patch
> libmtp website :
> http://libmtp.sourceforge.net/
> 
> Laurent



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Capture-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/capture-devel

Reply via email to