-
italocoin
Sorry for my attitude i was just really frustrated after a day of failing building the GUI, i never builded for MAC the GUI appart that i barrely know anything how MAC works :(
-
italocoin
i am compiling the GUI on Ubuntu and i even compiled the QT from source and i get the error: "/usr/bin/ld: cannot find -ludev" i did installed libudev-dev etc, what could it be the issue?
-
Snipa
italocoin - There's just a bunch of work that goes into making the static builds happy. The windows builds took me several days to work out, I'll be updating the guides once I get them all sorted for building purposes, Ubuntu's up next, and I want to try a completely clean OSX build from scratch at some point.
-
Snipa
The udev issue is because udev is not provided as a static library within the Ubuntu repos, this is a deliberate choice from upstream (Systemd).
-
Snipa
Nothing really trying to be hidden, things just aren't fully documented, so we sorta have to document it as we go. :)
-
Snipa
If you compile systemd from scratch with static args, it'll compile you a static libudev.
-
Snipa
Last thing I hit was openssl being included as a dynamic library before my build machine crashed last week, and I've been working on windows from that point forwards. :) Back to ubuntu and OSX this week though.
-
Snipa
Kinda tempted to get a couple mac minis for a osx build farm, need to play with something like that for work too, as we're getting into automated iOS builds there :/
-
italocoin
@snipa on windows is easy with mingw, i can help you
-
Snipa
I'm complete at this point.
-
italocoin
ok so i need to compile systemd from source on ubuntu
-
italocoin
?
-
Snipa
Also, it's not precisely easy with getting trezor working properly, thanks to the insanity with libprotobuf. :P
-
Snipa
It compiles, but doesn't run if you don't deal with protobuf properly, as it turns out.
-
italocoin
oh trezor is a mess because of it
-
Snipa
Well, it'll run from the mingw shell, but not from sys32.
-
italocoin
I see
-
Snipa
Works fine when you get everything working properly. Just took several days and revisions of build files to get it to that point.
-
italocoin
i will try to compile systemd from source
-
italocoin
thanks for the tip! :)
-
Snipa
The default include set includes libusb and libprotobuf as dynamic libs, and the mingw64 library for protobuf isn't fully happy compling statically.
-
italocoin
appart protobuf other libs like libusb worked fine on my end, you used mingw?
-
Snipa
Yes.
-
Snipa
I got it working fully, I just needed to use some bigger hammers. :)
-
Snipa
Which lncluded compiling protobuf from source.
-
italocoin
they have a git repo?
-
Snipa
-
Snipa
On branch 3.11.x
-
italocoin
Nice
-
italocoin
afaik git/systemd/systemd is good to compile from?
-
Snipa
Well, there's still a few too many dynamic includes in my ubuntu build, but it's better.
-
Snipa
It at least built.
-
italocoin
with release-static?
-
Snipa
Yeah.
-
italocoin
how did you got the udev fixed?
-
Snipa
I ended up compling eudev.
-
italocoin
Ohh
-
italocoin
from yum
-
Snipa
Gentoo split out udev from systemd
-
italocoin
or source?
-
Snipa
So ti didn't utterly nuke my system.
-
Snipa
Uuuuh. Source? Yum doesn't exist on ubuntu. :)
-
italocoin
i mean apt
-
italocoin
:))
-
Snipa
Source still.
-
italocoin
from git?
-
italocoin
i am used with centos
-
Snipa
-
Snipa
/ HEAD detached at v3.2.9
-
italocoin
Oh thanks
-
italocoin
i will compile it right away
-
Snipa
Took a hint from the monero repo. :) They use the same trick.
-
italocoin
Nice
-
italocoin
gento
-
italocoin
i'm not familiar with it
-
Snipa
-
Snipa
-
italocoin
on eudev i do ./configure or mkdir build && cd build cmake ..?
-
Snipa
Those are my ldd's from the current .2 and my built .3
-
Snipa
Looks like wayland's the weird one out
-
Snipa
Which, it's wayland, so I guess I'm not horridly surprised?
-
italocoin
true
-
Snipa
They use autogen, which needs automake, as well as xsltproc for the ./configure step
-
italocoin
so i need to use autogen?
-
italocoin
did you used autogen?
-
Snipa
Yup.
-
Snipa
Yup.
-
italocoin
Thankss
-
Snipa
-
Snipa
Apparently, needed gperf too. :D
-
italocoin
autoreconf not found
-
Snipa
Did you install automake?
-
italocoin
i guess i miss a liub
-
italocoin
oh right
-
Snipa
w/ apt?
-
Snipa
Blah, wayland didn't include a static compile by default. How annoying.
-
italocoin
who is wayland?
-
Snipa
Wayland desktop compositor, which is one of the borked up libs in my list.
-
italocoin
Ohhh i see, never heard of it
-
Snipa
It's growing in popularity to replace X.
-
italocoin
noo i love X
-
italocoin
Snipa: i'm getting /x86_64-linux-gnu/libcrypto.a(dso_dlfcn.o) undefined reference to symbol "....GLIBC_2.2.5" ..../lidbdl.so.2 error adding symbol: DSO missing from command line
-
italocoin
its openssl ?