On Thu, Apr 17, 2008 at 10:35:00PM +0200, Aniruddha wrote:
> Thanks installing dev-libs/libtar worked :) Unfortunately O got a new
> error:
> 
> > tarfile-ops-nt.cc:107: error: invalid conversion from 'ssize_t (*)(int, 
> > void*, size_t)' to 'ssize_t (*)(long int, void*, size_t)'

Depending on what distro you are using, libtar has a bug in it, when it
tries to do 64-bit.  This is a distro bug, not a bug in libtar.

I've heard of ArchLinux and Mandriva having this bug.

You can read more about the bug in this thread here:

http://sourceforge.net/mailarchive/message.php?msg_id=20070803200729.GA7068%40foursquare.net

What distro are you using?  Are you compiling for 64 bit?  Where did you
get the package for libtar?

For RPM based systems, I've usually just downloaded the src.rpm from
the URL below, and build it myself:

ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/8/Everything/source/SRPMS/libtar-1.2.11-9.fc8.src.rpm

        rpm -i libtar-1.2.11-9.fc8.src.rpm
        (become root)
        cd /usr/src/packages/SPECS
        rpmbuild -ba libtar.spec
        rpm -i ../RPMS/*/libtar*rpm

- Chris


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to