Registered Member
|
Hi all,
I was trying to build a Debian package of Tellico from the latest sources with webcam barcode scanning activated. I tried to modify both CMakeLists.txt: option(ENABLE_WEBCAM "..." TRUE) and debian/rules: -DENABLE_WEBCAM=true but neither achieved the expected result. Has anybody got any clue about what's going wrong? Someone has successfully made a similar attempt? Thanks,j |
KDE Developer
|
And you've got libv4l installed? What exactly is the error you're getting? Is there cmake output that indicates webcam support is being compiled or not?
|
Registered Member
|
I do have libv4l installed. The package tellico-(...).deb is created correcly, and works great. Yet the option to use the webcam is still grayed out. In order to build, I had to rm -r debian/source, because of an odd quilt error. I had found this bypass in a forum. After the tellico package is created though, I do get an error:
After posting the original message, and some further research, I noticed that the sources are supposed to build all three packages tellico, tellico-data and tellico-scripts. I'm now trying to find a solution to the error quoted above, so that the sequent two packages will build too. I'll keep looking into it, but if you have further suggestions, they are more than welcome. Thanks! |
KDE Developer
|
Can you look at the cmake output when you build it? Is there any indication there about libv4l being found and webcam support enabled? |
Administrator
|
You may need the libv4l-devel package installed for it to be found.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hi, There is indeed indication that v4l has been found
I still can't understand the problem with locales. I tried to add locales to build-dep, but didn't solve the problem. That stops the building process and impedes the creation of packages tellico-data and tellico-scripts. If I use the target build instead of binary, everything runs smoothly without any error. I didn't test such build, though, cause in the building virtual machine I haven't got a desktop environment installed, nor space to install it. |
KDE Developer
|
Hmmm, I'm not sure what to tell you then. The config.h file in the top-level build directory should have ENABLE_WEBCAM defined in that case, and the config option would be enabled if ENABLE_WEBCAM is defined. Then, when the webcam is plugged in, the "Search Internet" dialog should pop up the webcam image. Just to check all the bases (and I know this is a something of a silly question), but you're sure you're running the correct executable once you build Tellico, and not the original Debian one that did not have webcam support? |
Administrator
|
If Tellico uses the kdeinit4 launching system, then simply launching the right executable may not be enough. You may need to alter environment variables so that KDEInit4 can find your self compiled Tellico.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hi, you're right checking the basis, but no, I'm positive that I run what I built. What I did was purging Tellico out of my system and then dpkg -i the package I built, which I cannot mistake as it has my name on it. I keep thinking that the problem is that I cannot manage to go past that "locale" error during dpkg-buildpackage, and that impedes building the packages tellico-data and tellico-scripts that, I'm assuming, contain the pieces of the program that actually provide webcam support.
If I could manage to go through this step, I'm positive that my problem would be solved. |
Registered Member
|
I have built it in a Sid chroot. Since you provide so little information about what you have done and gotten the most I can do for you now is tell you how I did it.
The Quilt error makes me suspect you are trying to build it in an stable or outdated version of Debian.
connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
|
Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell