Search found 12 matches

by tps800
Fri Dec 08, 2017 12:02 am
Forum: *nix
Topic: Compile stops while compiling libbluray
Replies: 11
Views: 3536

Re: Compile stops while compiling libbluray

pkg install autoconf automake bash bzip2 cmake flac fontconfig freetype2 fribidi git gcc gm4 gmake gpatch gtar harfbuzz jansson libass libiconv libogg libsamplerate libtheora libtool libvorbis libx264 libxml2 opus pkgconf python yasm Fails on gm4 and gpatch. Both are not available as packages. m4 a...
by tps800
Thu Dec 07, 2017 8:21 am
Forum: *nix
Topic: Compiler terminates while trying to include 'libxml/parser.h' without having build 'libxml/parser.h'.
Replies: 3
Views: 1237

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

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.
by tps800
Thu Dec 07, 2017 8:14 am
Forum: *nix
Topic: Compile stops while compiling libbluray
Replies: 11
Views: 3536

Re: Compile stops while compiling libbluray

List of defined Macros at runtime: #define __amd64 1 #define __amd64__ 1 #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_ACQUIRE 2 #define __ATOMIC_CONSUME 1 #define __ATOMIC_HLE_ACQUIRE 65536 #define __ATOMIC_HLE_RELEASE 131072 #define __ATOMIC_RELAXED 0 #define __ATOMIC_RELEASE 3 #define __ATOMIC_SEQ_...
by tps800
Thu Dec 07, 2017 8:11 am
Forum: *nix
Topic: Compile stops while compiling libbluray
Replies: 11
Views: 3536

Re: Compile stops while compiling libbluray

What version of gmake? HB_LOW_PRIORITY is defined here: https://github.com/HandBrake/HandBrake/blob/master/libhb/ports.h#L121 ports.h is included by common.h is included by hb.h is included by work.c. #if defined( SYS_BEOS ) # define HB_LOW_PRIORITY 5 # define HB_NORMAL_PRIORITY 10 #elif defined( S...
by tps800
Thu Dec 07, 2017 7:55 am
Forum: *nix
Topic: Compile stops while compiling libbluray
Replies: 11
Views: 3536

Re: Compile stops while compiling libbluray

BradleyS wrote: Wed Dec 06, 2017 7:28 pm Okay, so the solution is to update to libbluray-1.0.2 and use -Wimplicit-function-declaration?
Yes.
by tps800
Wed Dec 06, 2017 4:50 am
Forum: *nix
Topic: Compiler terminates while trying to include 'libxml/parser.h' without having build 'libxml/parser.h'.
Replies: 3
Views: 1237

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

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) # git clone ... # cd HandBrake # ./configure # cd buil...
by tps800
Wed Dec 06, 2017 4:41 am
Forum: *nix
Topic: Compile fails because 'malloc.h' is replaced by 'stdlib.h'
Replies: 1
Views: 970

Compile fails because 'malloc.h' is replaced by 'stdlib.h'

Description of problem or question Compile fails because 'malloc.h' is replaced by 'stdlib.h' Steps to reproduce the problem (If Applicable) 'malloc.h' does not exist any more, but points you to include 'stdlib.h' instead. HandBrake version (e.g., 1.0.0) trunc Operating system and version (e.g., Ub...
by tps800
Wed Dec 06, 2017 3:40 am
Forum: *nix
Topic: Fails compiling libhb/work.c to libhb/work.o
Replies: 3
Views: 1185

Re: Fails compiling libhb/work.c to libhb/work.o

Last thing to do:

* SYS_...

is not defined and no defaults given for 'HB_LOW_PRIORITY' and 'HB_NORMAL_PRIORITY'

Adding '-DSYS_LINUX' or '-DSYS_FREEBSD' solves this issue.
by tps800
Wed Dec 06, 2017 3:25 am
Forum: *nix
Topic: Fails compiling libhb/work.c to libhb/work.o
Replies: 3
Views: 1185

Re: Fails compiling libhb/work.c to libhb/work.o

Looks like there are two 'ports.h': * build/libhb/ports.h * libhb/ports.h Seems like /usr/local/bin/gcc -std=gnu99 -pipe -fmessage-length=0 -Wall -g0 -O3 -mfpmath=sse -msse2 -DUSE_LIBAV_AAC -D__LIBHB__ -DUSE_PTHREAD -DUSE_X265 -DHAS_STRERROR_R -DARCH_X86_64 -I./libhb/ -I./contrib/include -I/usr/incl...
by tps800
Wed Dec 06, 2017 3:05 am
Forum: *nix
Topic: Fails compiling libhb/work.c to libhb/work.o
Replies: 3
Views: 1185

Fails compiling libhb/work.c to libhb/work.o

Description of problem or question Fails compiling libhb/work.c to libhb/work.o Steps to reproduce the problem (If Applicable) # git clone ... # cd HandBrake # ./configure patch '-Werror=implicit-function-declaration' to '-Wimplicit-function-declaration' checkout libbluray from http://git.videolan....
by tps800
Wed Dec 06, 2017 1:57 am
Forum: *nix
Topic: Compile stops while compiling libbluray
Replies: 11
Views: 3536

Re: Compile stops while compiling libbluray

> It looks like FreshPorts libbluray is out of date or unmaintained, stuck on 0.9.3. That is right. But handbrake downloads libbluray-1.0.1 and tries to compile this version, regardles what is installed within the system. Checking out `http://git.videolan.org/git/libbluray.git` (version 1.0.2). AND ...
by tps800
Sun Dec 03, 2017 4:13 am
Forum: *nix
Topic: Compile stops while compiling libbluray
Replies: 11
Views: 3536

Compile stops while compiling libbluray

Description of problem or question Trying to compile HandBrake on FreeBSD 11.1. Compile stops while compiling libbluray: CC src/util/libbluray_la-mutex.lo CC src/util/libbluray_la-refcnt.lo CC src/util/libbluray_la-strutl.lo CC src/util/libbluray_la-time.lo src/util/time.c: In function '_bd_get_scr...