On 08/28/16 04:48 PM, Aurélien Larcher wrote:
On Sun, Aug 28, 2016 at 3:37 PM, russell <[email protected]> wrote:
Hi,
After building figuring out how to build Handbrake 0.10.5 I realised that
the dependency libraries were omitted.
1. Before attempting to build Handbrake 0.10.5, set your
PATH=/usr/gnu/bin:$PATH ; export PATH
2. When building libdvdcss-1.4.0 it complains that _FILE_OFFSET_BITS is
redefined, the quick hack to get it to build is to temporarily change line
231 value from 32 to 64 in file /usr/include/sys/feature_tests.h
$ CC=gcc ./configure --prefix=/opt/gnu
$ gmake
# gmake install (as root while in libdvdcss directory)
3. When attempting to build libaacs-0.8.1 you need to edit
src/libaacs/crypto.c and include #include <sys/errno.h> to ensure that
ENOMEM is defined.
$ CC=gcc ./configure --prefix=/opt/gnu
$ gmake
# gmake install (as for libdvdcss)
4. When building libdbplus-0.1.2 it complains that _FILE_OFFSET_BITS is
redefined, the quick hack to get it to build is to temporarily change line
231 value from 32 to 64 in file /usr/include/sys/feature_tests.h
I replied to you regarding this https://www.illumos.org/issues/7317#change-17479
To me it complained for a good reason (large file macros not defined
as they should) but maybe other people have a more educated opinion.
In any case, modifying a system header forth and back cannot be the solution.
Hi.
Correct solution here is to set corresponding defines, for example,
setting "CFLAGS=-D_FILE_OFFSET_BITS=64" during configure.
--
С уважением,
Александр Пыхалов,
программист отдела телекоммуникационной инфраструктуры
управления информационно-коммуникационной инфраструктуры ЮФУ
_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss