-
jeffro256[m]
rbrunner grumblemobile your guys' comments about binary_archive surprised me so I went back to look at binary_archive, because I didn't think it was epee format. I just confirmed, it is not epee binary format and is something seperate
-
NorrinRadd
it's a known issue that the gui wallet will not start monerod with the zmq-rpc-bind-port enabled?
-
vtnerd
jeffro256[m]: didnt check IRC yesterday - I've been referring to the "other" serialization technique in `src/serialization` as "cryptonote" and the one in `contrib/epee` as "epee"
-
vtnerd
the cryptonote serialization could be difficult for either of our proposals because there is some custom code in ringct for arrays
-
vtnerd
I mean, either could handle it afaik, but theres a bit more customization to provide optimal size in the output in places
-
vtnerd
customization per type I meant
-
vtnerd
Im getting my serialization branch working with json, and dropping the bulk of the macro changes as it seems like its going to be less painful in the end
-
vtnerd
I've found a way to forward declare some stuff though, and Im hoping that drops compile times a bit but not certain yet
-
vtnerd
it definitely moves the template expansions in some files at least
-
vtnerd
the technique should work with either my proposal or jeffro256[m], but not sure about perfect's daemons approach atm
-
vtnerd
it might be possible to do this with the existing solution, but it would have to be done in a slightly different way I think
-
vtnerd
*forward declare some stuff while leaving the serialization macros in the header/struct/class declaration
-
duggavo[m]
Hello, I am compiling monerod on an Debian machine and it works perfectly, however if i try running it on another computer it says:
-
duggavo[m]
`error while loading shared libraries: libzmq.so.5: cannot open shared object file: No such file or directory`
-
duggavo[m]
ZeroMQ is installed on the compiling machine, but not on the machine running monerod.
-
duggavo[m]
I am compiling with `make release-static`.
-
moneromooo
Build libmzq statically (or install a prebuilt one from your OS repo).
-
moneromooo
Then you likely have to delete any CMakeCache.txt in build before making again.
-
moneromooo
make release-static will use shared libs if a static one isn't found. Not sure if by design or not.
-
duggavo[m]
Thank you for being supportive, i didn't notice the "Building portable statically linked binaries" section in the readme.md
-
moneromooo
Also ldd monerod when done, and do the same for any remaining libs (stuff like libm, libdl, etc are fine).
-
moneromooo
But stuff like boost, for example, or unbound, you want to have static.
-
duggavo[m]
moneromooo: What does LDD mean?
-
duggavo[m]
nvm it's a linux command
-
duggavo[m]
when i do `make release-static-linux-x86_64` to statically compile librarie it fails at around 80% with this error:... (full message at <
libera.ems.host/_matrix/media/r0/do…5c234bfb932e2bd9648f54f8e903e3feb01>)
-
duggavo[m]
when i do `make release-static-linux-x86_64` to statically compile librarie it fails at 85% with this error:... (full message at <
libera.ems.host/_matrix/media/r0/do…06df30d08ff4164c636defd6e171da6a96d>)
-
duggavo[m]
when i do `make release-static-linux-x86_64` to statically compile librarie it fails at 85% with this error:... (full message at <
libera.ems.host/_matrix/media/r0/do…06df30d08ff4164c636defd6e171da6a96d>)
-
moneromooo
Link against libevent. And then post a patch.
-
moneromooo
It's happened before, and I guess whoever had that didn't post a patch.
-
moneromooo
And libnettle as well apparently.
-
moneromooo
Best if you work out what libs monero uses they're a dep of. Possibly 0mq.
-
moneromooo
libgmp ? wtf.
-
moneromooo
Oh, possibly boost bignums...
-
moneromooo
Oh, it says nettle is from libunbound.
-
moneromooo
So look for "NORM" in a CMakeLists.txt. It's an optional libzmq dep.
-
moneromooo
Do the same thing for libnettle/libevent and libundound.
-
moneromooo
And libgmp. Weird it's in there.
-
duggavo[m]
moneromooo: and what should i do? erase any line in cmakelists containing norm?
-
duggavo[m]
moneromooo: CMakeLists.txt does not contain libgmp
-
moneromooo
No. "Do the same" is the opposite of "undo" :)
-
moneromooo
Yes. That's why "do hte same" as with norm.
-
duggavo[m]
undo what exactly?
-
moneromooo
Nevermind.
-
duggavo[m]
i'll try compiling with the dockerfile
-
moneromooo
-
moneromooo
But also for libevent and libgmp.
-
grumblemobile
I guess this is another time to moan about cmake not using pkg-config, which would probably have avoided this
-
grumblemobile
I guess this is another time to moan about cmake
-
grumblemobile
moan about cmake
-
duggavo[m]
I added these lines to CMakeLists.txt at line 1173:... (full message at <
libera.ems.host/_matrix/media/r0/do…09a783b40674ef11a0e00fe78af01e98432>)
-
-
r4v3r23[m]
do subaddresses still "provide weaker protection against malicious counterparties"?
-
r4v3r23[m]
* malicious counterparties" vs separate seeds?
-
selsta
-
selsta
r4v3r23[m]: yes, likely won't be fixed before Seraphis
-
r4v3r23[m]
selsta: and it applies to accounts vs new seed as well?
-
selsta
-
duggavo[m]
selsta: oh maybe now i understand everything
-
r4v3r23[m]
selsta: thanks
-
grumblemobile
Do you *really* mean the same error log persists, or only some of them ?
-
duggavo[m]
when i do "make depends target=x86_64-linux-gnu" it prints A TON of errors. Why? It seems it's because the directory i am building monero at contains a space in its name, and maybe something doesn't work because of this
-
grumblemobile
Second, you're building static. Packages on monero distros will install shared libs but not static libs by default if you do not specify.
-
duggavo[m]
i am building in `/media/duggavo/hard disk/monero` and maybe it doesn't like that the "hard disk" folder includes spaces
-
grumblemobile
And not all packagers ship static libs.
-
grumblemobile
er, re-reading, I meant modern distros, not monero distros. Muscle memory.
-
selsta
it's possible that a space in the path causes issues with depends, can you share the error message?
-
duggavo[m]
selsta: > make depends target=x86_64-linux-gnu
-
duggavo[m]
prompted a lot of errors with something like
-
duggavo[m]
`/media/duggavo/hard not found` and i was compiling in folder `/media/duggavo/hard disk/monero`
-
duggavo[m]
s/>//, s/x86_64/x86\_64/
-
duggavo[m]
Right now it's compiling now that i changed folder
-
grumblemobile
Yeah that's an obvious space issue, from that message.
-
grumblemobile
Feel free to replace $X with "$X" if you find them.
-
duggavo[m]
ok, the compilation just failed
-
duggavo[m]
gperf not found
-
grumblemobile
At least when not in more complex expressions.
-
grumblemobile
I fail to see why gperf would be needed. Are you sure it's an *error*, and not a message next to the error ?
-
selsta
gperf is needed
-
grumblemobile
Why ?
-
duggavo[m]
grumblemobile: checking for x86_64-linux-gnu-gperf... no
-
duggavo[m]
checking for gperf... no
-
duggavo[m]
configure: error: *** gperf not found
-
selsta
-
selsta
and line 89
-
selsta
oh i never looked into why, it just has always been a dependency for some reason
-
duggavo[m]
selsta: python3-zmq??
-
selsta
try without it
-
duggavo[m]
why does it require a python package?
-
grumblemobile
I've never seen monero do any kind of profile guided opt, so... I think it's spurious unless proven otherwise.
-
grumblemobile
Though I suppose some other package dep might require it, spuriously...
-
duggavo[m]
<selsta> "duggavo: install these dependenc..." <- Weird, installation of these packages fails with... (full message at <
libera.ems.host/_matrix/media/r0/do…e1a64ab65f17cda44fae67dfc136e2162dd>)
-
duggavo[m]
-
selsta
which once exactly?
-
duggavo[m]
selsta: install-info
-
duggavo[m]
even if i didn't include it in the command to install deps
-
selsta
which OS version are you using?
-
duggavo[m]
what? it gives the same error even if i do sudo apt-get install curl
-
duggavo[m]
which i previously installed successfully
-
duggavo[m]
selsta: Ubuntu 22
-
selsta
ok, then it's better if you just try to use `make release-static`, as it says in the readme depends currently only works for 18.04 and 20.04
-
selsta
but no idea what this java error is, does not seem monero related
-
duggavo[m]
selsta: It isn't and i fixed it
-
duggavo[m]
selsta: make release-static did not work
-
selsta
did you follow what it said in the link I sent?
-
selsta
you have to add 4 libraries, not 3
-
duggavo[m]
selsta: to install dependencies? Yes
-
duggavo[m]
<selsta> "duggavo: install these dependenc..." <- this one
-
duggavo[m]
in fact, that link was to fix issues with depends
-
selsta
that was before I knew you had Ubuntu 22.04
-
selsta
you have to compile it with `make release-static`, or use docker
-
selsta
19:39 <+grumblemobile> Do you *really* mean the same error log persists, or only some of them ?
-
selsta
can you answer this question?
-
duggavo[m]
selsta: No
-
duggavo[m]
Because it is still compiling
-
selsta
because if only some are left it means a library is missing
-
grumblemobile
If it is still compiling, how do you know the same errors persist ?
-
duggavo[m]
grumblemobile: I said that before installing the dependencies selsta suggested
-
duggavo[m]
Now I am trying make release-static
-
selsta
the dependencies I suggested were for make depends, not make release-static
-
duggavo[m]
Ok, now the error seems shorter
-
-
plowsof
please use
paste.debian.net , (easier for IRC users to read)
-
duggavo[m]
-
selsta
duggavo[m]: will check if I can get it working in a VM
-
selsta
duggavo[m]: apt does not install static nettle from what i can tell
-
selsta
duggavo[m]:
paste.debian.net/hidden/1014cac8 this worked for me on Ubuntu 22.04 + release-static
-
selsta
.merge+ 8420
-
xmr-pr
Added
-
binaryFate
binaries for v0.18.1.1 are online and kicking. Thanks to all contributors
-
jeffro256[m]
selsta were you not able to build release-static on a clean Ubuntu 22.04 install after compiling libunbound-dev?
-
jeffro256[m]
DId you get the same errors as LocalMonero was getting?
-
jeffro256[m]
This is really stumping me. Idk what I'm doing, but make release-static just works for me on clean installs after dealing with libunbound
-
selsta
yes, exact same error
-
selsta
jeffro256[m]: these were the steps i did
paste.debian.net/hidden/1014cac8
-
jeffro256[m]
Does it work with master if you build libunbound with just a normal ./configure ?
-
jeffro256[m]
Instead of with all those options
-
selsta
I don't know but I don't see how this should be libzmq related
-
one-horse-wagon[
binaryFate: I think a number of guys that can do gentian builds don't check this IRC everyday. So they miss the fact that v0.18.1.1 binaries are now out and need validation. I would post your message daily until they finally notice.
-
jeffro256[m]
selsta huzzah! It failed!
-
jeffro256[m]
So I'm going to try to narrow it down but the ./configure ... in the unbound repo decided if release-static failed or not
-
selsta
does it even enable static by default?
-
jeffro256[m]
I'm guessing it doesn't, and that --enable-static flag is what is causes the linking to fail
-
jeffro256[m]
Is it pertinent that a static monero build links a libunbound which itself is linked statically?
-
selsta
you can check ldd monerod
-
selsta
and try the binary on a complete fresh VM
-
selsta
but generally yes, you want your dependencies to be static
-
layter[m]
<jeffro256[m]> "This is really stumping me..." <- I went through the same thing 😅
-
layter[m]
Had to reinstall Ubuntu all over again 🙃 to get monero to compile. I hope this gets fixed ASAP or was it fixed in Monero version 0.18.1.1?
-
layter[m]
* I went through the same thing 😅
-
layter[m]
Had to reinstall Ubuntu all over again 🙃 to get monero to compile. I hope this gets fixed ASAP or has it been fixed in Monero version 0.18.1.1?