It starts with / so it's an absolute path, and system-wide. Either don't
include the leading /, or use one of the BinDeps "dir" functions to determine
what to set prefix to. The autotools provider probably sets an okay default for
that, but check what other packages do.
I'm doing
provides(BuildProcess, Autotools(libtarget = "libta_lib",
configure_options=["--prefix=/usr"]), libta_lib, os = :Unix)
Is --prefix=/usr "local prefix" or a "system-wide" prefix ?
If it's a system-wide prefix... how to use a local prefix ?
Sorry for my newbies questions about
sounds like the library can't handle out of tree builds? you should also use a
local prefix, not a system-wide one that would require sudo.
I tried
provides(Sources,
URI("http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz;),
libta_lib, unpacked_dir="ta-lib")
Thanks Tony, it helps me... but I'm still facing build error with Linux and
BinDeps (contrary to a simple bash script with
./configure --prefix=/usr
make
sudo