LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-28-2010, 03:35 PM   #16
Beauford2008
LQ Newbie
 
Registered: Sep 2008
Posts: 28

Original Poster
Rep: Reputation: 0

And of course......

In file included from frame.cpp:21:
frame.h:32:18: error: CImg.h: No such file or directory
In file included from frame.cpp:21:
frame.h:34: error: 'cimg_library' is not a namespace-name
frame.h:34: error: expected namespace-name before ';' token
frame.h:75: error: ISO C++ forbids declaration of 'CImg' with no type
frame.h:75: error: expected ';' before '<' token
frame.h:76: error: 'CImg' has not been declared
frame.h:76: error: expected ',' or '...' before '<' token
frame.cpp: In member function 'void Frame::applyFilters()':
frame.cpp:446: error: 'CImg' was not declared in this scope
frame.cpp:446: error: expected primary-expression before 'unsigned'
frame.cpp:446: error: expected ';' before 'unsigned'
frame.cpp:461: error: 'image' was not declared in this scope
frame.cpp:462: error: expected type-specifier before 'CImg'
frame.cpp:462: error: expected ';' before 'CImg'
frame.cpp:463: error: 'image' was not declared in this scope
frame.cpp:466: error: 'image' was not declared in this scope
frame.cpp:467: error: expected type-specifier before 'CImg'
frame.cpp:467: error: expected ';' before 'CImg'
frame.cpp:468: error: 'image' was not declared in this scope
frame.cpp:471: error: 'image' was not declared in this scope
frame.cpp:472: error: expected type-specifier before 'CImg'
frame.cpp:472: error: expected ';' before 'CImg'
frame.cpp:473: error: 'image' was not declared in this scope
frame.cpp:476: error: 'image' was not declared in this scope
frame.cpp:477: error: expected type-specifier before 'CImg'
frame.cpp:477: error: expected ';' before 'CImg'
frame.cpp:478: error: 'image' was not declared in this scope
frame.cpp:483: error: 'image' was not declared in this scope
frame.cpp:484: error: expected type-specifier before 'CImg'
frame.cpp:484: error: expected ';' before 'CImg'
frame.cpp:494: error: 'image' was not declared in this scope
frame.cpp:496: error: 'image' was not declared in this scope
frame.cpp:498: error: type '<type error>' argument given to 'delete', expected pointer
frame.cpp: At global scope:
frame.cpp:550: error: expected constructor, destructor, or type conversion before '<' token
make[2]: *** [frame.o] Error 1
make[2]: Leaving directory `/tmp/SBo/wxcam-1.0.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/wxcam-1.0.4'
make: *** [all] Error 2
 
Old 09-28-2010, 04:01 PM   #17
Scott271
Member
 
Registered: Nov 2006
Location: New York
Distribution: Slackware-14.1 / Mint
Posts: 103

Rep: Reputation: 21
I use wxcam from SBo, and that works just fine.
 
Old 09-28-2010, 04:04 PM   #18
Beauford2008
LQ Newbie
 
Registered: Sep 2008
Posts: 28

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Scott271 View Post
I use wxcam from SBo, and that works just fine.
What is SBo? I am trying to use the Slack package and have installed the 50 dependencies.
 
Old 09-28-2010, 04:28 PM   #19
Scott271
Member
 
Registered: Nov 2006
Location: New York
Distribution: Slackware-14.1 / Mint
Posts: 103

Rep: Reputation: 21
http://slackbuilds.org/, it's basically a user repository for Slackware packages - still without dependency checking. You use sbopkg through the cli as root to acces sbo.

First sync it, then search for wxcam, add it to the queue, and then read the README to see what the dependencies are. Add those to the queue - but make sure you check their dependencies, and then make sure it's all in order - wxcam being on the bottom or final position. Then process the queue.
 
Old 09-28-2010, 04:29 PM   #20
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-current
Posts: 265

Rep: Reputation: 40
SBo = SlackBuilds.org it hosts a vast repository of build scripts for software specifically for Slackware systems.
 
Old 09-28-2010, 04:59 PM   #21
Beauford2008
LQ Newbie
 
Registered: Sep 2008
Posts: 28

Original Poster
Rep: Reputation: 0
Oh well, I give up. 4 hours trying to get a webcam program is ridiculous. As much as I despise Windows, I never have to waste time like this. This is exactly why I gave up on linux years ago, and it looks like they haven't made much progress in this area.

One dependency depends on another then another and then another, but wait 2.0 won't work you need 2.0.1. Now that you have all the dependencies, you get 100 compile errors for whatever reason. Oh look, it is in /usr/local/ not /usr/var and won't compile as it's the wrong path - and it just goes on and on and on. Don't know how you guys deal with this crap, it drives me insane.

configure: error: *** GTK not found *** It's there, so I am assuming wrong path as above or maybe wrong version.

My apologies for the ranting, but this is why I gave up on Linux before. I thought by now this type of thing would have been changed, not to mention all the other problems I have encountered in the last 4 days since installing Slackware.

Thanks to everyone for the help, guess I'll check in another couple years to see if Slack is ready for mainstream use yet, at which point my webcam will probably be out of date again and I'll have to buy another new one. LOL
 
Old 09-28-2010, 05:07 PM   #22
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Perhaps a binary-based dependency-resolving distribution would be more suitable for you if you cannot deal with compiling software. Ubuntu, Debian, Mint, Fedora, OpenSUSE, the list goes on. Considering Slackware is fairly unique amongst Linux distributions (especially when it comes to its philosophies), putting down the entire Linux community because you are unhappy with Slackware is probably less than appropriate (or accurate).
 
Old 09-28-2010, 05:33 PM   #23
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by Beauford2008 View Post
Thanks to everyone for the help, guess I'll check in another couple years to see if Slack is ready for mainstream use yet, at which point my webcam will probably be out of date again and I'll have to buy another new one. LOL
Funny. My QuickCam Express works out of the box as well as my QuickCam 3000 Pro.

Don't let the door hit you on the way out.
 
0 members found this post helpful.
Old 09-28-2010, 07:29 PM   #24
Scott271
Member
 
Registered: Nov 2006
Location: New York
Distribution: Slackware-14.1 / Mint
Posts: 103

Rep: Reputation: 21
If you've had it with Slackware (which it sounds like you have), why not try one of the derivatives? Zenwalk? Vector? Salix

They tend to be a bit easier to use in the transition to Slackware. Once you get comfortable with one of them, come back and try Slack again.

Scott
 
Old 09-28-2010, 09:11 PM   #25
Beauford2008
LQ Newbie
 
Registered: Sep 2008
Posts: 28

Original Poster
Rep: Reputation: 0
I was just looking at another post in this group profiling some other distros and may just do that, but my question to the developers is this, how hard can it be to do one of the following.

Have a dependency check that will offer to download and install any needed dependencies (this is the one I would do).
Include what is needed in the package you are installing, if already installed on your system it will bypass it.
Give you a detailed list of the programs and versions that are needed.

Or something else.

As a programmer myself, I know the first one is possible and would defanately make things easier.

Thanks again to all that responded, except for Richard Cranium.
 
Old 09-28-2010, 09:13 PM   #26
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 598
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
I can't help but think your making a mistake installing wxCam. Installing '50' dependencies shouldn't be required. The Slackbuild lists 4 dependencies, each of which do not have any additional dependencies.

All that should be required is installing these 4 required slackbuilds packages first and then installing the slackbuild for wxcam.

While it sounds like your fed up with the lack of dependency handling, maybe you should look into something like Ubuntu. Saying things like 'slackware isn't ready for mainstream use' isn't exactly fair.

Regards
 
Old 09-28-2010, 09:30 PM   #27
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
This is starting to go off-topic, but Slackware isn't, and never will be, ready for mainstream, and I don't want it to be mainstream. In order to go mainstream it would have to abandon its philosophies, which constitute why I use Slackware in the first place. Beauford2008, many, MANY (the vast majority) of distributions, both binary- and source-based, do as you ask. Slackware doesn't by design. If dependency resolution is what you're after, you would likely be much happier using something else. To call it a flaw of Slackware, however, ignores the philosophies behind Slackware and the reasons for its continued existence -- just because you are unhappy with it doesn't necessarily mean everyone else is. Try other distros with philosophies more inline with your own and I'm sure you'll be much happier.
 
Old 09-28-2010, 09:34 PM   #28
Beauford2008
LQ Newbie
 
Registered: Sep 2008
Posts: 28

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by D1ver View Post
I can't help but think your making a mistake installing wxCam. Installing '50' dependencies shouldn't be required. The Slackbuild lists 4 dependencies, each of which do not have any additional dependencies.

All that should be required is installing these 4 required slackbuilds packages first and then installing the slackbuild for wxcam.

While it sounds like your fed up with the lack of dependency handling, maybe you should look into something like Ubuntu. Saying things like 'slackware isn't ready for mainstream use' isn't exactly fair.

Regards
This is what makes it even more frustrating when you follow the instructions to the letter and it still doesn't work, and it is the package that is screwing up. I just type installpkg whatever.tgz so if it doesn't work or gives me an error, then what? As I said in an earlier post, it is looking for GTK which is for sure installed, so why does it think it is not?
 
Old 09-28-2010, 09:43 PM   #29
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 598
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Well the dependencies and wxCam are busy compiling away on my own 13.1 system just to check. My webcam (inbuilt eeePC camera) has worked on online chat sites (meebo etc). I'll report back any issues.

Edit:
Compilation just finished without a hitch. Started wxCam and it picked up my hardware instantly with no problems.

How exactly are you installing these packages?

Usual process goes a little somthing like:
- download source tarball and slackbuild tarball
- extract slackbuild tarball
- mv source tarball into resulting directory
- cd to this directory
- sudo sh XYZ.Slackbuild
- wait patiently
- cd /tmp
- sudo installpkg XYZ.tgz

Last edited by D1ver; 09-28-2010 at 09:56 PM.
 
Old 09-28-2010, 09:56 PM   #30
Beauford2008
LQ Newbie
 
Registered: Sep 2008
Posts: 28

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by T3slider View Post
This is starting to go off-topic, but Slackware isn't, and never will be, ready for mainstream, and I don't want it to be mainstream. In order to go mainstream it would have to abandon its philosophies, which constitute why I use Slackware in the first place. Beauford2008, many, MANY (the vast majority) of distributions, both binary- and source-based, do as you ask. Slackware doesn't by design. If dependency resolution is what you're after, you would likely be much happier using something else. To call it a flaw of Slackware, however, ignores the philosophies behind Slackware and the reasons for its continued existence -- just because you are unhappy with it doesn't necessarily mean everyone else is. Try other distros with philosophies more inline with your own and I'm sure you'll be much happier.
Your right, it is moving off topic, but let me ask you this - do you actually enjoy wasting 4 or 5 hours (or more) trying to install a program. I understand part of the enjoyment of Slack is that you have to think and do things manually, and I like this part too, but where do you draw the line? This is where I think Slackware has not progressed.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I get this Webcam to work? Taycs Linux - Newbie 13 03-12-2009 03:45 PM
I need help getting my webcam to work (if possible) JasonC10203 Linux - Hardware 5 03-04-2009 10:39 PM
How to work webcam, please? vibinlakshman Linux - Newbie 7 01-24-2009 08:09 PM
Getting webcam to work Zmyrgel Slackware 9 05-12-2008 08:47 PM
Why won't my webcam work? Lannix Linux - Hardware 3 01-22-2007 02:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration