Skip to content

Commit 48f9ef8

Browse files
authored
Update build-ain-arm64.md
1 parent c3291d0 commit 48f9ef8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build-ain-arm64.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Download the latest source code from DefiCh/ain and extract them to your `/home/
1111
- [Source code (tar.gz)](https://github.com/DeFiCh/ain/releases)
1212

1313

14-
## Build ain-2.3.1
14+
## Build ain-2.4.0
1515

1616
### Install all dependencies
1717

@@ -33,19 +33,19 @@ sudo apt-get install g++-aarch64-linux-gnu
3333
### Build Berkeley DB
3434
It is recommended to use Berkeley DB 4.8. If you have to build it yourself, you can use installation script included in contrib:
3535
```
36-
cd /home/pi/ain-2.3.1/
37-
./contrib/install_db4.sh /home/pi/ain-2.3.1/
36+
cd /home/pi/ain-2.4.0/
37+
./contrib/install_db4.sh /home/pi/ain-2.4.0/
3838
```
3939

4040
### Build executables
4141
```
42-
cd /home/pi/ain-2.3.1/depends
42+
cd /home/pi/ain-2.4.0/depends
4343
make HOST=aarch64-linux-gnu NO_QT=1
4444
cd ..
4545
./autogen.sh
4646
```
4747
```
48-
export BDB_PREFIX='/home/pi/ain-2.3.1/db4'
48+
export BDB_PREFIX='/home/pi/ain-2.4.0/db4'
4949
./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" --prefix=$PWD/depends/aarch64-linux-gnu --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++
5050
```
5151
And finally:

0 commit comments

Comments
 (0)