LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 11-08-2008, 04:49 PM   #1
Dimitime
LQ Newbie
 
Registered: Sep 2008
Posts: 23
Thanked: 0
electric sheep


[Log in to get rid of this advertisement]
After extensive googleing I managed to not find a how-to on how to install electric sheep. I tried downloading the electric sheep source and doing the standard ./configure make make install. They seem to go well, but the make install step returns a few errors at the end. The sheep do download, and when I open xscreensaver i can see the sheep in the mini window. However, when it comes time for the screensaver to actually go up, it returns a bunch of errors. Something along the lines of X error of failed request: bad match. Any thoughts? Other xscreensavers work.
Dimitime is offline     Reply With Quote
Old 11-08-2008, 07:58 PM   #2
onebuck
Guru
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 5,343
Blog Entries: 1
Thanked: 196
Hi,

My crystal ball is cracked therefore when I look into it to look over your shoulder everything is not clear. Somewhat like your post. No relative information, error messages or what your procedures were to produce the problem(s).

You could look at the next two links to assist you;
onebuck is offline     Reply With Quote
Old 11-08-2008, 09:50 PM   #3
Dimitime
LQ Newbie
 
Registered: Sep 2008
Posts: 23
Thanked: 0

Original Poster
All right. Maybe you didn't read my post. Here is step by step what I did.

1. Download and extract electric sheep source tarball.
2. ./configure
3. make
4. make install (this is the error I get at the end of the process)
Code:
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory `/home/dimitar/electricsheep-2.6.8'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/dimitar/electricsheep-2.6.8'
make: *** [install-recursive] Error 1
5. When I type electricsheep into the terminal, this is the error I get.
Code:
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  159
  Current serial number in output stream:  159
Terminated
Dimitime is offline     Reply With Quote
Old 11-08-2008, 11:02 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware 12.2
Posts: 1,306
Thanked: 27
Your make install error is likely incomplete. Is there any terminal output before those lines? They don't actually explain the error itself. I would try installing the app myself, but a brief read of the instructions makes me nervous about security implications. Also, the installation instructions here link to this script intended for use on an Ubuntu system. It is a nice guide on why things could be broken (though running it would not work, obviously). First of all, it seems to rely on gnome (or at least gconf, libgnome-menu and libgnomeui). I'm not sure if it would work without gnome or not -- the configure script appears to be very poorly written (it may just be automatically generated). mplayer seems to be a dependency as well. It looks like flam3 is a dependency, but even without that installed the configure script doesn't complain a bit (though it appears to create a flam3.pc file -- so I think flam3 is probably required even though the terrible configure script isn't complaining). On closer inspection I think the latest stable version tarball (electricsheep-2.6.8.tar.gz) may bundle flam3 with it, so this may not be a concern at all. The README suggests it needs xloadimage, which I don't *think* is present in Slackware.

This seems like a sort of messy project; the stable tarball includes flam3 and mpeg2dec, and I'm not sure if they would overwrite what is already on my system (I have mpeg2dec already). The svn version seems to bundle ffmpeg. The worst part about this is, I don't see a way of disabling ffmpeg, and it doesn't check if ffmpeg is already installed; it just installs it anyway. This is really NOT how a well-written Linux application should work; it should not just bundle and reinstall dependencies (that's the Windows way of doing things). I tried to make a SlackBuild for you, but I don't think I can continue on this without actually installing it to my system (which I refuse to do), and even if I did it would be messy.

Although I don't like the idea of the program, it's the implementation that is really terrible. I would try the svn version I guess and roughly follow the instructions in the linked shell script I guess -- but I would say good luck.
T3slider is offline     Reply With Quote
Old 11-26-2008, 01:33 AM   #5
zuzoa
Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware64 13.0
Posts: 60
Thanked: 9
I also have this error on Slackware 12.1. Here is my error:

Code:
test -e /usr/share/control-center/screensavers && /usr/bin/ginstall -c electricsheep.xml /usr/share/control-center/screensavers
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory `/home/susie/electricsheep-2.6.8'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/susie/electricsheep-2.6.8'
make: *** [install-recursive] Error 1
I installed xscreensaver 5.07 from source (not the "hacked" version 4.19 on the electric sheep website -- it wouldn't compile).
zuzoa is offline     Reply With Quote
Old 11-26-2008, 02:26 AM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 3,666
Thanked: 96
The error comes from this line:
test -e /usr/share/control-center/screensavers && /usr/bin/ginstall -c electricsheep.xml /usr/share/control-center/screensavers
since you won't have control-center on stock Slackware. Try using the '-i' option to install:
make -i install
gnashley is offline     Reply With Quote
Old 11-26-2008, 07:19 PM   #7
zuzoa
Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware64 13.0
Posts: 60
Thanked: 9
I installed with 'make -i install' and it bypassed the error, but then when I ran the program, I got this:

Code:
bash-3.1$ electricsheep
please be patient while the first sheep is downloaded...
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  139 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  158
  Current serial number in output stream:  158
Terminated
I had to leave the program running all night as it seemed to be hanging on the "please be patient" line, even though conky didn't show any signs of downloading anything.
zuzoa is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
LXer: Electric Sheep CEO Sibley Verbeck on the Virtual Shopping Mall LXer Syndicated Linux News 0 09-17-2008 04:30 PM
Electric guitar questions pusrob General 19 12-01-2007 05:01 PM
What Is Your Electric Bill Like? xor General 2 05-08-2007 11:14 PM
Anyone worked with Sheep Shaver? gulo Linux - General 0 04-07-2005 11:33 AM
Problems installing Electric Sheep downinthemine Linux - Software 1 06-18-2004 07:28 PM


All times are GMT -5. The time now is 07:20 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration