[mythtv] make install issues

Travis Tabbal travis at tabbal.net
Sat Jul 7 17:30:32 UTC 2012


On Fri, Jul 6, 2012 at 9:18 AM, Travis Tabbal <travis at tabbal.net> wrote:

> I'm attempting to build on OpenIndiana to avoid powering up another
> machine all the time as this one is already running. I can build, with some
> little tweaks, but make install fails with the following output.
>
> make -C external/FFmpeg install INSTALL_ROOT=
> make[1]: Entering directory `/usr/share/src/mythtv/mythtv/external/FFmpeg'
> INSTALL libavdevice/libmythavdevice.so
> find: stat() error /usr/local/lib/libmythavdevice.so.52.2.3: No such file
> or directory
> find: cycle detected for /lib/32/
> find: cycle detected for /lib/crypto/32/
> find: cycle detected for /lib/secure/32/
> find: cycle detected for /usr/lib/link_audit/32/
> find: cycle detected for /usr/lib/secure/32/
> find: cycle detected for /usr/lib/elfedit/32/
> find: cycle detected for /usr/lib/lwp/32/
> find: cycle detected for /usr/lib/32/
> install: libmythavdevice.so was not found anywhere!
> make[1]: *** [install-libavdevice-shared] Error 2
> make[1]: Leaving directory `/usr/share/src/mythtv/mythtv/external/FFmpeg'
> make: *** [external/FFmpeg_install] Error 2
>
>
> I'm just not sure what it's looking for.... I tried copying the file to
> /usr/local/lib as is seems to want to see, but that just suppresses the
> first message. I still get the "not found anywhere" message. I'm not sure
> why it's not putting the files there as it should, I'm root, and it creates
> the directories, but doesn't copy the files.
>


For the archives, I had gnu make running, so I tried gnu install. That did
it. I had to build gnu coreutils from source to get it, the package for
OpenIndiana didn't have it for some reason. Note that doing a
./configure;make on coreutils on OI will fail to find gmp.h. Just edit the
source files to look for gmp/gmp.h and it will build. Then copy
src/ginstall to /usr/gnu/bin and symlink it to /usr/gnu/bin/install. If you
have /usr/gnu/bin first in your path, which is the default, it will now use
it for the make install.

I haven't tested it yet, and probably won't get time today. But I'll post
with results. If it works, I'll fork it and add the changes on github. They
are really dirty right now, and probably break other platforms. If I get
time to clean them up properly, I'll send a pull request over to the main
myth repo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-dev/attachments/20120707/67f7b6e3/attachment.html>


More information about the mythtv-dev mailing list