Closed tomscytale closed 9 years ago
Excellent! That's something I've always wanted to do... Let me review this in a few days.
thanks
On 11/7/14, mherger notifications@github.com wrote:
Excellent! That's something I've always wanted to do... Let me review this in a few days.
Reply to this email directly or view it on GitHub: https://github.com/Logitech/slimserver-vendor/pull/4#issuecomment-62138263
you're checking for yasm, but we need nasm. Typo?
as far as i recall the error message specified yasm. my history log shows that I installed yasm and the build worked after that. nasm is not installed on that machine if you know which module requires the assembler I'll try uninstall yasm and see if i can reproduce
yasm is a replacement for nasm. Wouldn't you have a nasm command, probably an alias for yasm or similar?
nope - the yasm package doesn't provide an alias for nasm
On 11/7/14, mherger notifications@github.com wrote:
yasm is a replacement for nasm. Wouldn't you have a nasm command, probably an alias for yasm or similar?
Reply to this email directly or view it on GitHub: https://github.com/Logitech/slimserver-vendor/pull/4#issuecomment-62145026
That's odd. Because I had to change that line to test for nasm instead of yasm for the script to run. I grepped the folders, too, but only found references to nasm rather than yasm... Will need to run more tests.
i've uninstalled yasm and am re-running the build what package needs the assembler?
Ok, found it in ffmpeg: it's using yasm if available, falling back to nasm (if available, again). Can you whip up a check for either or?
done. also added a wrapper for tar to reduce output verbosity
Thanks a lot!
Ouch... breaks a few things on OSX. Will have to fix that. eg. there's no ldconfig
don't have OSX myself but I can ask the internet for some platform-agnostic ways of checking for libraries what else breaks?
On 11/7/14, mherger notifications@github.com wrote:
Ouch... breaks a few things on OSX. Will have to fix that. eg. there's no ldconfig
Reply to this email directly or view it on GitHub: https://github.com/Logitech/slimserver-vendor/pull/4#issuecomment-62170040
The OSX version regex broke due to too many quotes. But that's it so far.
I wrapped the ldconfig call in a check against OSX for now. Would be great if you could fix that for good. Thanks a lot!
some googling seems to indicate that there isn't a good cross-platform way to check if a library is present.
i got my present approach from http://serverfault.com/a/513938/87416
another approach is to use ld
- which should be present on any system that even vaguely resembles UNIX - however according to this the OSX ld
doesn't return a useful exit code
so it looks like we're going to have to use 2 different checks - one for OSX (and i'm still not sure how this can be done on OSX) and one for other unix-like systems (I think ldconfig
should work on FreeBSD too)