Re: Problems building dar_static

Denis Corbin <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Organization http://dar.linux.free.fr/
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 18/07/2019 12:11, Ivan Savcic wrote:
> It looks like Remote Repository Support isn't compiled in in the
> latest version:
> 
> ./dar_static_2.6.5_x86_64_GNU_Linux -V
> 
> dar_static_2.6.5_x86_64_GNU_Linux version 2.6.5, Copyright (C) 
> 2002-2019 Denis Corbin Long options support         : YES
> 
> Using libdar 6.1.2 built with compilation time options: Libz
> compression (gzip)      : YES Libbz2 compression (bzip2)   : YES 
> Liblzo2 compression (lzo)    : YES Liblzma compression (xz)     :
> YES Strong encryption (libgcrypt): YES Public key ciphers (gpgme)
> : YES Extended Attributes support  : YES Large files support (>
> 2GB)  : YES ext2fs NODUMP flag support   : YES Integer size used
> : 64 bits Thread safe support          : YES Furtive read mode
> support    : YES Linux ext2/3/4 FSA support   : YES Mac OS X HFS+
> FSA support    : NO Detected system/CPU endian   : little Posix
> fadvise support        : YES Large dir. speed optimi.     : YES 
> Timestamp read accuracy      : 1 microsecond Timestamp write
> accuracy     : 1 microsecond Restores dates of symlinks   : YES 
> Multiple threads (libthreads): YES (1.2.2) Delta compression
> support    : YES Remote repository support    : NO
> 
[...]

Hello,

I have fixed the issue rebuilding the dar_static binary for version
2.6.5. So you can grab it now from ftp://ftp.dm3c.org/.

What I did is really simple:
# apt-get source apt-get source libcurl3-gnutls

this downloads and create a directory with upstream source and debian
patches

# cd curl-7.52.1
# ./configure --enable-shared --enable-static

(check that configure reports that the support for FTP and SFTP is
present)

# make
# su
# make install
# ldconfig

this installs the static and dynamic libcurl libraries in /usr/local,
thus there is not package and you loose all the advantage of Debian
(easy binary upgrade for libcurl...) It would be better that Debian
would provide a libcurl-static flavor library, which I could not find
even from -dev packages (which seem to only the library header files)

# then I've built dar_static

Regards,
Denis
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEOzEprx3d76WjfYGPCDGwvQPYsYIFAl1GymkACgkQCDGwvQPY
sYLiRxAAkNGMj071Jrk4s3I7N0smTOrzrA/6kOb1EY1h7BeAjEOwdtszVf6bkiV8
FoK14rxk9eJhGz17HJ2xVgZQxC2xcovsxtx9RtPxSXsPbLaS5kMQLuEJq1WYyDwu
BJrVV+NqTHhYpMInVit69L5pFWF+QhDuUjb83lyPfIjPfLcqdbnTBFGAFPO3tiwx
dF+YnD5RCWBTFIQZC5xvIhrTyqhHoz6ey+Wc1ZEMebvxAMES9fEi87wX2wtESSyr
dQamFxv1UGEZZ6po9eEaZImr/OunyKBAQHEBAPjJ4GV7x1BHS8RFg5RmUvNEKL4s
io0OR5LIdGLG9qiNiEP1Pu+7+Bjze4LLt9BzI2Q6gksixgyeQ/p20ZWKMPl6QnFk
8bS8mO10PSi55EeJA7ngPDg+ZXs/cZ7wE19tEIYRYaSgtZNFfdwmfh0xScOmiXlH
FOlllIP6E/ime2/G+4tCRFRCyipbFNtXrfmKsuwMUCxLeMxbNHoJ3Lq/jQvzRwfl
qledw+9MLLcHrDy/d+y3pAJUiOtTbIFhb9yCkSPEn+bweKWV+7v/iElyr2NzSfo5
GMwM0M2xHgBB4kBzTkFGKPon1+uk3q8/7gmIKabUVaQn8lbIbBhhe9WY7OGNXsOJ
53CKLdq3c9iByeyIDjGuFRcQaIPAxM9CIIM40/mit4bIMAR9Fgg=
=86NY
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.