TVH 4.2.4 - Make Install fails
Added by Anders Gustafsson over 6 years ago
Dunno why, but after running it from build.linux for a week without issues, I did a sudo make install, but it did not update the executable in /usr/bin. Had to copy it manually. Any ideas why?
Edit: OpenSuse 42.1
Downloaded and built from the tvheadend repo (I assumed that the fact that I did a MAKE would imply that)
I will check if it put the executable elsewhere tonight,. I was a bit under pressure yesterday as there were scheduled recordings coming up)
could possibly make install on 4.0.7 put it in one place and 4.2.4 another?
Replies (7)
RE: TVH 4.2.4 - Make Install fails - Added by Saul Peebsen over 6 years ago
Went to /usr/local/bin perhaps?
RE: TVH 4.2.4 - Make Install fails - Added by Mark Clarkstone over 6 years ago
saen acro wrote:
what disto?
what platform?
Mystic Meg says "Yes".
RE: TVH 4.2.4 - Make Install fails - Added by Anders Gustafsson over 6 years ago
Very funny, but I get the point. I edited the original posting to provide more detail.
RE: TVH 4.2.4 - Make Install fails - Added by Anders Gustafsson over 6 years ago
tvburk:~ # find / -name tvheadend
/usr/local/bin/tvheadend
/usr/local/share/tvheadend
/usr/bin/tvheadend
the service file
ExecStart=/usr/bin/tvheadend
Yes, make install (4.2.4) puts it in /usr/local/bin/tvheadend
Has this changed since 4.0.7?
RE: TVH 4.2.4 - Make Install fails - Added by Saul Peebsen over 6 years ago
Prefix is a configure-time option. The default can be overridden. Usually /usr/local/bin is on $PATH before /usr/bin, so whatever is in /usr/local/bin gets executed instead of /usr/bin.
RE: TVH 4.2.4 - Make Install fails - Added by Anders Gustafsson over 6 years ago
OK. I did not change it:
git clone https://github.com/tvheadend/tvheadend.git
cd tvheadend
git checkout tags/v4.2.4
./configure --enable-bundle --disable-dvbscan
make
Now that I know, it makes sense. If the default now is /usr/local/bin then I can change the services file to match as I plan to go to 4.3 when it is stable. I guess it is just one of those million things that tend to bite you when you upgrade.
tvburk:~ # echo $PATH
/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games