Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th July 2012, 02:11 AM
jimmij Offline
Registered User
 
Join Date: Jun 2012
Location: wa
Posts: 14
linuxfirefox
Install The Powder Toy

I recently changed from Ubuntu to Fedora 17; On the Ubuntu OS I had no problem simply running The Powder Toy with the Autorun promot. But now that I have switched to Fedora i cannot seem to get it to run or to find any real information on how to do so. I found this link in the forum -forums.fedoraforum.org/archive/index.php/t-246900.html- but the information there does not seem to work and is not really informative.
I have also gone through the process with the Wiki page, again no help. -the-powder-toy.wikispaces.com/Building+in+Linux-

I have downloaded the copy from "facialturd" at the repository center (FacialTurd-The-Powder-Toy-build183-0-gfc3bc43.zip), but my system cannot find "build-essential" (but I believe that is debian), libbz2-dev, or libsdl1.2-dev.
i did try installing the zfstream form the other thread, but no-go.
Any help, please? Powder Toy is my late night fix.

jimm
Reply With Quote
  #2  
Old 11th July 2012, 11:40 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: Install The Powder Toy

FacialTurd-The-Powder-Toy-build185-0-g9e07825.zip compiles with Fedora 16 if you just install a few packages.
Code:
yum install SDL-devel fftw fftw-devel lua-devel
Now you just have to edit the Makefile and add -DLUA_R_INCL after -DLUACONSOLE and change the name of the lua library to -llua-5.1 instead of -llua5.1

Now it should compile with just some alignment warnings:

Quote:
/usr/bin/ld: Warning: alignment 8 of symbol `gravmap' in build/obj/gravity.powder.o is smaller than 16 in build/obj/powder.powder.o
/usr/bin/ld: Warning: alignment 8 of symbol `gravmap' in build/obj/gravity.powder.o is smaller than 16 in build/obj/luaconsole.powder.o
/usr/bin/ld: Warning: alignment 8 of symbol `gravmap' in build/obj/gravity.powder.o is smaller than 16 in build/obj/elements/gbmb.powder.o
If you need more files just ask yum:

Code:
yum provides "*filename.h"
Reply With Quote
  #3  
Old 11th July 2012, 09:57 PM
jimmij Offline
Registered User
 
Join Date: Jun 2012
Location: wa
Posts: 14
linuxfirefox
Re: Install The Powder Toy

Okay, I followed your directions and I received similar errors to what you detailed. But when it says that the alignment is off how do I fix it? Do I use the ' yum provides ' and enter in: powder.powder.o, luaconsole.powder.o, etc.? ( I gave it a shot anyways, I didn't think it would work and I was right [unless I did that wrong]). And, if I have to edit the object code, how do I do that? I tried to open with gedit and cat; no-go.

/usr/bin/ld: Warning: alignment 8 of symbol `gravmap' in build/obj/gravity.powder.o is smaller than 16 in build/obj/powder.powder.o
/usr/bin/ld: Warning: alignment 8 of symbol `gravmap' in build/obj/gravity.powder.o is smaller than 16 in build/obj/luaconsole.powder.o
/usr/bin/ld: Warning: alignment 8 of symbol `gravmap' in build/obj/gravity.powder.o is smaller than 16 in build/obj/elements/gbmb.powder.o
/usr/bin/ld: Warning: alignment 8 of symbol `gravmap' in build/obj/gravity.powder.o is smaller than 16 in build/obj/elements/gpmp.powder.o
/usr/bin/ld: Warning: alignment 8 of symbol `gravmap' in build/obj/gravity.powder.o is smaller than 16 in build/obj/elements/nwhl.powder.o
/usr/bin/ld: Warning: alignment 8 of symbol `gravmap' in build/obj/gravity.powder.o is smaller than 16 in build/obj/elements/nbhl.powder.o


I really appreciate your help, thanks!
sin jimm
Reply With Quote
  #4  
Old 11th July 2012, 10:06 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: Install The Powder Toy

That's just a linker warning like I said.

You can find the powder binary in the build directory ;-)

Last edited by george_toolan; 12th July 2012 at 04:28 AM.
Reply With Quote
  #5  
Old 11th July 2012, 11:49 PM
jimmij Offline
Registered User
 
Join Date: Jun 2012
Location: wa
Posts: 14
linuxfirefox
Re: Install The Powder Toy

I just recovered from a Brain-Cloud. I forgot to post that I am running Fedora 17 64bit with Gnome 3, but as I understand from my other readings, the fix for Fedora 16 should work as well. (I have also tried running the 64bit download from ThePowderToy.uk, that did not work either). I re-did all the commands and ensured that the whole Powder file has all the permissions to run. Do you think that I need to track down all the associated libraries and change their permissions?

sin jimm
Reply With Quote
  #6  
Old 12th July 2012, 04:28 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: Install The Powder Toy

What exactly is the problem? If you have the binary you can just run it ;-)

Code:
make
strip build/powder
sudo mv build/powder /usr/local/bin
powder &
Apparently this program likes to create a configuration file powder.pref in the current working directory.

You would need these libraries and there's no need to change any permissions.

Code:
$ ldd `which powder`
	linux-vdso.so.1 =>  (0x00007fffbe357000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003dd3e00000)
	libSDL-1.2.so.0 => /usr/lib64/libSDL-1.2.so.0 (0x0000003de4a00000)
	libfftw3f.so.3 => /usr/lib64/libfftw3f.so.3 (0x0000003108e00000)
	libm.so.6 => /lib64/libm.so.6 (0x0000003dd4a00000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x0000003de3e00000)
	libX11.so.6 => /usr/lib64/libX11.so.6 (0x0000003dd7600000)
	liblua-5.1.so => /usr/lib64/liblua-5.1.so (0x0000003de8e00000)
	librt.so.1 => /lib64/librt.so.1 (0x0000003dd4600000)
	libc.so.6 => /lib64/libc.so.6 (0x0000003dd3a00000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003dd3600000)
	libdl.so.2 => /lib64/libdl.so.2 (0x0000003dd4200000)
	libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x0000003dd7a00000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003dd5200000)
	libXau.so.6 => /usr/lib64/libXau.so.6 (0x0000003dd8200000)
Reply With Quote
  #7  
Old 12th July 2012, 05:41 AM
jimmij Offline
Registered User
 
Join Date: Jun 2012
Location: wa
Posts: 14
linuxfirefox
Re: Install The Powder Toy

The last few commands are what did it- it is functioning now. I was unaware of a 'strip' command (existing or being neccessary [ I am still learning]), or that powder had to be posted into the bin directory. I hope it was not too much of a hassle for you. Most the time when I run into these problems I just don't know what I don't know.

It works now, thank you very much! I will try and tweak it a little later to get it to access the update repositories and make a link to the desktop, but I am happy now.

sin jimm
Reply With Quote
Reply

Tags
install, powder, toy

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install powder toy Fenby Using Fedora 1 12th June 2010 11:44 PM
How to recover corrupted F10 install (Failed upgrade process via install media) lordamus Installation and Live Media 0 30th October 2009 11:47 AM
Is it possible to install GUI's, install browsers, install IP addresses? booter Installation and Live Media 1 13th June 2007 11:40 PM
FC4 DVD Install - Unable to get past Select Driver option for Local CDROM install flashgordon EOL (End Of Life) Versions 2 28th February 2006 05:54 AM


Current GMT-time: 11:33 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat