I'm getting the following error messages when I try to build and install the
The library
Here's the configuration change that I made to
Which seems to have gone well:
But the library names aren't being updated during installation.
Searching through tmux's buffer shows promising commands being executed:
But somehow it's still failing.
Any idea how to fix this?
dar
program from ports using portmaster
and make
:
Code:
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):
Installed packages to be REMOVED:
dar-2.5.5_1
Number of packages to be removed: 1
The operation will free 11 MiB.
[1/1] Deinstalling dar-2.5.5_1...
[1/1] Deleting files for dar-2.5.5_1: 100%
===> Installing for dar-2.5.5_1
===> Checking if dar already installed
===> Registering installation for dar-2.5.5_1
pkg-static: Unable to access file /usr/ports/sysutils/dar/work/stage/usr/local/lib/libdar.a: No such file or directory
pkg-static: Unable to access file /usr/ports/sysutils/dar/work/stage/usr/local/lib/libdar.so: No such file or directory
pkg-static: Unable to access file /usr/ports/sysutils/dar/work/stage/usr/local/lib/libdar.so.5000: No such file or directory
pkg-static: Unable to access file /usr/ports/sysutils/dar/work/stage/usr/local/lib/libdar.so.5000.8.1: No such file or directory
pkg-static: Unable to access file /usr/ports/sysutils/dar/work/stage/usr/local/libdata/pkgconfig/libdar.pc: No such file or directory
*** Error code 74
Stop.
make: stopped in /usr/ports/sysutils/dar
===>>> Installation of dar-2.5.5_1 (sysutils/dar) failed
===>>> Aborting update
The library
pkg-static
should be searching for is libdar64.a (and the rest):
Code:
[root@freebsd_pc /usr/ports]# ls /usr/ports/sysutils/dar/work/stage/usr/local/lib/
X11 debug libdar64.a libdar64.so libdar64.so.5000 libdar64.so.5000.8.1
Here's the configuration change that I made to
dar
's Makefile:
Code:
[root@freebsd_pc ~]# diff /usr/ports/sysutils/dar/Makefile.{mod,og}
29c29
< OPTIONS_DEFINE= GCRYPT GPGME LZO ZLIB BZIP2 LZMA DOCS NLS INT
---
> OPTIONS_DEFINE= GCRYPT GPGME LZO ZLIB BZIP2 LZMA DOCS NLS
47,48d46
< INT_DESC= Use 64-bit integer instead of infinint
< INT_CONFIGURE_ENABLE= mode=64
Which seems to have gone well:
Code:
[root@freebsd_pc /usr/ports/sysutils/dar]# make showconfig
===> The following configuration options are available for dar-2.5.5_1:
BZIP2=on: bzip2 compression support
DOCS=on: Build and/or install documentation
GCRYPT=on: Use GNU crypt library instead of OpenSSL
GPGME=off: gpgme for asymetric crypto algorithms
INT=on: Use 64-bit integer instead of infinint
LZMA=on: LZMA compression support
LZO=on: Support lzo compression via liblzo2
NLS=on: Native Language Support
ZLIB=on: zlib compression support
===> Use 'make config' to modify these settings
Code:
dar and libdar have been successfully configured with the following parameters:
LIBDAR parameters:
Zlib compression (gzip) : YES
Libbz2 compression (bzip2) : YES
Liblzo2 compression (lzo) : YES
Liblxz compression (xz) : YES
Strong encryption support : YES
Public key cipher support : NO
Extended Attributes support: NO
Large files support (> 2GB): YES
extX FSA / nodump support : NO
HFS+ FSA support : YES
Special allocation scheme : NO
Integer size used : 64
Thread safe support : YES
Furtive read mode : NO
Large directory optim. : YES
posix fadvise support : YES
microsecond read accuracy : YES
microsecond write accuracy : YES
can restore symlink dates : YES
DAR SUITE command line programs:
Long options available : YES
Building examples : NO
Building dar_static : NO
using upx at install : NO
building documentation : NO
===> Building for dar-2.5.5_1
But the library names aren't being updated during installation.
Searching through tmux's buffer shows promising commands being executed:
Code:
libtool: install: (cd /usr/ports/sysutils/dar/work/stage/usr/local/lib && { ln -s -f libdar64.so.5000.8.1 libdar64.so || { rm -f libdar64.so && ln -s libdar64.so.5000.8.1 libdar64.so; }; })
libtool: install: /usr/bin/install -c .libs/libdar64.lai /usr/ports/sysutils/dar/work/stage/usr/local/lib/libdar64.la
libtool: install: /usr/bin/install -c .libs/libdar64.a /usr/ports/sysutils/dar/work/stage/usr/local/lib/libdar64.a
libtool: install: strip --strip-debug /usr/ports/sysutils/dar/work/stage/usr/local/lib/libdar64.a
libtool: install: chmod 644 /usr/ports/sysutils/dar/work/stage/usr/local/lib/libdar64.a
libtool: install: ranlib /usr/ports/sysutils/dar/work/stage/usr/local/lib/libdar64.a
But somehow it's still failing.
Any idea how to fix this?