Compiler terminates while trying to include 'libxml/parser.h' without having build 'libxml/parser.h'.

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
tps800
Posts: 12
Joined: Sat Dec 02, 2017 2:48 am

Compiler terminates while trying to include 'libxml/parser.h' without having build 'libxml/parser.h'.

Post by tps800 »

Description of problem or question

Compiler terminates while trying to include 'libxml/parser.h' without having build 'libxml/parser.h'.
As far as I could look into it, libxml will be build later …

Steps to reproduce the problem (If Applicable)

Code: Select all

# git clone ...
# cd HandBrake
# ./configure
# cd build
# gmake
HandBrake version (e.g., 1.0.0)

trunc

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.3 High Sierra, Windows 10 Creators Update)

* Ubuntu 17.10
* FreeBSD 11.1

Error message text or screenshot (If Applicable)

Code: Select all

../libhb/plist.c:15:27: fatal error: libxml/parser.h: No such file or directory
 #include "libxml/parser.h"
                           ^
compilation terminated.
gmake: *** [../libhb/module.rules:12: libhb/plist.o] Error 1
Deleted User 11865

Re: Compiler terminates while trying to include 'libxml/parser.h' without having build 'libxml/parser.h'.

Post by Deleted User 11865 »

Does it build if you try:

Code: Select all

./configure --launch --launch-jobs=1
…note that it will invoke make for you etc.
tps800
Posts: 12
Joined: Sat Dec 02, 2017 2:48 am

Re: Compiler terminates while trying to include 'libxml/parser.h' without having build 'libxml/parser.h'.

Post by tps800 »

No. Same Problem. Seems it would like to build libxml later on, but include libxml/parser.h before having even downloaded and unpacked libxml sources.
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: Compiler terminates while trying to include 'libxml/parser.h' without having build 'libxml/parser.h'.

Post by BradleyS »

Fix for this on FreeBSD was included with viewtopic.php?p=175432#p175432
Post Reply