Package Details: ta-lib 0.6.2-1

Git Clone URL: https://aur.archlinux.org/ta-lib.git (read-only, click to copy)
Package Base: ta-lib
Description: A library providing common functions for the technical analysis of financial market data
Upstream URL: https://github.com/TA-Lib/ta-lib
Licenses: BSD-3-Clause
Submitter: None
Maintainer: xiota
Last Packager: xiota
Votes: 24
Popularity: 0.048262
First Submitted: 2007-04-28 05:53 (UTC)
Last Updated: 2024-12-28 01:47 (UTC)

Dependencies (1)

Required by (2)

Sources (1)

Latest Comments

1 2 Next › Last »

darose commented on 2023-07-25 20:54 (UTC)

Actually, looks like there's some newer version on GH: https://github.com/TA-Lib/ta-lib/tags

darose commented on 2023-07-25 20:24 (UTC)

Is this package actually out of date? Looks like 0.4.0 is the latest version. (Updated in 2007?!?) https://sourceforge.net/projects/ta-lib/files/ta-lib/

King_DuckZ commented on 2022-08-19 17:59 (UTC) (edited on 2022-08-19 18:00 (UTC) by King_DuckZ)

It worked for me on aarch64 after applying this patch:

--- ta-lib/PKGBUILD     2021-05-15 20:42:36.000000000 +0200
+++ ta-lib_patched/PKGBUILD     2022-08-19 14:52:20.591050188 +0200
@@ -7,15 +7,19 @@
 pkgdesc='A library providing common functions for the technical analysis of financial market data'
 url='http://ta-lib.org'
 license=('BSD')
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'aarch64')
 source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.gz"
         "$pkgname-$pkgver-asneeded.patch"
-       "fix-werror-format-security.patch"
-        'LICENSE')
+        "fix-werror-format-security.patch"
+        'LICENSE'
+        'config.guess'
+        'config.sub')
 md5sums=('308e53b9644213fc29262f36b9d3d9b9'
          '5001b2792dcde7189c6a9bc79da09e53'
-        '2aa3764f7cb2e75177280897d7f56fb8'
-         '38c1c6fdece39f5f1199d74ebf7f29bf')
+         '2aa3764f7cb2e75177280897d7f56fb8'
+         '38c1c6fdece39f5f1199d74ebf7f29bf'
+         '7656db1151b730dc6c51cbfa83136071'
+         'c870710b390d8133783e8547a63bd2e8')

 prepare() {
   cd "$srcdir/$pkgname"
@@ -23,13 +27,16 @@
   # https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-libs/ta-lib/files/ta-lib-0.4.0-asneeded.patch
   patch -Np1 -i "$srcdir/$pkgname-$pkgver-asneeded.patch"
   patch -Np1 -i "$srcdir/fix-werror-format-security.patch"
+
+  rm -fv config.guess && cp "$srcdir/config.guess" .
+  rm -fv config.sub && cp "$srcdir/config.sub" .
 }

 build() {
   cd "$srcdir/$pkgname"

   ./configure --prefix=/usr
-  make
+  make -j1
 }

 package() {

with the config.guess and config.sub downloaded from savannah as suggested by the config script itself:

http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub

AchmadFathoni commented on 2022-03-19 17:13 (UTC) (edited on 2022-03-19 17:14 (UTC) by AchmadFathoni)

Thanks @JimmyAllnighter, it works. I suggest just change line 32 in PKGBUILD to

make -j1

is enough and localized so it doesn't affect other compilation.

JimmyAllnighter commented on 2022-03-19 10:58 (UTC)

Found the cause of this error:

mv: cannot stat '.deps/gen_code-gen_code.Tpo': No such file or directory

It can be fixed by disabling parallel jobs in MAKEFLAGS.

ie. MAKEFLAGS="-j1"

I am not familiar with how make works, so there is probably a better way of setting that flag, but to just get ta-lib building I modified the MAKEFLAGS line in /etc/makepkg.conf temporarily.

Solution was found here.

Additionally, this seems like the sort of thing that should be reported (at least according to the makepkg wiki page)

This is my first 'contribution' to the AUR community. Hope this helped.

AchmadFathoni commented on 2022-01-22 11:01 (UTC)

Got this error:

/bin/sh ../../../libtool --tag=CC   --mode=link gcc  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat         -fstack-clash-protection -fcf-protection -L../../ta_common -L../../ta_abstract -L../../ta_func -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o gen_code gen_code-gen_code.o -lta_common -lta_abstract_gc -lta_func -lm -lpthread -ldl 
mv -f .deps/gen_code-gen_code.Tpo .deps/gen_code-gen_code.Po
mv: cannot stat '.deps/gen_code-gen_code.Tpo': No such file or directory

xsmile commented on 2021-05-15 09:45 (UTC)

Thanks for the patch and the offer. I added you as a co-maintainer.

drbaiton commented on 2021-05-15 07:56 (UTC)

Found compilation errors due to -Werror=format-security new default compilation parameter from, I suppose, autoconf/automake.

Fixed 2 format strings, added small patch

Can be merged from: https://gitlab.com/archbaiton/ta-lib/-/tree/drb-fix-werror

Also: I'm OK to co-maintain, if you need it.

Have a good day ;)

xsmile commented on 2017-09-12 12:16 (UTC)

@dkasak: Being a co-maintainer is the better solution, as I can't tell if I will be actively using ta-lib either. I will push the changes soon, thank you.