Skip to content
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

error: no matching function for call to ‘boost::archive::portable_binary_iarchive::load_override #58

Open
Methodiseme opened this issue Sep 12, 2018 · 16 comments

Comments

@Methodiseme
Copy link

/usr/local/include/boost/archive/detail/interface_iarchive.hpp: In instantiation of ‘Archive& boost::archive::detail::interface_iarchive::operator>>(T&) [with T = boost::archive::tracking_type; Archive = boost::archive::portable_binary_iarchive]’:
/usr/local/include/boost/archive/detail/common_iarchive.hpp:57:24: required from ‘void boost::archive::detail::common_iarchive::vload(boost::archive::tracking_type&) [with Archive = boost::archive::portable_binary_iarchive]’
/root/aeon/src/cryptonote_core/blockchain.cpp:4639:1: required from here
/usr/local/include/boost/archive/detail/interface_iarchive.hpp:60:9: error: no matching function for call to ‘boost::archive::portable_binary_iarchive::load_override(boost::archive::tracking_type&, int)’

this is on centos7 when I run make the installation gets to about 70-75%

I have installed dependencies like so:

sudo yum install libtool perl-core zlib-devel -y
curl -O -L https://github.com/openssl/openssl/archive/OpenSSL_1_1_0g.tar.gz
tar -zxvf OpenSSL_1_1_0g.tar.gz
cd openssl-OpenSSL_1_1_0g
./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl shared zlib
make
make install
cd ~
wget http://www.cmake.org/files/v3.0/cmake-3.0.0.tar.gz
tar -zxvf cmake-3.0.0.tar.gz
cd cmake-3.0.0
./bootstrap 
gmake 
gmake install
mv cmake-3.0.0 /usr/local/
nano ~/.bashrc
// at the end paste
PATH=/usr/local/cmake-3.0.0/bin:$PATH
export PATH
cd /usr/local/cmake-3.0.0
mkdir share
cp -R /usr/local/share/cmake-3.0/ share/
reboot
...
sudo yum install -y epel-release
sudo yum install -y zeromq-devel
// copy the code from https://github.com/zeromq/cppzmq/blob/master/zmq.hpp
nano /usr/local/include/zmq.hpp
//paste and save
wget http://sourceforge.net/projects/boost/files/boost/1.58.0/boost_1_58_0.tar.bz2
tar -xvjf boost_1_58_0.tar.bz2
cd boost_1_58_0
./bootstrap.sh --prefix=/opt/boost
./b2 install --prefix=/opt/boost --with=all
cd ~
yum install libsodium-devel
yum install graphviz
yum install readline-devel
wget http://rpmfind.net/linux/centos/7.5.1804/os/x86_64/Packages/pcsc-lite-devel-1.8.8-7.el7.i686.rpm
yum install pcsc-lite-devel-1.8.8-7.el7.i686.rpm
yum install miniupnpc-devel
yum install pcsc-lite-devel
git clone --recursive https://github.com/aeonix/aeon.git
cd aeon/
mkdir dist
cd dist
cmake ../
make
@stoffu
Copy link

stoffu commented Sep 13, 2018

Please confirm that you get the same error with Monero and redirect this issue to Monero's bug tracker where you get larger exposure and better chance of resolution.

@Methodiseme
Copy link
Author

Methodiseme commented Sep 13, 2018

I am trying @stoffu

(just making some notes before hand with monero differences)

wget https://www.rpmfind.net/linux/centos/7.5.1804/os/x86_64/Packages/qt5-linguist-5.9.2-1.el7.x86_64.rpm
yum install qt5-linguist-5.9.2-1.el7.x86_64.rpm
wget https://cmake.org/files/v3.12/cmake-3.12.2.tar.gz
tar -zxvf cmake-3.12.2.tar.gz
cd cmake-3.12.2
./bootstrap 
gmake 
gmake install
cd ~
mv cmake-3.12.2 /usr/local/
nano ~/.bashrc
// at the end paste
PATH=/usr/local/cmake-3.12.2/bin:$PATH
export PATH
// save
cd /usr/local/cmake-3.12.2
mkdir share
cp -R /usr/local/share/cmake-3.12.2/ share/
reboot
...

CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.

Monero is different! It requires linguist and cmake3.5 so far (who knows how many other differences)

The differences are very large!!
I would say that these two coins are not so comparable!
It is not a Monero issue
If one could change the coin name then perform exactly the same install then yes you have a point in telling me to try monero install but, they are not the same and require totally different architecture ...

This is an Aeon issue not a Monero issue

@Methodiseme
Copy link
Author

If I do

make --ignore-errors

the errors seem to all be about

portable_binary_iarchive

@Methodiseme
Copy link
Author

https://lists.boost.org/boost-users/att-32001/portable_binary_iarchive.hpp

Does this file go somewhere?

https://github.com/zeromq/cppzmq/blob/master/zmq.hpp was not included! Do I also need to force the code via cony 'n' paste in this case too?

@Methodiseme
Copy link
Author

[root@aeon ~]# ls -l /usr/local/include/
total 76
drwxr-xr-x 119 root root 12288 Sep 10 14:12 boost
-rw-r--r--   1 root root 28352 Sep 11 14:53 zmq.h
-rw-r--r--   1 root root 31349 Sep 11 15:39 zmq.hpp
-rw-r--r--   1 root root  2401 Sep 11 14:53 zmq_utils.h

zmq.hpp was not there before I pasted it in

@Methodiseme
Copy link
Author

