James,
Many thanks for the heads up.
On Fri, Mar 18, 2016 at 12:05 AM, 'James Zern' via WebM Discussion
<
webm-d...@webmproject.org> wrote:
> For now to reduce the noise you could add '--disable-unit-tests
> --disable-libyuv --disable-webm-io' to avoid any C++. In the end
> you'll probably want webm-io at least, see the notes below.
Indeed, running with the following options seems to work:
CFLAGS="-m64" ./configure --disable-unit-tests --disable-libyuv
--disable-webm-io --prefix=/opt/fs_libs/ --target=x86_64-solaris-gcc
However, if libwebm is required, this won't compile with gcc/Solaris,
for the reasons outlined previously.
You mentioned that there was a workaround for VS that could be tweaked
- is this in a README somewhere?
>> (verbose output below)
>>
>> Running gmake 3.82 results in a lot of warnings and right at the end
>> some CXX warnings, which I assume are ignorable in C but not so in
>> CXX:
>>
>> [CXX] test/../third_party/libwebm/mkvparser.cpp.o
>> test/../third_party/libwebm/mkvparser.cpp: In function ‘bool
>> mkvparser::isnan(double)’:
>> test/../third_party/libwebm/mkvparser.cpp:35:40: error: ‘isnan’ is not
>> a member of ‘std’
>> inline bool isnan(double val) { return std::isnan(val); }
>>
>
> There's a workaround for visual studio that might be adapted.
>
>> Maybe I'm doing something obviously wrong? Any pointers would be appreciated.
>>
>
> I think it's been a while since any solaris builds have been done,
> thanks for giving it a try.
Sure - I appreciate that Solaris might not be one the supported platforms.
> This is probably expecting gawk. A configure search for the right
> binary could help.
Indeed - I aliased awk to gawk and the awk issues went away.
> -E is a POSIX addition, but I don't think this is for anything
> meaningful, so can probably be ignored for now.
I also aliased grep to ggrep, but this did not help much. But as you
it is probably not so important as it doesn't actually cause the build
to fail.
Ben