Code Monkey home page Code Monkey logo

Comments (9)

moneroexamples avatar moneroexamples commented on May 16, 2024 2

@Snipa22

Thank you for the info. If the problem persists I will make the compiling tx pusher optional, as this uses the monero's boost archiving library. I havent tested on ubunut server, but you are right, it should not matter.

btw. I relaunch the onion version of the onion explorer, if anyone interested to see the latest version or test the tx pusher or other things. The onion address is: http://3ccmeg4dunrl7h3i.onion/

from onion-monero-blockchain-explorer.

moneroexamples avatar moneroexamples commented on May 16, 2024 1

Just tried on fresh 16.04 desktop (you use server?) and it worked for me. Usually when I compile new monero, or any other project, I just download fresh copy of the source and compile everything from scratch.

I would suggest removing entire monero source code folder, and get current source.

Once Monero is compiled from scratch, delete old /opt/monero-dev folder (or rename it if you rely on old version, just to have a backup in case the suggestion wont work) and setup headers and files from scratch as indicated here:

Note: the rsync command has changed a bit recently to account for new serialisation file headers in monero. Your error seem to be due to problems with serialization files: portable_binary_iarchive.hpp from monero. Maybe they didnt get updated properly?

Then get fresh copy of source of the explorer and trying compiling it.

Just to complete, I tested the compilation on ubuntu in vm of these details: http://i.imgur.com/d3STqFg.png

If there will be still problems, I can make compilation of parts of the explorer that relay on monero's serialization files optional. This will eliminate tx pusher from the explorer, but should make it compile.

Please let me know how it will go and I will try to help.

from onion-monero-blockchain-explorer.

moneroexamples avatar moneroexamples commented on May 16, 2024

Need latest monero. Since 0.10.1 got release, there were changes to boost archiving done in monero to fix some issues with archives. Blockchain explorer was adapted to these changes, thus you need to have latest development version of monero.

from onion-monero-blockchain-explorer.

Gingeropolous avatar Gingeropolous commented on May 16, 2024

Still can't compile. On latest head of Monero.

[ 94%] Building CXX object CMakeFiles/xmrblocks.dir/main.cpp.o
In file included from /usr/include/boost/serialization/serialization.hpp:44:0,
from /opt/monero-dev/headers/src/cryptonote_core/blockchain.h:32,
from /home/monerosupport/onion-monero-blockchain-explorer/src/monero_headers.h:25,
from /home/monerosupport/onion-monero-blockchain-explorer/src/MicroCore.h:10,
from /home/monerosupport/onion-monero-blockchain-explorer/main.cpp:6:
/usr/include/boost/serialization/access.hpp: In instantiation of ‘static void boost::serialization::access::serialize(Archive&, T&, unsigned int) [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::unsigned_tx_set]’:
/usr/include/boost/serialization/serialization.hpp:69:22: required from ‘void boost::serialization::serialize(Archive&, T&, unsigned int) [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::unsigned_tx_set]’
/usr/include/boost/serialization/serialization.hpp:128:18: required from ‘void boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::unsigned_tx_set]’
/usr/include/boost/archive/detail/iserializer.hpp:184:40: required from ‘void boost::archive::detail::iserializer<Archive, T>::load_object_data(boost::archive::detail::basic_iarchive&, void*, unsigned int) const [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::unsigned_tx_set]’
/usr/include/boost/archive/detail/iserializer.hpp:116:1: required from ‘class boost::archive::detail::iserializer<boost::archive::portable_binary_iarchive, tools::wallet2::unsigned_tx_set>’
/usr/include/boost/archive/detail/iserializer.hpp:410:13: required from ‘static void boost::archive::detail::load_non_pointer_type::load_standard::invoke(Archive&, const T&) [with T = tools::wallet2::unsigned_tx_set; Archive = boost::archive::portable_binary_iarchive]’
/usr/include/boost/archive/detail/iserializer.hpp:462:22: required from ‘static void boost::archive::detail::load_non_pointer_type::invoke(Archive&, T&) [with T = tools::wallet2::unsigned_tx_set; Archive = boost::archive::portable_binary_iarchive]’
/usr/include/boost/archive/detail/iserializer.hpp:618:18: required from ‘void boost::archive::load(Archive&, T&) [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::unsigned_tx_set]’
/usr/include/boost/archive/detail/common_iarchive.hpp:66:22: required from ‘void boost::archive::detail::common_iarchive::load_override(T&, int) [with T = tools::wallet2::unsigned_tx_set; Archive = boost::archive::portable_binary_iarchive]’
/opt/monero-dev/headers/external/boost/archive/portable_binary_iarchive.hpp:168:9: required from ‘void boost::archive::portable_binary_iarchive::load_override(T&, int) [with T = tools::wallet2::unsigned_tx_set]’
/usr/include/boost/archive/detail/interface_iarchive.hpp:60:9: required from ‘Archive& boost::archive::detail::interface_iarchive::operator>>(T&) [with T = tools::wallet2::unsigned_tx_set; Archive = boost::archive::portable_binary_iarchive]’
/home/monerosupport/onion-monero-blockchain-explorer/src/page.h:1610:23: required from here
/usr/include/boost/serialization/access.hpp:118:9: error: ‘struct tools::wallet2::unsigned_tx_set’ has no member named ‘serialize’
t.serialize(ar, file_version);
^
/usr/include/boost/serialization/access.hpp: In instantiation of ‘static void boost::serialization::access::serialize(Archive&, T&, unsigned int) [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::signed_tx_set]’:
/usr/include/boost/serialization/serialization.hpp:69:22: required from ‘void boost::serialization::serialize(Archive&, T&, unsigned int) [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::signed_tx_set]’
/usr/include/boost/serialization/serialization.hpp:128:18: required from ‘void boost::serialization::serialize_adl(Archive&, T&, unsigned int) [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::signed_tx_set]’
/usr/include/boost/archive/detail/iserializer.hpp:184:40: required from ‘void boost::archive::detail::iserializer<Archive, T>::load_object_data(boost::archive::detail::basic_iarchive&, void*, unsigned int) const [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::signed_tx_set]’
/usr/include/boost/archive/detail/iserializer.hpp:116:1: required from ‘class boost::archive::detail::iserializer<boost::archive::portable_binary_iarchive, tools::wallet2::signed_tx_set>’
/usr/include/boost/archive/detail/iserializer.hpp:410:13: required from ‘static void boost::archive::detail::load_non_pointer_type::load_standard::invoke(Archive&, const T&) [with T = tools::wallet2::signed_tx_set; Archive = boost::archive::portable_binary_iarchive]’
/usr/include/boost/archive/detail/iserializer.hpp:462:22: required from ‘static void boost::archive::detail::load_non_pointer_type::invoke(Archive&, T&) [with T = tools::wallet2::signed_tx_set; Archive = boost::archive::portable_binary_iarchive]’
/usr/include/boost/archive/detail/iserializer.hpp:618:18: required from ‘void boost::archive::load(Archive&, T&) [with Archive = boost::archive::portable_binary_iarchive; T = tools::wallet2::signed_tx_set]’
/usr/include/boost/archive/detail/common_iarchive.hpp:66:22: required from ‘void boost::archive::detail::common_iarchive::load_override(T&, int) [with T = tools::wallet2::signed_tx_set; Archive = boost::archive::portable_binary_iarchive]’
/opt/monero-dev/headers/external/boost/archive/portable_binary_iarchive.hpp:168:9: required from ‘void boost::archive::portable_binary_iarchive::load_override(T&, int) [with T = tools::wallet2::signed_tx_set]’
/usr/include/boost/archive/detail/interface_iarchive.hpp:60:9: required from ‘Archive& boost::archive::detail::interface_iarchive::operator>>(T&) [with T = tools::wallet2::signed_tx_set; Archive = boost::archive::portable_binary_iarchive]’
/home/monerosupport/onion-monero-blockchain-explorer/src/page.h:1879:23: required from here
/usr/include/boost/serialization/access.hpp:118:9: error: ‘struct tools::wallet2::signed_tx_set’ has no member named ‘serialize’
CMakeFiles/xmrblocks.dir/build.make:62: recipe for target 'CMakeFiles/xmrblocks.dir/main.cpp.o' failed
make[2]: *** [CMakeFiles/xmrblocks.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:69: recipe for target 'CMakeFiles/xmrblocks.dir/all' failed
make[1]: *** [CMakeFiles/xmrblocks.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

from onion-monero-blockchain-explorer.

moneroexamples avatar moneroexamples commented on May 16, 2024

Ok. Let me check on 16.04, and will get back to you. Thanks.

from onion-monero-blockchain-explorer.

Snipa22 avatar Snipa22 commented on May 16, 2024

Hello,

This was compiled from a clean copy of 16.04.1 LTS server, monerod had no issues at all. The entire project was built from Master, 2 days before the most recent merges occoured. We'll give the copy another shot at this point, but there's no real reason I can see that it should matter.

from onion-monero-blockchain-explorer.

kenshi84 avatar kenshi84 commented on May 16, 2024

@moneroexamples Sweet, now the explorer accepts all kinds of binary files created on my Mac machine:) Thank you so much!

PS: The explorer + custom lmdb builds also fine on my Ubuntu 16.04.1 virtual machine.

from onion-monero-blockchain-explorer.

moneroexamples avatar moneroexamples commented on May 16, 2024

@kenshi84

Happy its working. If something, please dont hesitate to let me know.

from onion-monero-blockchain-explorer.

Gingeropolous avatar Gingeropolous commented on May 16, 2024

So I ended up compiling on Ubuntu desktop and then pushing the binaries to Snipa's ubuntu server. Don't think this really fixes the issue, but it seems like I should close it anyway.

from onion-monero-blockchain-explorer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.