Active Topics

 


Reply
Thread Tools
Posts: 249 | Thanked: 47 times | Joined on Apr 2010
#1
Ok so i'm trying to run ipk to deb converter script made by anpaza from here

So i set up Maemo SDK under VMware player, then i try running the script in ESbox,
but this is what i got



Did i do it correctly?
Because i don't see any app at all in there?
 
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#2
uhhh whats a screenshot of the desktop supposed to show, this makes me think you don't know the programs on an n900 are in the menu which is the 6 blue squares at the top left...
 
Posts: 249 | Thanked: 47 times | Joined on Apr 2010
#3
Originally Posted by Creamy Goodness View Post
uhhh whats a screenshot of the desktop supposed to show, this makes me think you don't know the programs on an n900 are in the menu which is the 6 blue squares at the top left...
I'm completely new at this, so what exactly do i have to do?
Anpaza said in the "readme" file to open the "Makefile" on a scratchbox..
So i opened it on ESbox just like the SS above..
Then i run it on Maemo application framework..
But i get the n900 desktop with no "makefile" app in it...

And i've searched the main menu (6 blue squares, like you said) and there's no makefile app in it.. did i do it correctly?

Is that a correct way to run makefile??

Last edited by deny_winarto; 2011-01-23 at 05:05.
 
Posts: 249 | Thanked: 47 times | Joined on Apr 2010
#4
Anyone?
My only problem is running the "makefile" on ESbox ...
 
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#5
A "makefile", typically, contains rules for building something. You can't "run" it. You use the "make" command that will interpret the makefile and perform the actions specified in it.

So, I'm guessing your main confusion stems from what environment to use for what task. To build, using make and a makefile, scratchbox is typically used if you're not using some other setup.

To then run the application you either move it to the N900 and run it from there of you use the ESbox thingy (I guess, I don't use that nor scratchbox).
 
Posts: 106 | Thanked: 136 times | Joined on Apr 2010 @ Switzerland
#6
You should read effectively the provided "README" file, the command to invoke, in the folder containing the Makefile and .ipk files is:
make deb-all

The command must be invoked after /scratchbox/login to compile for Maemo5 either for x86 or ARM.
 

The Following User Says Thank You to ymartin59 For This Useful Post:
Posts: 249 | Thanked: 47 times | Joined on Apr 2010
#7
Originally Posted by ymartin59 View Post
You should read effectively the provided "README" file, the command to invoke, in the folder containing the Makefile and .ipk files is:
make deb-all

The command must be invoked after /scratchbox/login to compile for Maemo5 either for x86 or ARM.
Thanks i managed to run scratcbox in x-terminal but i got this error

Code:
maemo@maemo-desktop:~$ /scratchbox/login

Welcome to Scratchbox, the cross-compilation toolkit!

Use 'sb-menu' to change your compilation target.
See /scratchbox/doc/ for documentation.

[sbox-FREMANTLE_X86: ~] > cd /maemo
bash: cd: /maemo: No such file or directory
[sbox-FREMANTLE_X86: ~] > cd /home/user/maemo
bash: cd: /home/user/maemo: No such file or directory
[sbox-FREMANTLE_X86: ~] > cd /home/maemo
[sbox-FREMANTLE_X86: ~] > makefile
bash: makefile: command not found
[sbox-FREMANTLE_X86: ~] > Makefile
bash: Makefile: command not found
[sbox-FREMANTLE_X86: ~] > make deb-all
make: *** No rule to make target `deb-all'.  Stop.
[sbox-FREMANTLE_X86: ~] >
I put the "makefile" in "maemo" folder so it should work

btw isn't there any easier way to do this ?

basically there are only 5 steps once you have the ipk file right?

Code:
sudo gainroot
preenv
cd /
tar xvf /home/user/MyDocs/game.tar
cd /opt/preenv/usr/palm/applications/com.glu.app.transg1/transg1
chmod +rwx game.exe
cd ..
desktopgen appinfo.json
1. run preenv
2. Extract the game.tar(Assuming you have the .tar, which can be done in PC)
3. creating folder for that game
4. create permission for the executable file
5. generate desktop icon

Isn't there any easier method to automate 4 steps above (with .deb files)?
 
Posts: 249 | Thanked: 47 times | Joined on Apr 2010
#8
Anyone?
Could anyone tell me what i'm doing wrong?
 
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#9
you're probably just not running the stuff in the right places.
try using the ls command to see what is in the folder before trying to run stuff!
here's a hint: /scratchbox/users/?????/home/????? on those host machine maps to the home directory you are put in when you log into scratchbox.
(the ????? on mine is my name)

Last edited by Creamy Goodness; 2011-01-24 at 17:13.
 
Boemien's Avatar
Posts: 770 | Thanked: 558 times | Joined on Mar 2010 @ Abidjan
#10
No one can help having a solution???
 
Reply


 
Forum Jump


All times are GMT. The time now is 10:39.