Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gabbyprecious/f76b1b997e4539fbc41e384fb3f9d281 to your computer and use it in GitHub Desktop.
Save gabbyprecious/f76b1b997e4539fbc41e384fb3f9d281 to your computer and use it in GitHub Desktop.
sudo make install
Password:
mkdir -p /usr/local/bin
mkdir -p /usr/local/libexec/c-lightning
mkdir -p /usr/local/libexec/c-lightning/plugins
mkdir -p /usr/local/share/man/man1
mkdir -p /usr/local/share/man/man5
mkdir -p /usr/local/share/man/man7
mkdir -p /usr/local/share/man/man8
mkdir -p /usr/local/share/doc/c-lightning
cc cli/lightning-cli.c
cc common/configdir.c
cc common/json.c
cc common/json_stream.c
cc common/status_levels.c
cc common/utils.c
cc common/version.c
ld cli/lightning-cli
cc lightningd/bitcoind.c
cc lightningd/chaintopology.c
cc lightningd/channel.c
cc lightningd/channel_control.c
cc lightningd/closing_control.c
cc lightningd/coin_mvts.c
cc lightningd/dual_open_control.c
cc lightningd/connect_control.c
cc lightningd/onion_message.c
cc lightningd/gossip_control.c
cc lightningd/hsm_control.c
cc lightningd/htlc_end.c
cc lightningd/htlc_set.c
cc lightningd/invoice.c
cc lightningd/io_loop_with_timers.c
cc lightningd/json.c
cc lightningd/jsonrpc.c
cc lightningd/lightningd.c
cc lightningd/log.c
cc lightningd/log_status.c
cc lightningd/memdump.c
cc lightningd/notification.c
cc lightningd/onchain_control.c
cc lightningd/opening_common.c
cc lightningd/opening_control.c
cc lightningd/options.c
cc lightningd/pay.c
cc lightningd/peer_control.c
cc lightningd/peer_fd.c
cc lightningd/peer_htlcs.c
cc lightningd/plugin.c
cc lightningd/plugin_control.c
cc lightningd/plugin_hook.c
cc lightningd/routehint.c
cc lightningd/subd.c
cc lightningd/watch.c
cc lightningd/datastore.c
cc lightningd/ping.c
cc lightningd/offer.c
cc lightningd/signmessage.c
cc wallet/db.c
cc wallet/invoices.c
cc wallet/txfilter.c
cc wallet/wallet.c
cc wallet/walletrpc.c
cc wallet/reservation.c
cc wallet/db_sqlite3_sqlgen.c
cc wallet/db_postgres_sqlgen.c
cc common/addr.c
cc common/amount.c
cc common/autodata.c
cc common/base32.c
cc common/base64.c
cc common/bech32.c
cc common/bech32_util.c
cc common/bigsize.c
cc common/bip32.c
cc common/blindedpath.c
cc common/blinding.c
cc common/blockheight_states.c
cc common/bolt11.c
cc common/bolt11_json.c
cc common/bolt12.c
cc common/bolt12_merkle.c
cc common/channel_config.c
cc common/channel_id.c
cc common/channel_type.c
cc common/coin_mvt.c
cc common/daemon.c
cc common/derive_basepoints.c
cc common/ecdh_hsmd.c
cc common/features.c
cc common/fee_states.c
cc common/peer_status_wiregen.c
cc common/status_wiregen.c
cc common/gossip_rcvd_filter.c
cc common/hash_u5.c
cc common/hmac.c
cc common/hsm_encryption.c
cc common/htlc_state.c
cc common/htlc_trim.c
cc common/htlc_wire.c
cc common/key_derive.c
cc common/keyset.c
cc common/json_helpers.c
cc common/json_tok.c
cc common/lease_rates.c
cc common/memleak.c
cc common/msg_queue.c
cc common/node_id.c
cc common/onion.c
cc common/onionreply.c
cc common/param.c
cc common/penalty_base.c
cc common/per_peer_state.c
cc common/permute_tx.c
cc common/psbt_keypath.c
cc common/psbt_open.c
cc common/pseudorand.c
cc common/random_select.c
cc common/setup.c
cc common/shutdown_scriptpubkey.c
cc common/sphinx.c
cc common/status_wire.c
cc common/timeout.c
cc common/type_to_string.c
cc common/utxo.c
cc common/wallet.c
cc common/wire_error.c
cc common/wireaddr.c
cc db/bindings.c
cc db/exec.c
cc wire/wire_sync.c
cc wire/wire_io.c
cc wire/fromwire.c
cc wire/peer_wire.c
cc wire/tlvstream.c
cc wire/towire.c
cc wire/bolt12_wiregen.c
cc wire/peer_wiregen.c
cc wire/channel_type_wiregen.c
cc wire/onion_wiregen.c
cc gossipd/gossipd_wiregen.c
cc openingd/openingd_wiregen.c
cc openingd/dualopend_wiregen.c
cc channeld/channeld_wiregen.c
cc closingd/closingd_wiregen.c
cc onchaind/onchaind_wiregen.c
cc onchaind/onchaind_wire.c
cc connectd/connectd_wiregen.c
cc hsmd/hsmd_wiregen.c
cc db/utils.c
cc db/db_postgres.c
cc db/db_sqlite3.c
ld lightningd/lightningd
cc tools/hsmtool.c
cc common/descriptor_checksum.c
ld tools/hsmtool
cp tools/hsmtool tools/lightning-hsmtool
cc channeld/channeld.c
cc channeld/commit_tx.c
cc channeld/full_channel.c
cc channeld/watchtower.c
cc common/billboard.c
cc common/cryptomsg.c
cc common/daemon_conn.c
cc common/peer_io.c
cc common/gossip_store.c
cc common/htlc_tx.c
cc common/initial_channel.c
cc common/initial_commit_tx.c
cc common/peer_billboard.c
cc common/peer_failed.c
cc common/ping.c
cc common/private_channel_announcement.c
cc common/read_peer_msg.c
cc common/status.c
cc common/subdaemon.c
cc gossipd/gossipd_peerd_wiregen.c
cc gossipd/gossip_store_wiregen.c
ld lightningd/lightning_channeld
cc closingd/closingd.c
cc common/close_tx.c
ld lightningd/lightning_closingd
cc connectd/connectd_gossipd_wiregen.c
cc connectd/connectd.c
cc connectd/peer_exchange_initmsg.c
cc connectd/handshake.c
cc connectd/multiplex.c
cc connectd/netaddress.c
cc connectd/onion_message.c
cc connectd/tor_autoservice.c
cc connectd/tor.c
cc common/dev_disconnect.c
ld lightningd/lightning_connectd
cc openingd/dualopend.c
cc openingd/common.c
cc common/psbt_internal.c
ld lightningd/lightning_dualopend
cc gossipd/gossipd.c
cc gossipd/gossip_store.c
cc gossipd/queries.c
cc gossipd/gossip_generation.c
cc gossipd/routing.c
cc gossipd/seeker.c
cc common/decode_array.c
ld lightningd/lightning_gossipd
cc hsmd/hsmd.c
cc hsmd/libhsmd.c
ld lightningd/lightning_hsmd
cc onchaind/onchaind.c
ld lightningd/lightning_onchaind
cc openingd/openingd.c
ld lightningd/lightning_openingd
cc connectd/sha1.c
cc connectd/websocketd.c
ld lightningd/lightning_websocketd
cc plugins/autoclean.c
cc plugins/libplugin.c
ld plugins/autoclean
cc plugins/bcli.c
ld plugins/bcli
cc plugins/fetchinvoice.c
cc common/iso4217.c
cc common/gossmap.c
cc common/fp16.c
cc common/dijkstra.c
cc common/route.c
ld plugins/fetchinvoice
cc plugins/funder.c
cc plugins/funder_policy.c
ld plugins/funder
cc plugins/topology.c
ld plugins/topology
cc plugins/keysend.c
cc plugins/libplugin-pay.c
ld plugins/keysend
cc plugins/offers.c
cc plugins/offers_offer.c
cc plugins/offers_invreq_hook.c
cc plugins/offers_inv_hook.c
ld plugins/offers
cc plugins/pay.c
ld plugins/pay
cc plugins/txprepare.c
ld plugins/txprepare
cc plugins/spender/fundchannel.c
cc plugins/spender/main.c
cc plugins/spender/multifundchannel.c
cc plugins/spender/multiwithdraw.c
cc plugins/spender/openchannel.c
ld plugins/spenderp
install cli/lightning-cli lightningd/lightningd tools/lightning-hsmtool /usr/local/bin
install lightningd/lightning_channeld lightningd/lightning_closingd lightningd/lightning_connectd lightningd/lightning_dualopend lightningd/lightning_gossipd lightningd/lightning_hsmd lightningd/lightning_onchaind lightningd/lightning_openingd lightningd/lightning_websocketd /usr/local/libexec/c-lightning
[ -z "plugins/autoclean plugins/bcli plugins/fetchinvoice plugins/funder plugins/topology plugins/keysend plugins/offers plugins/pay plugins/txprepare plugins/spenderp plugins/cln-grpc" ] || install plugins/autoclean plugins/bcli plugins/fetchinvoice plugins/funder plugins/topology plugins/keysend plugins/offers plugins/pay plugins/txprepare plugins/spenderp plugins/cln-grpc /usr/local/libexec/c-lightning/plugins
install -m 644 doc/lightning-cli.1 /usr/local/share/man/man1
install -m 644 doc/lightningd-config.5 /usr/local/share/man/man5
install -m 644 doc/lightning-addgossip.7 doc/lightning-autocleaninvoice.7 doc/lightning-check.7 doc/lightning-checkmessage.7 doc/lightning-close.7 doc/lightning-connect.7 doc/lightning-createonion.7 doc/lightning-createinvoice.7 doc/lightning-datastore.7 doc/lightning-decodepay.7 doc/lightning-decode.7 doc/lightning-deldatastore.7 doc/lightning-delexpiredinvoice.7 doc/lightning-delinvoice.7 doc/lightning-delpay.7 doc/lightning-disableoffer.7 doc/lightning-disconnect.7 doc/lightning-feerates.7 doc/lightning-fetchinvoice.7 doc/lightning-fundchannel.7 doc/lightning-fundchannel_start.7 doc/lightning-fundchannel_complete.7 doc/lightning-fundchannel_cancel.7 doc/lightning-funderupdate.7 doc/lightning-fundpsbt.7 doc/lightning-getroute.7 doc/lightning-getsharedsecret.7 doc/lightning-invoice.7 doc/lightning-keysend.7 doc/lightning-listchannels.7 doc/lightning-listdatastore.7 doc/lightning-listforwards.7 doc/lightning-listfunds.7 doc/lightning-listinvoices.7 doc/lightning-listoffers.7 doc/lightning-listpays.7 doc/lightning-listpeers.7 doc/lightning-listsendpays.7 doc/lightning-multifundchannel.7 doc/lightning-multiwithdraw.7 doc/lightning-newaddr.7 doc/lightning-notifications.7 doc/lightning-offer.7 doc/lightning-offerout.7 doc/lightning-openchannel_abort.7 doc/lightning-openchannel_bump.7 doc/lightning-openchannel_init.7 doc/lightning-openchannel_signed.7 doc/lightning-openchannel_update.7 doc/lightning-pay.7 doc/lightning-parsefeerate.7 doc/lightning-plugin.7 doc/lightning-reserveinputs.7 doc/lightning-sendinvoice.7 doc/lightning-sendonion.7 doc/lightning-sendonionmessage.7 doc/lightning-sendpay.7 doc/lightning-setchannel.7 doc/lightning-setchannelfee.7 doc/lightning-sendcustommsg.7 doc/lightning-signmessage.7 doc/lightning-txprepare.7 doc/lightning-txdiscard.7 doc/lightning-txsend.7 doc/lightning-unreserveinputs.7 doc/lightning-utxopsbt.7 doc/lightning-waitinvoice.7 doc/lightning-waitanyinvoice.7 doc/lightning-waitblockheight.7 doc/lightning-waitsendpay.7 doc/lightning-withdraw.7 doc/lightning-ping.7 doc/lightning-stop.7 doc/lightning-signpsbt.7 doc/lightning-sendpsbt.7 doc/lightning-getinfo.7 doc/lightning-listtransactions.7 doc/lightning-listnodes.7 doc/lightning-listconfigs.7 doc/lightning-help.7 doc/lightning-getlog.7 /usr/local/share/man/man7
install -m 644 doc/lightningd.8 doc/lightning-hsmtool.8 /usr/local/share/man/man8
install -m 644 README.md doc/INSTALL.md doc/HACKING.md LICENSE /usr/local/share/doc/c-lightning
gabby@Gabbys-MBP lightning(master)% lightning-d
zsh: command not found: lightning-d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment