Closed jjbarr closed 8 years ago
I can tell you the PKGBUILDS up on the AUR would not compile for me on Manjaro Linux, failing with a similar message as you received.
Slade from git does manually compile for me though the terminal with:
git clone https://github.com/sirjuddington/SLADE.git slade
mkdir slade/build
cd slade/build
cmake ..
make
My distro build already had all the required dependencies for Slade 3 to compile and run. I'm not sure what's up with the git build recipe on the AUR and wanted to find the issue or at least flag it out of date a few days ago when this happened to me, but never got back to it once I realized it wasn't a Slade issue.
The error is consistent, even if the slade sources are fresh from git.
Hmm..ok. I compiled it a few days ago fine. I'll try now to see if there is any change for me as well. Looks to be specific to your freetype library maybe? Looking at your errors with freetype, did you check which version of freetype is installed? If i look in my system for freetype I get this as a result:
If there is something wrong with your installed freetype2 libraries then that would explain your second issue why harfbuzz is failing since it depends of freetype2 to be present and working.
No, I'm running the same version of freetype2 you are.
I'm also running Arch and have had no problems.
Is that the only error? There's no other output higher up in the terminal?
/usr/bin/ld: /usr/local/lib/libfreetype.a(autofit.c.o): undefined reference to symbol 'hb_buffer_get_glyph_positions'
This looks like libfreetype depends on something that is missing in your system. This often happens with static libraries. Try to link it with dynamic library.
Um... How do you do that?
hb_*
is harfbuzz
, which I only just realized is an entirely separate package. Do you have it installed?
yes, I do. Also, here is the gist of my full build output. I figured it would help. https://gist.github.com/qwertyuiop924/db194c459b5d1072a7d2
That almost seems like -lharfbuzz
is just missing entirely from the compiler invocation? I'm not much of a C wizard, though.
adding -lharfbuzz
to the beginning of the list of libraries to link in the compiler invocation in SLADE/build/src/CMakeFiles/slade.dir/link.txt
seemed to work. Now here's a question: Why wasn't it there in the first place, and why haven't huge quantities of people had massive amount of compiler errors because of this yet?
Slade refuses to compile on my system.
make
gives the following error:After doing some research, it looks like a dependency of some kind was unmet, and that's why
ld
is complaining. I am unsure how or why, not knowing much about the internals of your project.I am running archlinux, my
uname -srvmo
isLinux 4.3.3-3-ARCH #1 SMP PREEMPT Wed Jan 20 08:12:23 CET 2016 x86_64 GNU/Linux
, and I am runningopenrc
instead ofsystemd
, which is not standard, though probably not relevant. This is especially puzzling, considering that some of you are running Manjaro, which is an arch distro.