Re: v4l-dvb compile error
It's a hidden file, so maybe in Nautilus select View/Show Hidden Files and you will see it in the v4l folder. Alternatively, hit Ctrl + H.
Apologies if you've already tried this.
.
Re: v4l-dvb compile error
Re: v4l-dvb compile error
.config file does not exist if you download v4l with hg.
However, it will be generated if you type "make menuconfig" and Exit saving changes.
These steps worked for me:
hg clone http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make menuconfig <-- dont change anything, just "Exit" and save changes
gedit v4l/.config <-- change CONFIG_DVB_FIREDTV=m to CONFIG_DVB_FIREDTV=n
make
sudo make install
Re: v4l-dvb compile error
Quote:
Originally Posted by
Zwiebelsaft
.config file does not exist if you download v4l with hg.
However, it will be generated if you type "make menuconfig" and Exit saving changes.
These steps worked for me:
hg clone
http://linuxtv.org/hg/v4l-dvb
cd v4l-dvb
make menuconfig <-- dont change anything, just "Exit" and save changes
gedit v4l/.config <-- change CONFIG_DVB_FIREDTV=m to CONFIG_DVB_FIREDTV=n
make
sudo make install
Hi,
Thank u for ur reply. I followed ur instructions, but errors are still there. This is the code:
Code:
tduccuong@ctOfficeLaptop:~/Tmp/v4l-dvb$ make menuconfig
make -C /home/tduccuong/Tmp/v4l-dvb/v4l menuconfig
make[1]: Entering directory `/home/tduccuong/Tmp/v4l-dvb/v4l'
make -C /lib/modules/2.6.31-15-generic/build -f /home/tduccuong/Tmp/v4l-dvb/v4l/Makefile.kernel config-targets=1 mixed-targets=0 dot-config=0 SRCDIR=/lib/modules/2.6.31-15-generic/build v4l-mconf
make[2]: Entering directory `/usr/src/linux-headers-2.6.31-15-generic'
make -f /lib/modules/2.6.31-15-generic/build/scripts/Makefile.build obj=scripts/kconfig hostprogs-y=mconf scripts/kconfig/mconf
*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1
make[2]: *** [v4l-mconf] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-15-generic'
make[1]: *** [/lib/modules/2.6.31-15-generic/build/scripts/kconfig/mconf] Error 2
make[1]: Leaving directory `/home/tduccuong/Tmp/v4l-dvb/v4l'
make: *** [menuconfig] Error 2
I installed everything related to ncurses but the problem persists!
What do I do now?
Re: v4l-dvb compile error
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
ncurses, but also had a look on: aptitude search ncurses-dev
p libcunit1-ncurses-dev - Unit Testing Library for C (ncurses) -- development
p libkaya-ncurses-dev - Ncurses binding for kaya
v libncurses-dev -
v ncurses-dev -
?
Try to install ncurses-dev for the beginning (in ubuntu-forum-jargon "sudo aptitude search ncurses-dev"): Maybe that solves, but if not, diggle more with the libraries named on "aptitude search libncurses": Already tried libncurses-dev ?
If you compile something on your own (with configure, make, menuconfig etc.), the problems mostly lies in dependencies between libraries and other files which are not catched up by a package-manager because you just undergo him at that moment you dont use him to install an app on the system (you compile the written code of a programmer, and nobody wrote that wonderful deb/rpm files in which exactly those dependencies are written in)
Hope it helps... if still not, then try to post what related packages you installed, so the guys here can decide if some linkage is broken in your system? And do a "make -d" so you get more debug-info out!
Btw., i found some "v4l-conf"-tool with description "tool to configure video4linux drivers", and "v4l2ucp" with description "Video for Linux 2 Universal Control Panel" in the tree.
Wondering why ubuntu has config-tools in the karmic universe but not v4l itself :D
Come on guys, im shure mythbuntu would be grateful:popcorn:
Re: v4l-dvb compile error
i managed to get s2api with v4l-dvb (on my Hauppauge - WinTV-NOVA-HD-S2) which does not brake when package-manager does update/upgrade with the following steps:
apt-get install build-essential
apt-get install mercurial cvs subversion libncurses-dev
cd /usr/local/src
hg clone http://mercurial.intuxication.org/hg/s2-liplianin/
cd s2-liplianin
cd linux/include/linux
ln -s /usr/src/linux-headers-`uname -r`/include/linux/compiler.h ./
cd ../../../
make
make install
depmod -a
reboot
Quotation from the thread i got the steps above:
"To skip the procedures of constant patching (and breaking with newer
revisions) I use Igor M. Liplianin's repo. This person has a repo to
make our life easier so that we don't have to constant patch our v4l or
kernel pulls. As a plus, Igor's S2API repo has supported for different
kind of DVB-S2 cards which are not supported in multiproto or in any
other repo! :)"
Source (google-cache due to original site is down atm): http://209.85.135.132/search?q=cache...&hl=en&ct=clnk
Re: v4l-dvb compile error
hi guys thank u for ur instructions but unfortunately nothing worked! here is what I get from terminal:
for husindo's instruction:
Quote:
Originally Posted by
husindo
Try to install ncurses-dev for the beginning (in ubuntu-forum-jargon "sudo aptitude search ncurses-dev"): Maybe that solves, but if not, diggle more with the libraries named on "aptitude search libncurses": Already tried libncurses-dev ?
I get:
Code:
tduccuong@ctOfficeLaptop:~/Tmp/v4l-dvb$ aptitude search libncurses
v libncurses-dev -
i libncurses-gst - Ncurses bindings for GNU Smalltalk
i libncurses-ruby - ruby Extension for the ncurses C library
i A libncurses-ruby1.8 - ruby Extension for the ncurses C library
p libncurses-ruby1.9 - ruby Extension for the ncurses C library
i libncurses5 - shared libraries for terminal handling
p libncurses5-dbg - debugging/profiling libraries for ncurses
i libncurses5-dev - developer's libraries and docs for ncurses
i libncursesw5 - shared libraries for terminal handling (wide character support)
p libncursesw5-dbg - debugging/profiling libraries for ncurses
i libncursesw5-dev - developer's libraries for ncursesw
tduccuong@ctOfficeLaptop:~/Tmp/v4l-dvb$ sudo apt-get install libncurses-dev libncurses-gst libncurses-ruby libncurses5-dev libncursesw5 libncursesw5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting libncurses5-dev instead of libncurses-dev
libncurses5-dev is already the newest version.
libncurses-gst is already the newest version.
libncurses-ruby is already the newest version.
libncurses5-dev is already the newest version.
libncursesw5 is already the newest version.
libncursesw5-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
And:
Code:
tduccuong@ctOfficeLaptop:~/Tmp/v4l-dvb$ make menuconfig
make -C /home/tduccuong/Tmp/v4l-dvb/v4l menuconfig
make[1]: Entering directory `/home/tduccuong/Tmp/v4l-dvb/v4l'
make -C /lib/modules/2.6.31-15-generic/build -f /home/tduccuong/Tmp/v4l-dvb/v4l/Makefile.kernel config-targets=1 mixed-targets=0 dot-config=0 SRCDIR=/lib/modules/2.6.31-15-generic/build v4l-mconf
make[2]: Entering directory `/usr/src/linux-headers-2.6.31-15-generic'
make -f /lib/modules/2.6.31-15-generic/build/scripts/Makefile.build obj=scripts/kconfig hostprogs-y=mconf scripts/kconfig/mconf
*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1
make[2]: *** [v4l-mconf] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-15-generic'
make[1]: *** [/lib/modules/2.6.31-15-generic/build/scripts/kconfig/mconf] Error 2
make[1]: Leaving directory `/home/tduccuong/Tmp/v4l-dvb/v4l'
make: *** [menuconfig] Error 2
The other solution via "s2api" does not work either! I get the same error message when try to do the "make" command:
Code:
Kernel build directory is /lib/modules/2.6.31-15-generic/build
make -C /lib/modules/2.6.31-15-generic/build SUBDIRS=/home/tduccuong/Tmp/v4l-dvb/v4l modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.31-15-generic'
CC [M] /home/tduccuong/Tmp/v4l-dvb/v4l/firedtv-1394.o
/home/tduccuong/Tmp/v4l-dvb/v4l/firedtv-1394.c:21:17: error: dma.h: No such file or directory
/home/tduccuong/Tmp/v4l-dvb/v4l/firedtv-1394.c:22:21: error: csr1212.h: No such file or directory
I guess I have installed all "ncurses-" related stuffs. It kinda drives me crazy now, what is ncurse anyway?
Re: v4l-dvb compile error
Re: v4l-dvb compile error
i seem to have fixed this error as i also had it,
instead of running "make menuconfig"
just run "make config"
press the enter key until you reach the point that shows :
Code:
* Supported FireWire (IEEE 1394) Adapters
*
FireDTV and FloppyDTV (DVB_FIREDTV) [M/n/?]
Press "n"
and then press enter continously until it exits, then run "make"
this stops the error on that card and accepts all the defaults.