Forums » Tutorial and setups »
make install error auf raspian
Added by Erik Hofmann almost 11 years ago
Hallo,
ich habe folgende Fehlermeldung:
pi@raspberik ~/tvheadend-src/tvheadend $ sudo make install install -D ./build.linux/tvheadend /usr/local/bin/tvheadend install -D man/tvheadend.1 /usr/local/share/man/tvheadend.1 for bundle in docs/html docs/docresources src/webui/static data/conf data/dvb-scan; do \ mkdir -p /usr/local/share/tvheadend/$bundle ;\ cp -r $bundle/* /usr/local/share/tvheadend/$bundle ;\ done cp: Aufruf von stat für „data/dvb-scan/*“ nicht möglich: Datei oder Verzeichnis nicht gefunden make: *** [install] Fehler 1 pi@raspberik ~/tvheadend-src/tvheadend $
Was muss denn in dieses Verzeichnis hinein (es ist da, aber leer, )? Den Fehler gabs schon mal vor einem Jahr irgendwo. Konnte aber noch keine Lösung finden.
ICh hab nen Raspberry Pi mit einem Sundtek DVB-C Stick. Tvheadend lief dort drauf schon mal nach Installation eines Pakets für Debian. Ich will es aber lieber selbst kompilieren, da ich Mannigfaltige Probleme hatte bisher (inklusve defekter Hardware :-(, ohne es zu merken).
xbmc habe ich auch drauf und kompiliert. Das läuft auch.
Kann mir jemand helfen? (auch die Hintergründe besser zu verstehen :-)
LG
Kallewirsch
PS: beim Makefile war auch ein Pfad auf eine Headerdatei irgendwo nicht richtig für Raspian, das stieg auch mal aus.
Replies (5)
RE: make install error auf raspian - Added by Prof Yaffle almost 11 years ago
It's because the directory is empty. The script is explicitly trying to copy the contents of the directory (cp -r $bundle/* /usr/local/share/tvheadend/$bundle) rather than the directory itself, so if there is no contents then it will fail.
You can test this at any command line:
$ mkdir wibble $ mkdir wibble2 $ cp -r wibble/* wibble2 cp: cannot stat `wibble/*': No such file or directory $
You can either hack into the script, or simply create a dummy file (e.g. 'touch data/dvb-scan/Dingsbums') in the source directory so the operation completes correctly. Probably worth filing a bug as well if you're following normal instructions.
RE: make install error auf raspian - Added by Erik Hofmann almost 11 years ago
Thanks, yes, makes sense.
But what is expected to be in this directory? channel scanning information?
Meanwhile I installed it from the repository.
I am new to video things under Linux. I have a new DVB-C stick, a running tvheadend and an empty web gui. My adapter is recognized but I don't see how I can start a scan or get the channel list in the gui filled. The "Add DVB by location" opens an empty window. Is that normal appearance after first start or is there something missing?
I just don't know how it should be, therefore I maybe have tomatoes on my eyes and don't see what to do ;-)
I created a channel list with w_scan and set the "DVB scan files path" to it, but I don't see any effect.
best regards
Kallewirsch66
RE: make install error auf raspian - Added by Prof Yaffle almost 11 years ago
I think that this folder holds the scan-by-location information, such as the DVB-T muxes for a particular transmitter. I can't say why it's empty without doing some homework.
You're using master, yes? I'm still on 3.4.something, and there has been some significant rewrite between then and now; I also don't have DVB-C, so I don't think I can help with the tuning. Sorry!
My guess is that your empty window is related to the data/dvb-scan bit. What I don't understand is that this fork:
https://github.com/PiratJones/tvheadend/tree/master/data
has something, but the master code:
https://github.com/tvheadend/tvheadend/tree/master/data
... doesn't.
I haven't recompiled for some time, but my git checkout from last March certainly has the dvb-scan files - but I also can't find them on the release/3.2 and release/3.4 branches. Maybe something's changed in master and how the code handles this; maybe something's broken. If you don't mind breaking things, perhaps copy them from the fork above and see if that fixes things?
EDIT
I also wonder whether installing dvbutils or dvbscan or something would provide the data files, and you could look from there. There seem to be many DVB-C files in that fork, so maybe you can copy the one you need.
RE: make install error auf raspian - Added by Prof Yaffle almost 11 years ago
Another thought... you have done a configure first, haven't you? Looking at the code, tvheadend goes and gets the dvb-scan files in the configure script:
https://github.com/tvheadend/tvheadend/blob/master/configure
# # DVB scan # if enabled linuxdvb && enabled dvbscan; then printf "${TAB}" "fetching dvb-scan files ..." "${ROOTDIR}/support/getmuxlist" if [ $? -ne 0 ]; then echo "fail" die "Failed to fetch dvb-scan data (use --disable-dvbscan)" fi echo "ok" fi
So something's gone wrong here - although I doubt you'd need this if you're installing from repository.
RE: make install error auf raspian - Added by Erik Hofmann almost 11 years ago
I used configure --disable-dvbscan and it worked now. Now I have Version 3.9.373.
Currently I see my Sundtek DVB-C stick in the gui, but nothing else.
With version 3.4, which I had before installed from deb package, I was able to scan and saw a list of channels without name but with frequencies and cable provider name (Kabel Deutschland).
In version 3.9 the option to scan seems to be gone... (?)
All other fileds except configuration -> DVB Inputs are empty. Connecting vlc with the htsc plugin also failed. log message on the web gui:
2014-01-20 23:21:49.132 /usr/bin/tv_grab_eu_egon: no output detected 2014-01-20 23:21:49.132 /usr/bin/tv_grab_eu_egon: grab returned no data 2014-01-20 23:31:32.000 /usr/bin/tv_grab_eu_egon: grab /usr/bin/tv_grab_eu_egon 2014-01-20 23:31:42.168 /usr/bin/tv_grab_eu_egon: no output detected 2014-01-20 23:31:42.168 /usr/bin/tv_grab_eu_egon: grab returned no data 2014-01-20 23:34:20.256 htsp: Got connection from 192.168.178.3 2014-01-20 23:34:20.257 htsp: 192.168.178.3: Welcomed client software: VLC media player (HTSPv11) 2014-01-20 23:34:20.331 htsp: 192.168.178.3 [ VLC media player ]: Identified as user erik 2014-01-20 23:34:20.332 htsp: 192.168.178.3 [ erik | VLC media player ]: Privileges raised 2014-01-20 23:34:26.878 htsp: 192.168.178.3 [ erik | VLC media player ]: Disconnected
But I think the empty EPG should be another post.