maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   How to compile and install source apps on maemo? (https://talk.maemo.org/showthread.php?t=58371)

McLightning 2010-07-13 15:32

How to compile and install source apps on maemo?
 
How to compile and install source apps on maemo?
hi everybody
i've been trying to install
https://garage.maemo.org/projects/cmusphinx
this app onto my maemo device.
but as i am a linux noob + the lack of docs. about the issue about make on maemo
made it impossible for me to install this app.

please help what should i do to install this source structured app. :/
i never had installed source app. before

McLightning 2010-07-13 20:06

Re: How to compile and install source apps on maemo?
 
none knows how?

clasificado 2010-07-13 20:38

Re: How to compile and install source apps on maemo?
 
i cant access garage now (i dont know why) so i cant check what kind of application is

but to compile a source usually we have 2 ways:
- crosscompile from scratchbox
- compile inside n900 with a development chroot

this is a link explaining the chroot creation procedure: http://talk.maemo.org/showthread.php?t=32772&page=8

for scratchbox, you can read this: http://wiki.maemo.org/Documentation/...K_Installation

depending on the application, once you have 1) your development environment ready and 2) dependencies installed you can 3) compile using ./configure, make

take in account that compiling from source is (for some) a simple operation when you are lucky and you know what are you doing

if not, it is not.

hope this helps, feel free to ask

Ps: im not sure what "make" problem are you talking about. what i do know, is that every application that is not optified is a sin in n900, and every package from the fremantle tools repository is unoptified, because it thinks that you are using it in scratchbox. Thats why you need to chroot, but from there it works like a charm

maxximuscool 2010-07-13 20:43

Re: How to compile and install source apps on maemo?
 
developement tools needed before you can compile from the N900 xterminal.

Once you've done so, you can just type: python makefile

or any thing you want basically. Just like any other linux system. The program language came in "C, C++, python, perl..."

Each of them calling it's on compiler from the Development kits. Otherwise do it from the scratchbox like Classicado described :)


All times are GMT. The time now is 15:12.

vBulletin® Version 3.8.8