https://www.stellar.org/developers/js-stellar-sdk/reference/ 编译部署流程: https://galactictalk.org/d/20-setting-up-stellar-core-on-centos-7 ======编译过程====== ```code sudo yum groupinstall 'Development Tools' sudo yum install postgresql-devel git clone https://github.com/stellar/stellar-core.git git checkout v0.5.0 # Check out the latest stable version git submodule init git submodule update ./autogen.sh ./configure --------------------------------------- 这一步报错:No package 'libpq' found 建立如下文件,然后拷贝下面的内容。 /usr/lib64/pkgconfig/libpq.pc: prefix=/usr libdir=${prefix}/lib64 includedir=${prefix}/include/pgsql Name: LibPQ Version: 5.5.0 Description: PostgreSQL client library Requires: Libs: -L${libdir}/libpq.so -lpq Cflags: -I${includedir} --------------------------------------- yum install pandoc make -j 2 make check # Runs the tests sudo make install ```