Closed ngloom closed 2 years ago
Well, people around says that it might be something wrong with CFLAGS formatting and it's supposed to be -march=armv8.2-a+fp16+rcpc+dotprod+crypto -mtune=neoverse-n1
instead of a just ".2-a+fp16+rcpc+dotprod+crypt -n1" or something like that.
Unfortunatelly I can't try it as Oracle has blacklisted my country and even free account requires assigned bankcard which are banned too. Could you temporaly provide a free account credentials for testing purposes?
Closing all installation issues, if someone has a specific problem please open a new one.
Download and extract TA-Lib source code
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
tar -xzf ta-lib-0.4.0-src.tar.gz
Navigate to the TA-Lib directory
cd ta-lib
Configure, build, and install TA-Lib with explicit build type
./configure --build=aarch64-unknown-linux-gnu --prefix=/usr
make
sudo make install
Install the TA-Lib Python wrapper
pip3 install ta-lib
what's the question
what's the question
It seems that on ARM processors, it's necessary to explicitly specify the build configuration. On my Oracle server with an ARM processor, it didn't work initially. As a solution, I specified the build configuration using ./configure --build=aarch64-unknown-linux-gnu --prefix=/usr.
Ah, I didn't notice. Thanks for contributing that -- I have added it as a note in the README.
8750506cfb63979dca12a581b698a5a9a6c898d6
Ah nice, this is an easier solution than what I found. Traceback on M2 for people searching:
$ ./configure --prefix=/usr
# ...
checking build system type... ./config.guess: unable to guess system type
This script, last modified 2006-07-02, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
and
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.
config.guess timestamp = 2006-07-02
uname -m = aarch64
uname -r = 6.8.10-400.asahi.fc40.aarch64+16k
uname -s = Linux
uname -v = #1 SMP PREEMPT_DYNAMIC Mon May 27 16:05:41 UTC 2024
/usr/bin/uname -p = unknown
/bin/uname -X =
hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = aarch64
/usr/bin/oslevel =
/usr/convex/getsysinfo =
UNAME_MACHINE = aarch64
UNAME_RELEASE = 6.8.10-400.asahi.fc40.aarch64+16k
UNAME_SYSTEM = Linux
Another way to solve this is to copy a newer version of config.guess
into the ta-lib
sources:
$ cp /usr/share/automake-1.16/config.guess /path/to/extracted/ta-lib/config.guess
And then re-run configure:
./configure --prefix=/usr
Hi, Thanks for the great work first. I recently do some research work on the Oracle Cloud Ampere Machine (arm based processor), you can easily get one always free trial machine in oracle cloud for re-run the install process.
the console error is as below: