help install w_scan

Asked by hamish darby

Trying to follow w_scan package instructions from developer http://edafe.org/vdr/w_scan/ which states

#get package
#root@ubuntu:~# wget "http://wirbel.htpc-forum.de/w_scan/w_scan-20090504.tar.bz2"
#root@ubuntu:~# tar xfvj w_scan-20090504.tar.bz2
# A pre-compiled version of w_scan is included in the tarball.
# Compiling from Source
#If you want to compile w_scan from source, move the directory w_scan-20090504 to /usr/local/src/ and create a symbolic link:
#root@ubuntu:~# mv w_scan-20090504/ /usr/local/src/
#root@ubuntu:~# cd /usr/local/src/
#root@ubuntu:/usr/local/src# ln -s w_scan-20090504/ w_scan
#Build the application with the following two commands:
#root@ubuntu:/usr/local/src# cd w_scan
#root@ubuntu:/usr/local/src/w_scan# make

But here is what it looks like when I try it
ava@ava-desktop:~$ sudo -s
root@ava-desktop:~# cd /usr/local/src/
root@ava-desktop:/usr/local/src# ls
w_scan-20090918
root@ava-desktop:/usr/local/src# ln -s w_scan-20090504/ w_scan
root@ava-desktop:/usr/local/src# ls
w_scan w_scan-20090918 [#HOWEVER w_scan appears in red and properties says the link is broken]
root@ava-desktop:/usr/local/src# cd w_scan
bash: cd: w_scan: No such file or directory
root@ava-desktop:/usr/local/src# w_scan -c AU -x >chanel.txt
The program 'w_scan' is currently not installed. You can install it by typing:
apt-get install w-scan

What am I doing wrong?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu w-scan Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
hamish darby (hjdarby-deactivatedaccount) said :
#1

sh ./configure from the read-me file worked well and produced another error message
*******************************************************
*** ERROR: w_scan requires latest linux dvb headers.
*** missing symbol 'FE_CAN_2G_MODULATION' in <linux/dvb/frontend.h>
*** Please update your linux dvb headers,
*** (usually /usr/include/linux/dvb).
*** EXITING!

WHat is a dvb header and how do I update it?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

Typing in a terminal:

aptitude show w-scan

Package: w-scan
New: yes
State: not installed
Version: 20081106-0ubuntu1
Priority: extra
Section: universe/misc
Maintainer: Ubuntu MOTU Developers <email address hidden>
Uncompressed Size: 115k
Depends: libc6 (>= 2.4)
Description: Scans for DVB-T and DVB-C channels
 w-scan scans for DVB-T and DVB-C channels and creates a channels.conf, that can
 be used directly by the Linux Video Disc Recorder VDR. It is also possible to
 output channels in a format readable by the czap/tzap tools provided by
 linuxtv-dvb-zap, xine, totem or me-tv.

 Unlike the scan utility in linuxtv-dvb-apps, there is no need to specify an
 initial transponder. DVB-S is not supported.

So you need to enable the multiverse repository to install w-scan

Open System → Administration → Software sources → [ Tab Ubuntu software ]
enable "Software restrictecd by copyright or legal issue ( multiverse )"
Close and confirm the repository reload.

- Then open a Terminal from the menu Applications → Accessories → Terminal and type:

sudo aptitude update
sudo aptitude dist-upgrade
sudo aptitude install w-scan

give your user password when requested, you don't see nothing when you type it, then press enter.

Hope this helps

Revision history for this message
hamish darby (hjdarby-deactivatedaccount) said :
#3

Thanks, but as you see above, on the fourth line of my question,the newest version of w_scan is 20090504 and this is the version which enables the 'c' option which I hope will produce a usable initial scan file.
Unfortunately the version which aptitude detects in the repository is the older 20080914 which produces empty files.
I can see some reference on the web to FE_CAN_2G_MODULATION, which would enable me to configure and install the newer version but I am getting way out of my depth here.

Thanks again for trying

Revision history for this message
hamish darby (hjdarby-deactivatedaccount) said :
#4

Maddening.
You have got me thinking perhaps there is a problem with the tuner driver or something.
I tried a few different variations on commands for w_scan 2008 but always the same result
# ERROR: Sorry - i couldn't get any working frequency/transponder
I have used the same antenna with a regular TV and get four channels (I live in the bush, four is normal)
I am considering paying for support

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.