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 » Wed Dec 06, 2017 4:50 am

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

User avatar
Rodeo
HandBrake Team
Posts: 11880
Joined: Tue Mar 03, 2009 8:55 pm

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

Post by Rodeo » Wed Dec 06, 2017 6:44 am

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 » Thu Dec 07, 2017 8:21 am

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: 1296
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 » Thu Dec 07, 2017 9:50 pm

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

Post Reply