Author Topic: This is what I got trying to build "ActionCube"  (Read 2173 times)

Offline rayman2

  • Full Member
  • ***
  • Posts: 71
Re: This is what I got trying to build "ActionCube"
« Reply #15 on: November 07, 2009, 12:57:30 AM »
You can install djl, a game downloader for linux, and see how he installs it. I play it, and installed it fine. I had to link a sdl library tough. It had another name/version. I think I can't help you.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: This is what I got trying to build "ActionCube"
« Reply #16 on: November 07, 2009, 05:30:43 AM »
Quote
Now I am getting a "bad exit status" that I need to search for.

Would you post the error message, please.


Offline Rudge

  • Hero Member
  • *****
  • Posts: 9662
  • I'm Just A Dog.
Re: This is what I got trying to build "ActionCube"
« Reply #17 on: November 07, 2009, 07:21:20 AM »
Executing(%prep): /bin/sh -e /home/rudge12000/src/tmp/rpm-tmp.20820
+ umask 022                                                       
+ cd /home/rudge12000/src/rpm/BUILD                               
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/rudge12000/src/rpm/BUILD
+ rm -rf AssaultCube_v1.0.3
+ /usr/bin/bzip2 -dc /home/rudge12000/src/rpm/SOURCES/AssaultCube_v1.0.3.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd AssaultCube_v1.0.3
/home/rudge12000/src/tmp/rpm-tmp.20820: line 37: cd: AssaultCube_v1.0.3: No such file or directory
error: Bad exit status from /home/rudge12000/src/tmp/rpm-tmp.20820 (%prep)


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: This is what I got trying to build "ActionCube"
« Reply #18 on: November 07, 2009, 08:14:34 AM »
Look at the tmp file. It will show every operation completed up to the error. Now look at your spec file. The error occurs in the same place; i.e. just after the last completed operation. This should be the next after %prep, but you should also review your %prep entry for any possible adjustment needed.


Offline slax

  • Sr. Member
  • ****
  • Posts: 391
    • PCLinuxOS Gnome Edition
Re: This is what I got trying to build "ActionCube"
« Reply #19 on: November 07, 2009, 11:43:31 AM »
Source archive should be packed that way that contains the files in AssaultCube_v1.0.3 dir.
AssaultCube_v1.0.3.tar.bz2

I hope you understand me... Root of the archive must be a folder with the same name as archive. In this case
AssaultCube_v1.0.3



Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: This is what I got trying to build "ActionCube"
« Reply #20 on: November 07, 2009, 12:08:07 PM »
Slax is correct.  While our How-To is very good, it does not cover this exact situation.
Quote
-n name - if the name of the rpm is something other than what the Source unpacks to, use this switch. For example: if the rpm name is program-version-revision and the Source unpacks to the program-version-date, the rpm build process will not be able to cd into the directory program-version, so use -n program-version-date, so rpm will know the new directory in which to continue.

http://wiki.mandriva.com/en/Development/Tasks/Packaging/Tools/RPM/Howto#Prep_section

Other very good info in there too, but that one was key, for me.
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9662
  • I'm Just A Dog.
Re: This is what I got trying to build "ActionCube"
« Reply #21 on: November 07, 2009, 01:47:32 PM »
I am piecing all together now. Thanks for all the help and patience.   


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline maik3531

  • Full Member
  • ***
  • Posts: 129
Re: This is what I got trying to build "ActionCube"
« Reply #22 on: November 08, 2009, 06:35:15 AM »
I do not know if I can help them with it. Had there been even want to give views into the official repos but it was not accepted because it does not work with every graphics card.

http://maik3531.de/pclos2007/RPM/RPMS.testing/AssaultCube-1.0-1pclos2007.i586.rpm
http://maik3531.de/pclos2007/SRPM/-19.02.2008/AssaultCube-0.93-1pclos2007.src.rpm
Please excuse my English

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: This is what I got trying to build "ActionCube"
« Reply #23 on: November 09, 2009, 10:25:50 PM »
Uh, doable or not?  If not, then try something new.  If so, then figure it out.   ;)
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System