View Single 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)?