View previous topic :: View next topic |
Author |
Message |
gentoo_newguy Guru
Joined: 10 Oct 2006 Posts: 539
|
Posted: Tue Feb 19, 2013 1:48 pm Post subject: emerging bitcoin, openssl prolems ? |
|
|
Hi i mtrying to install bit coin and i seem to be getting a issue with openssl.
I was wonderig if anyone could help me.
Code: | alculating dependencies... done!
[ebuild N ] net-p2p/bitcoind-0.6.3 USE="eligius -examples -logrotate -upnp" 0 kB
Total: 1 package (1 new), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No] yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) net-p2p/bitcoind-0.6.3
* bitcoin-v0.6.3.tgz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
* 0.6.1-eligius_sendfee.patch.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking bitcoin-v0.6.3.tgz to /var/tmp/portage/net-p2p/bitcoind-0.6.3/work
>>> Unpacking 0.6.1-eligius_sendfee.patch.xz to /var/tmp/portage/net-p2p/bitcoind-0.6.3/work
>>> Source unpacked in /var/tmp/portage/net-p2p/bitcoind-0.6.3/work
>>> Preparing source in /var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084 ...
* Applying 0.6.1-eligius_sendfee.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084 ...
fatal: Not a git repository (or any of the parent directories): .git
make -j5 CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ -f makefile.unix DEBUGFLAGS= 'CXXFLAGS=-O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' BDB_INCLUDE_PATH=/usr/include/db4.8 BDB_LIB_SUFFIX=-4.8 USE_UPNP= bitcoind
/bin/sh ../share/genbuild.sh obj/build.h
x86_64-pc-linux-gnu-g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -DBOOST_SPIRIT_THREADSAFE -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -pipe -MMD -o obj/checkpoints.o checkpoints.cpp
x86_64-pc-linux-gnu-g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -DBOOST_SPIRIT_THREADSAFE -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -pipe -MMD -o obj/netbase.o netbase.cpp
x86_64-pc-linux-gnu-g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -DBOOST_SPIRIT_THREADSAFE -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -pipe -MMD -o obj/addrman.o addrman.cpp
x86_64-pc-linux-gnu-g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -DBOOST_SPIRIT_THREADSAFE -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -pipe -MMD -o obj/crypter.o crypter.cpp
fatal: Not a git repository (or any of the parent directories): .git
x86_64-pc-linux-gnu-g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -DBOOST_SPIRIT_THREADSAFE -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -pipe -MMD -o obj/key.o key.cpp
key.cpp:7:27: fatal error: openssl/ecdsa.h: No such file or directory
compilation terminated.
make: *** [obj/key.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from crypter.h:8:0,
from crypter.cpp:13:
key.h:14:49: fatal error: openssl/ec.h: No such file or directory
compilation terminated.
make: *** [obj/crypter.o] Error 1
In file included from base58.h:21:0,
from script.h:8,
from main.h:10,
from checkpoints.cpp:10:
key.h:14:49: fatal error: openssl/ec.h: No such file or directory
compilation terminated.
make: *** [obj/checkpoints.o] Error 1
* ERROR: net-p2p/bitcoind-0.6.3 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-p2p/bitcoind-0.6.3'`,
* the complete build log and the output of `emerge -pqv '=net-p2p/bitcoind-0.6.3'`.
* The complete build log is located at '/var/tmp/portage/net-p2p/bitcoind-0.6.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-p2p/bitcoind-0.6.3/temp/environment'.
* Working directory: '/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src'
* S: '/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084'
>>> Failed to emerge net-p2p/bitcoind-0.6.3, Log file:
>>> '/var/tmp/portage/net-p2p/bitcoind-0.6.3/temp/build.log'
* Messages for package net-p2p/bitcoind-0.6.3:
* ERROR: net-p2p/bitcoind-0.6.3 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-p2p/bitcoind-0.6.3'`,
* the complete build log and the output of `emerge -pqv '=net-p2p/bitcoind-0.6.3'`.
* The complete build log is located at '/var/tmp/portage/net-p2p/bitcoind-0.6.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-p2p/bitcoind-0.6.3/temp/environment'.
* Working directory: '/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src'
* S: '/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084'
|
i have to tried to re emerge openssl still not working.;
Thanks Gentoo |
|
Back to top |
|
|
F6F n00b
Joined: 26 May 2008 Posts: 3
|
Posted: Fri Feb 22, 2013 6:59 am Post subject: |
|
|
is there any solution I think Ill have the same Problem ... |
|
Back to top |
|
|
svirus n00b
Joined: 09 Sep 2005 Posts: 22
|
Posted: Fri Mar 01, 2013 3:05 pm Post subject: |
|
|
re-emerge openssh
then you have newest openssl witch ec.h.
Best,
ViruS |
|
Back to top |
|
|
flyingkiwiguy n00b
Joined: 18 Mar 2013 Posts: 1
|
Posted: Mon Mar 18, 2013 11:50 am Post subject: Re: emerging bitcoin, openssl prolems ? |
|
|
gentoo_newguy wrote: |
Code: |
x86_64-pc-linux-gnu-g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -DBOOST_SPIRIT_THREADSAFE -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -pipe -MMD -o obj/key.o key.cpp
key.cpp:7:27: fatal error: openssl/ecdsa.h: No such file or directory
compilation terminated.
|
|
See:
https://bitcointalk.org/index.php?topic=9476.0 |
|
Back to top |
|
|
vedalken254 n00b
Joined: 01 Aug 2013 Posts: 2
|
Posted: Thu Aug 01, 2013 6:09 am Post subject: Re: emerging bitcoin, openssl prolems ? |
|
|
gentoo_newguy wrote: | Hi i mtrying to install bit coin and i seem to be getting a issue with openssl.
I was wonderig if anyone could help me.
Code: | alculating dependencies... done!
[ebuild N ] net-p2p/bitcoind-0.6.3 USE="eligius -examples -logrotate -upnp" 0 kB
Total: 1 package (1 new), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No] yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) net-p2p/bitcoind-0.6.3
* bitcoin-v0.6.3.tgz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
* 0.6.1-eligius_sendfee.patch.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking bitcoin-v0.6.3.tgz to /var/tmp/portage/net-p2p/bitcoind-0.6.3/work
>>> Unpacking 0.6.1-eligius_sendfee.patch.xz to /var/tmp/portage/net-p2p/bitcoind-0.6.3/work
>>> Source unpacked in /var/tmp/portage/net-p2p/bitcoind-0.6.3/work
>>> Preparing source in /var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084 ...
* Applying 0.6.1-eligius_sendfee.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084 ...
fatal: Not a git repository (or any of the parent directories): .git
make -j5 CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ -f makefile.unix DEBUGFLAGS= 'CXXFLAGS=-O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' BDB_INCLUDE_PATH=/usr/include/db4.8 BDB_LIB_SUFFIX=-4.8 USE_UPNP= bitcoind
/bin/sh ../share/genbuild.sh obj/build.h
x86_64-pc-linux-gnu-g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -DBOOST_SPIRIT_THREADSAFE -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -pipe -MMD -o obj/checkpoints.o checkpoints.cpp
x86_64-pc-linux-gnu-g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -DBOOST_SPIRIT_THREADSAFE -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -pipe -MMD -o obj/netbase.o netbase.cpp
x86_64-pc-linux-gnu-g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -DBOOST_SPIRIT_THREADSAFE -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -pipe -MMD -o obj/addrman.o addrman.cpp
x86_64-pc-linux-gnu-g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -DBOOST_SPIRIT_THREADSAFE -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -pipe -MMD -o obj/crypter.o crypter.cpp
fatal: Not a git repository (or any of the parent directories): .git
x86_64-pc-linux-gnu-g++ -c -pthread -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -DBOOST_SPIRIT_THREADSAFE -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src -I/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src/obj -I/usr/include/db4.8 -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -Wl,-z,relro -Wl,-z,now -D_FORTIFY_SOURCE=2 -O2 -pipe -MMD -o obj/key.o key.cpp
key.cpp:7:27: fatal error: openssl/ecdsa.h: No such file or directory
compilation terminated.
make: *** [obj/key.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from crypter.h:8:0,
from crypter.cpp:13:
key.h:14:49: fatal error: openssl/ec.h: No such file or directory
compilation terminated.
make: *** [obj/crypter.o] Error 1
In file included from base58.h:21:0,
from script.h:8,
from main.h:10,
from checkpoints.cpp:10:
key.h:14:49: fatal error: openssl/ec.h: No such file or directory
compilation terminated.
make: *** [obj/checkpoints.o] Error 1
* ERROR: net-p2p/bitcoind-0.6.3 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-p2p/bitcoind-0.6.3'`,
* the complete build log and the output of `emerge -pqv '=net-p2p/bitcoind-0.6.3'`.
* The complete build log is located at '/var/tmp/portage/net-p2p/bitcoind-0.6.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-p2p/bitcoind-0.6.3/temp/environment'.
* Working directory: '/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src'
* S: '/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084'
>>> Failed to emerge net-p2p/bitcoind-0.6.3, Log file:
>>> '/var/tmp/portage/net-p2p/bitcoind-0.6.3/temp/build.log'
* Messages for package net-p2p/bitcoind-0.6.3:
* ERROR: net-p2p/bitcoind-0.6.3 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-p2p/bitcoind-0.6.3'`,
* the complete build log and the output of `emerge -pqv '=net-p2p/bitcoind-0.6.3'`.
* The complete build log is located at '/var/tmp/portage/net-p2p/bitcoind-0.6.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-p2p/bitcoind-0.6.3/temp/environment'.
* Working directory: '/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084/src'
* S: '/var/tmp/portage/net-p2p/bitcoind-0.6.3/work/bitcoin-bitcoin-bbe1084'
|
i have to tried to re emerge openssl still not working.;
Thanks Gentoo |
The problem is the bindist package which is default in /etc/portage/make.conf's USE flags. Remove bindist from those flags and re emerge openssh to fix both ssh and openssl for ECDSA cryptography. And to the person who linked that bitcointalk thread: You linked a thread that was discussing RedHat OSes not having ECDSA. Gentoo is not a RedHat-maintained distribution nor should it be marked as such. On top of that, why not offer a solution that fixes the problem for the entire system, not just one program's compilation process?
Veddy |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|