New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor fix in build documentation for FreeBSD 11 #10245
Conversation
shigeya
commented
Apr 20, 2017
- Don't need libevent2 -- and it's not availble in pkg also
- Need to use GNU make
Are you sure nothing is needed to install libevent? |
Yes, I could successfully build without error on FreeBSD 11.0-RELEASE-p9. I briefly tested the code with Testnet3 and looks working (although, I haven't run until getting the latest block). I decided to shut down the server for now, due to poor CPU resource. If you want more confirmation, I can provide. |
@shigeya I don't doubt that you could build successfully, but wasn't that because somehow libevent was already installed? |
- Package name is libevent, not libevent2 - Need to use GNU make
7ee8aa0
to
0611bc3
Compare
@sipa I was partially wrong. It was named |
@@ -338,7 +340,7 @@ Then build using: | |||
|
|||
./autogen.sh | |||
./configure --with-incompatible-bdb BDB_CFLAGS="-I/usr/local/include/db5" BDB_LIBS="-L/usr/local/lib -ldb_cxx-5" | |||
make | |||
gmake |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh no, how could I have made this heretic mistake.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know, I know... 😆 It's easy to guess due to the error output of make
, but... Anyway, thanks for docs. It was short and easy.
@@ -321,8 +321,10 @@ Clang is installed by default as `cc` compiler, this makes it easier to get | |||
started than on [OpenBSD](build-openbsd.md). Installing dependencies: | |||
|
|||
pkg install autoconf automake libtool pkgconf | |||
pkg install boost-libs openssl libevent2 | |||
pkg install boost-libs openssl libevent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. I upgraded from an older FreeBSD so my package was still called libevent2
. But you're right that it has been renamed.
utACK 0611bc3 |
0611bc3 Minor fix in build documentation for FreeBSD 11 (Shigeya Suzuki) Tree-SHA512: d0e0b66868e4a988e1fa121b9c7b2877b77e2b3c7a9d7a6220c9e16cf0d6817786e9020aeba19dfa2cbc07b2fbba12f2afefc442e762a7d00292bde7515ef880
- Package name is libevent, not libevent2 - Need to use GNU make Github-Pull: bitcoin#10245 Rebased-From: 0611bc3
0611bc3 Minor fix in build documentation for FreeBSD 11 (Shigeya Suzuki) Tree-SHA512: d0e0b66868e4a988e1fa121b9c7b2877b77e2b3c7a9d7a6220c9e16cf0d6817786e9020aeba19dfa2cbc07b2fbba12f2afefc442e762a7d00292bde7515ef880
0611bc3 Minor fix in build documentation for FreeBSD 11 (Shigeya Suzuki) Tree-SHA512: d0e0b66868e4a988e1fa121b9c7b2877b77e2b3c7a9d7a6220c9e16cf0d6817786e9020aeba19dfa2cbc07b2fbba12f2afefc442e762a7d00292bde7515ef880
0611bc3 Minor fix in build documentation for FreeBSD 11 (Shigeya Suzuki) Tree-SHA512: d0e0b66868e4a988e1fa121b9c7b2877b77e2b3c7a9d7a6220c9e16cf0d6817786e9020aeba19dfa2cbc07b2fbba12f2afefc442e762a7d00292bde7515ef880
0611bc3 Minor fix in build documentation for FreeBSD 11 (Shigeya Suzuki) Tree-SHA512: d0e0b66868e4a988e1fa121b9c7b2877b77e2b3c7a9d7a6220c9e16cf0d6817786e9020aeba19dfa2cbc07b2fbba12f2afefc442e762a7d00292bde7515ef880
0611bc3 Minor fix in build documentation for FreeBSD 11 (Shigeya Suzuki) Tree-SHA512: d0e0b66868e4a988e1fa121b9c7b2877b77e2b3c7a9d7a6220c9e16cf0d6817786e9020aeba19dfa2cbc07b2fbba12f2afefc442e762a7d00292bde7515ef880
0611bc3 Minor fix in build documentation for FreeBSD 11 (Shigeya Suzuki) Tree-SHA512: d0e0b66868e4a988e1fa121b9c7b2877b77e2b3c7a9d7a6220c9e16cf0d6817786e9020aeba19dfa2cbc07b2fbba12f2afefc442e762a7d00292bde7515ef880
0611bc3 Minor fix in build documentation for FreeBSD 11 (Shigeya Suzuki) Tree-SHA512: d0e0b66868e4a988e1fa121b9c7b2877b77e2b3c7a9d7a6220c9e16cf0d6817786e9020aeba19dfa2cbc07b2fbba12f2afefc442e762a7d00292bde7515ef880
0611bc3 Minor fix in build documentation for FreeBSD 11 (Shigeya Suzuki) Tree-SHA512: d0e0b66868e4a988e1fa121b9c7b2877b77e2b3c7a9d7a6220c9e16cf0d6817786e9020aeba19dfa2cbc07b2fbba12f2afefc442e762a7d00292bde7515ef880
0611bc3 Minor fix in build documentation for FreeBSD 11 (Shigeya Suzuki) Tree-SHA512: d0e0b66868e4a988e1fa121b9c7b2877b77e2b3c7a9d7a6220c9e16cf0d6817786e9020aeba19dfa2cbc07b2fbba12f2afefc442e762a7d00292bde7515ef880
0611bc3 Minor fix in build documentation for FreeBSD 11 (Shigeya Suzuki) Tree-SHA512: d0e0b66868e4a988e1fa121b9c7b2877b77e2b3c7a9d7a6220c9e16cf0d6817786e9020aeba19dfa2cbc07b2fbba12f2afefc442e762a7d00292bde7515ef880
0611bc3 Minor fix in build documentation for FreeBSD 11 (Shigeya Suzuki) Tree-SHA512: d0e0b66868e4a988e1fa121b9c7b2877b77e2b3c7a9d7a6220c9e16cf0d6817786e9020aeba19dfa2cbc07b2fbba12f2afefc442e762a7d00292bde7515ef880
0611bc3 Minor fix in build documentation for FreeBSD 11 (Shigeya Suzuki) Tree-SHA512: d0e0b66868e4a988e1fa121b9c7b2877b77e2b3c7a9d7a6220c9e16cf0d6817786e9020aeba19dfa2cbc07b2fbba12f2afefc442e762a7d00292bde7515ef880
0611bc3 Minor fix in build documentation for FreeBSD 11 (Shigeya Suzuki) Tree-SHA512: d0e0b66868e4a988e1fa121b9c7b2877b77e2b3c7a9d7a6220c9e16cf0d6817786e9020aeba19dfa2cbc07b2fbba12f2afefc442e762a7d00292bde7515ef880