ataraxialinux / ataraxia

Simple and lightweight source-based multi-platform Linux distribution with musl libc.
https://ataraxialinux.org
GNU General Public License v3.0
282 stars 19 forks source link

Cannot build mupdf. #126

Closed ghost closed 4 years ago

ghost commented 4 years ago

Output :

source/fitz/font.c:6:10: fatal error: ft2build.h: No such file or directory
    6 | #include <ft2build.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:101: build/release/source/fitz/font.o] Error 1

freetype package has been installed.

ghost commented 4 years ago

can you try it 5237756

A different error message appeared.

source/fitz/filter-jbig2.c:242:10: fatal error: jbig2.h: No such file or directory
  242 | #include <jbig2.h>
      |          ^~~~~~~~~
compilation terminated.
make: *** [Makefile:101: build/release/source/fitz/filter-jbig2.o] Error 1
ghost commented 4 years ago

@ixavoz try this maybe helps

Sorry for the late reply.

/usr/bin/ld: build/release/libmupdf-pkcs7.a(pkcs7-openssl.o): in function `add_from_bags':
pkcs7-openssl.c:(.text.add_from_bags+0xba): undefined reference to `PKCS12_SAFEBAG_get0_p8inf'
/usr/bin/ld: pkcs7-openssl.c:(.text.add_from_bags+0xdd): undefined reference to `PKCS12_SAFEBAG_get0_safes'
collect2: error: ld returned 1 exit status
make: *** [Makefile:216: build/release/mutool] Error 1
ghost commented 4 years ago

I get segementation fault error when running the program.

ghost commented 4 years ago

It is working now.