You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> If your build fails because of your Rust version, you might want to check out [rustup](https://rustup.rs/) to install a newer version
135
135
136
136
@@ -139,20 +139,20 @@ There are two ways to build core lightning, and this depends on how you want use
139
139
To build CLN for production:
140
140
141
141
```shell
142
-
uv sync --all-extras --all-groups
142
+
uv sync --all-extras --all-groups --frozen
143
143
./configure
144
144
RUST_PROFILE=release uv run make
145
145
sudo RUST_PROFILE=release make install
146
146
```
147
147
148
-
> 📘
149
-
>
148
+
> 📘
149
+
>
150
150
> If you want to disable Rust because you don’t need it or its plugins (cln-grpc, clnrest, cln-bip353 or wss-proxy), you can use `./configure --disable-rust`.
151
151
152
152
To build CLN for development:
153
153
154
154
```shell
155
-
uv sync --all-extras --all-groups
155
+
uv sync --all-extras --all-groups --frozen
156
156
./configure
157
157
uv run make
158
158
uv run make check VALGRIND=0
@@ -262,15 +262,15 @@ If you want to compile locally and fiddle with compile time options:
262
262
263
263
See `/usr/ports/net-p2p/c-lightning/Makefile` for instructions on how to build from an arbitrary git commit, instead of the latest release tag.
264
264
265
-
> 📘
266
-
>
265
+
> 📘
266
+
>
267
267
> Make sure you've set an utf-8 locale, e.g. `export LC_CTYPE=en_US.UTF-8`, otherwise manpage installation may fail.
268
268
269
269
Running lightning:
270
270
271
271
Configure bitcoind, if not already: add `rpcuser=<foo>` and `rpcpassword=<bar>` to `/usr/local/etc/bitcoin.conf`, maybe also `testnet=1`.
272
272
273
-
Configure lightningd: copy `/usr/local/etc/lightningd-bitcoin.conf.sample` to
273
+
Configure lightningd: copy `/usr/local/etc/lightningd-bitcoin.conf.sample` to
274
274
`/usr/local/etc/lightningd-bitcoin.conf` and edit according to your needs.
275
275
276
276
```shell
@@ -385,15 +385,15 @@ git checkout v24.05
385
385
Build lightning:
386
386
387
387
```shell
388
-
uv sync --all-extras --all-groups
388
+
uv sync --all-extras --all-groups --frozen
389
389
./configure
390
390
uv run make
391
391
```
392
392
393
393
Running lightning:
394
394
395
-
> 📘
396
-
>
395
+
> 📘
396
+
>
397
397
> Edit your `~/Library/Application\ Support/Bitcoin/bitcoin.conf`to include `rpcuser=<foo>` and `rpcpassword=<bar>` first, you may also need to include `testnet=1`.
398
398
399
399
```shell
@@ -446,7 +446,7 @@ Launch Core Lightning:
446
446
447
447
## To cross-compile for Android
448
448
449
-
Make a standalone toolchain as per <https://developer.android.com/ndk/guides/standalone_toolchain.html>.
449
+
Make a standalone toolchain as per <https://developer.android.com/ndk/guides/standalone_toolchain.html>.
450
450
For Core Lightning you must target an API level of 24 or higher.
451
451
452
452
Depending on your toolchain location and target arch, source env variables such as:
@@ -471,8 +471,8 @@ make clean -C ccan/ccan/cdump/tools \
471
471
&& make CC=clang -C ccan/ccan/cdump/tools
472
472
```
473
473
474
-
Install the `qemu-user` package.
475
-
This will allow you to properly configure the build for the target device environment.
474
+
Install the `qemu-user` package.
475
+
This will allow you to properly configure the build for the target device environment.
476
476
Build with:
477
477
478
478
```shell
@@ -499,8 +499,8 @@ export LD=$target_host-ld
499
499
export STRIP=$target_host-strip
500
500
```
501
501
502
-
Install the `qemu-user` package. This will allow you to properly configure the
503
-
build for the target device environment.
502
+
Install the `qemu-user` package. This will allow you to properly configure the
503
+
build for the target device environment.
504
504
Config the arm elf interpreter prefix:
505
505
506
506
```shell
@@ -544,7 +544,7 @@ For all the other Pi devices out there, consider using [Armbian](https://www.arm
544
544
545
545
You can compile in `customize-image.sh` using the instructions for Ubuntu.
546
546
547
-
A working example that compiles both bitcoind and Core Lightning for Armbian can
547
+
A working example that compiles both bitcoind and Core Lightning for Armbian can
548
548
be found [here](https://github.com/Sjors/armbian-bitcoin-core).
Python plugins will be installed with the `poetry install` step mentioned above fron development setup.
591
+
Python plugins will be installed with the `poetry install` step mentioned above fron development setup.
592
592
593
593
Other users will need some Python packages if python plugins are used. Unfortunately there are some Python packages which are not packaged in Ubuntu, and so force installation will be needed (Flag `--user` is recommended which will install them in user's own .local directory, so at least the risk of breaking Python globally can be avoided!).
0 commit comments