I have pasted the contents of the file

https://lists.boost.org/boost-users/att-32001/portable_binary_iarchive.hpp

in:

/usr/local/include/portable_binary_iarchive.hpp

now I am running cmake ../ and make

@Methodiseme
Copy link
Author

[ 62%] Building CXX object src/common/CMakeFiles/obj_common.dir/download.cpp.o
In file included from /root/aeon/contrib/epee/include/net/http_client.h:41:0,
                 from /root/aeon/src/common/download.cpp:37:
/root/aeon/contrib/epee/include/net/net_helper.h: In member function ‘void epee::net_utils::blocked_mode_client::shutdown_ssl()’:
/root/aeon/contrib/epee/include/net/net_helper.h:576:26: error: ‘boost::asio::ssl::error’ has not been declared
        boost::asio::ssl::error::stream_truncated
                          ^
make[2]: *** [src/common/CMakeFiles/obj_common.dir/download.cpp.o] Error 1
make[1]: *** [src/common/CMakeFiles/obj_common.dir/all] Error 2
make: *** [all] Error 2

@Methodiseme
Copy link
Author

boost::asio::ssl::error

variable isn't even declared?

@Methodiseme
Copy link
Author

building again with

make --ignore-errors

seeing errors about

no matching function for call to ‘boost::archive::portable_binary_iarchive::load_override

@Methodiseme
Copy link
Author

built 100%

but

./bin/aeond << does not exist
cd src
./aeon
src << does not exist

where is it?

@Methodiseme
Copy link
Author

here is what I got:

[root@aeon ~]# cd aeon/src/
[root@aeon src]# ls -l
total 120
drwxr-xr-x 4 root root 4096 Sep 13 16:27 blockchain_db
drwxr-xr-x 2 root root 4096 Sep 13 17:11 blockchain_utilities
drwxr-xr-x 2 root root 4096 Sep 13 16:27 blocks
drwxr-xr-x 2 root root 4096 Sep 13 16:27 checkpoints
-rw-r--r-- 1 root root 5021 Sep 13 16:27 CMakeLists.txt
drwxr-xr-x 2 root root 4096 Sep 13 16:27 common
drwxr-xr-x 3 root root 4096 Sep 13 16:27 crypto
drwxr-xr-x 2 root root 4096 Sep 13 16:27 cryptonote_basic
-rw-r--r-- 1 root root 11013 Sep 13 16:27 cryptonote_config.h
drwxr-xr-x 2 root root 4096 Sep 13 16:27 cryptonote_core
drwxr-xr-x 2 root root 4096 Sep 13 16:27 cryptonote_protocol
drwxr-xr-x 2 root root 4096 Sep 13 17:07 daemon
drwxr-xr-x 2 root root 4096 Sep 13 16:27 daemonizer
drwxr-xr-x 2 root root 4096 Sep 13 16:27 debug_utilities
drwxr-xr-x 2 root root 4096 Sep 13 16:27 device
drwxr-xr-x 2 root root 4096 Sep 13 16:27 gen_multisig
drwxr-xr-x 2 root root 4096 Sep 13 16:27 mnemonics
drwxr-xr-x 2 root root 4096 Sep 13 16:27 multisig
drwxr-xr-x 2 root root 4096 Sep 13 16:27 p2p
drwxr-xr-x 4 root root 4096 Sep 13 16:27 platform
drwxr-xr-x 2 root root 4096 Sep 13 16:27 ringct
drwxr-xr-x 2 root root 4096 Sep 13 16:27 rpc
drwxr-xr-x 2 root root 4096 Sep 13 16:27 serialization
drwxr-xr-x 2 root root 4096 Sep 13 16:27 simplewallet
-rw-r--r-- 1 root root 481 Sep 13 16:27 version.cpp.in
-rw-r--r-- 1 root root 192 Sep 13 16:27 version.h
drwxr-xr-x 3 root root 4096 Sep 13 16:27 wallet

@stoffu
Copy link

stoffu commented Sep 14, 2018

Stop making a false claim that Aeon's codebase is completely different from Monero's. I'd vote for closing this ticket.

https://lists.boost.org/boost-users/att-32001/portable_binary_iarchive.hpp
Does this file go somewhere?

Portable binary archive is not officially part of the Boost library (only exists in the examples folder). It's functional as long as floating point isn't involved, hence it was copied to the external/boost/archive folder of the repository.

monero-project#1462 (comment)

@shigutso
Copy link

@Methodiseme keep in mind that CentOS is a very "stable" OS and it uses very, very old libs and kernels. You should try compiling Aeon in newer distros, like Fedora or Ubuntu.

No issues here on Ubuntu 16.04 (that's not even that recent).

@Methodiseme
Copy link
Author

the first thing(s) monero asked for was a higher version of cmake and linguist

If it asks for different things - logic would say that the code has some differences!

I'm only asking if portable_binary_iarchive.hpp needs to be included as I see errors mentioning portable_binary_iarchive

@stoffu have a good day!

@Methodiseme
Copy link
Author

@shigutso thanks for the tip! I was trying to install it on centos because I normally have node.js on centos and was trying to dig right into installing all the dependencies and set up a tutorial, I feel like I am close

@BigslimVdub
Copy link

@shigutso thanks for the tip! I was trying to install it on centos because I normally have node.js on centos and was trying to dig right into installing all the dependencies and set up a tutorial, I feel like I am close

Did you figure out a resolution for this? If so can you post results and also close the issue.

Feel free to make a write up for cent-os aeon installation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants