Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml-2.0' found
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml-2.0' found
gcc -c -m32 -g -O2 -Wall -Wno-deprecated-declarations -Wno-multichar -march=native -mfpmath=sse -fPIC -I. -I/usr/include -I/usr/include/wine -I/usr/include/wine/windows -I/usr/include/x86_64-linux-gnu -o fsthost_32.o fsthost.c
fsthost.c:31:18: fatal error: glib.h: No such file or directory
compilation terminated.
Makefile:129: recipe for target 'fsthost_32.o' failed
make: *** [fsthost_32.o] Error 1
I've tried this one two laptops. I was able to compile this using the AUR on Antergos a while back ago.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No. When you change line 4 to 64 you will only build fsthost64, but without fsthost32. Standard makefile is trying to build both fsthost32 and fsthost64. If you want build only fsthost64 then type "make PLAT=64".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've tried this one two laptops. I was able to compile this using the AUR on Antergos a while back ago.
I get the same build error. Any news?
brian
Actually, my error is a bit different:
A working solution with the help from the guys at linux-magazine.it: for 64-bit computers, change line 4 in the makefile from 32 to 64. Then compile.
brian
No. When you change line 4 to 64 you will only build fsthost64, but without fsthost32. Standard makefile is trying to build both fsthost32 and fsthost64. If you want build only fsthost64 then type "make PLAT=64".
I am getting the same error.
/usr/include/glib-2.0/glib/gmacros.h:232:53: error: size of array ‘_GStaticAssertCompileTimeAssertion_0’ is negative
What is the solution?
You need to set PKG_CONFIG_PATH variable when build 32bit version.
On arch you can use my official AUR package.
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=fsthost
On which distribution you compile it ?