re: Building latest nightly build of z88dk on Debian Linux: z88dk-20241004-15dcc5eb31-22885.tgz
I get the error shown below.
Code: Select all
sudo apt-get install libxml2-dev libxml2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libxml2-dev is already the newest version (2.9.14+dfsg-1.3~deb12u1).
libxml2 is already the newest version (2.9.14+dfsg-1.3~deb12u1).
0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded.
root@DESKTOP-OCJ492N:~/z88dk# sudo apt-get install libxml2-doc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libxml2-doc is already the newest version (2.9.14+dfsg-1.3~deb12u1).
0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded.
root@DESKTOP-OCJ492N:~/z88dk# make
make -C support/graphics PREFIX=`pwd` install
make[1]: Entering directory '/root/z88dk/support/graphics'
cc -O2 `pkg-config --cflags libxml-2.0` -c -o z80svg.o z80svg.c
/bin/sh: 1: pkg-config: not found
z80svg.c:25:10: fatal error: libxml/parser.h: No such file or directory
25 | #include <libxml/parser.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [<builtin>: z80svg.o] Error 1
make[1]: Leaving directory '/root/z88dk/support/graphics'
make: *** [Makefile:163: bin/z88dk-z80svg] Error 2
root@xxxxx:~/z88dk#
Not sure what solution to use; Symlink? Looks like this is a good article below.
https://stackoverflow.com/questions/298 ... l-parser-h
Andrew