dubhater / vapoursynth-mvtools

Motion compensation and stuff
181 stars 27 forks source link

Makefile performs no installation #23

Closed v-fox closed 8 years ago

v-fox commented 8 years ago

Makefile doesn't seem to do any installation and resulting binary is static instead of shared, so vapoursynth doesn't seem to be able to find it. How is it supposed to be installed ?

dubhater commented 8 years ago

You can install the library with make install. It should produce a shared library, though, not a static one. What did you pass to configure? What operating system do you have? What did configure print? Did make print anything besides "CXX blah.lo" and "YASM blah.lo"?

v-fox commented 8 years ago

AH, it seems that this issue was my fault. I use Open Build Service to build packages for openSUSE and on first attempt 'make install' seemed to do nothing, then I couldn't copy the .so file manually. But after removing all my [now apparently useless] hacks, it seems that it actually works and I did something wrong in the beginning.

Most likely I just missed --libdir="%{_libdir}/vapoursynth" parameter the first time and got confused because it doesn't add "/vapoursynth" to its installation path automatically. That's what happens then one tries to make packages instead of sleeping. You can close it.

dubhater commented 8 years ago

Okay. I'm glad it's working.

I read that Open Build Service can make packages for many distros. Do you think it could be used to package VapourSynth itself for Debian, Mint, Fedora, etc?

v-fox commented 8 years ago

I read that Open Build Service can make packages for many distros. Do you think it could be used to package VapourSynth itself for Debian, Mint, Fedora, etc?

Yes, indeed ! I've seen packages made pretty much for every major distro, even Arch's PKG-BUILDs. Every distro has its quirks thought. I've based my vapoursynth-mvtools package on spec-files from this single OBS's vapoursynth repo which has packages for Fedora too. With experience and perseverance one could supply source code with a build script for every OBS-supported distro.