I try to compile c-librsvg2.40.21:
wget https://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.gnome.org/sources/librsvg/2.40/librsvg-2.40.21.tar.xz
tar xf librsvg-2.40.21.tar.xz
cd librsvg-2.40.21
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:~/prgm/libcroco-0.6.13/src/.libs:~/prgm/libcroco-0.6.13:~/prgm/libcroco-0.6.13/src
export PATH=$PATH:~/prgm/libcroco-0.6.13/src/.libs:~/prgm/libcroco-0.6.13:~/prgm/libcroco-0.6.13/src
./configure
If I run make
I get:
rsvg.h:31:10: fatal error: glib-object.h: No such file or directory
31 | #include <glib-object.h>
| ^~~~~~~~~~~~~~~
rsvg.h:32:10: fatal error: gio/gio.h: No such file or directory
32 | #include <gio/gio.h>
| ^~~~~~~~~~~
rsvg.h:34:10: fatal error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
34 | #include <gdk-pixbuf/gdk-pixbuf.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Installed packages:
gdk-pixbuf2-devel.x86_64 2.42.6-2.fc35
gdk-pixbuf2-xlib-devel.x86_64 2.40.2-3.fc35
ghc-gio-devel.x86_64 0.13.8.1-6.fc35
gio-qt-devel.x86_64 0.0.11-2.fc35
gio-sharp-devel.x86_64 0.3-27.fc35
glib2-devel.x86_64 2.70.5-1.fc35
I’m running:
Operating System: Fedora Linux 35 (Workstation Edition)
Kernel: Linux 5.16.15-201.fc35.x86_64
Architecture: x86-64
Which packages do I need?
I know I should not use c-librsvg2.40.x, however I would like to replicate the rendering by Wikipedia.