maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Developing on the N900 itself ? (https://talk.maemo.org/showthread.php?t=32772)

jaeezzy 2010-07-26 11:02

Re: Developing on the N900 itself ?
 
Quote:

Originally Posted by nicolai (Post 765041)
Do you have syklogd?

I think so coz it should have got downloaded when I gave, apt-get install maemo-sdk-dev and the problem is while setting up things but I could be wrong and moreover, I think, when I looked at the error that it was saying sth like post-installation error..

daperl 2010-07-31 20:48

Re: Developing on the N900 itself ?
 
1 Attachment(s)
Here's most of what I did to create a working package of

fcamera_0.1.3-1_armel.deb

on the device.

If I missed something, first try to fix it yourself, but if I made a mistake other than a package install or a repository configuration, please post it here.

1. Create armel versions of qmake and moc

This could easily benefit from a strip down, but at the moment it needs almost 800 MB.

From your source directory in your development chroot, do the following:

Code:

apt-get install libqt4-dev
apt-get source libqt4-dev
# The above is a long process, be patient
cd qt4-x11-4.6.2~git20100401
# copy the attached file zrules.txt to the debian directory
. debian/zrules.txt
# The above is a very long process, could be streamlined, for now, be patient
cp -a bin/qmake /usr/bin
cd src/tools/bootstrap
make
cd ../moc
make
cd ../../../bin
strip moc
cp -a moc /usr/bin

2. Build fcamera_0.1.3-1_armel.deb

Code:

cd ../..
apt-get install fcam-dev
apt-get source fcamera
scp <scratchbox user>@<scratchbox host>:/scratchbox/compilers/cs2007q3-glibc2.5-arm7/lib/gcc/arm-none-linux-gnueabi/4.2.1/include/arm_neon.h /usr/include
apt-get install pulseaudio-dev
cd fcamera-0.1.3
dpkg-buildpackage -b -d -nc

Good luck!

TiagoTiago 2010-08-15 07:25

Re: Developing on the N900 itself ?
 
Is there a solution that would only require me to like download one file, run it, and keep pressing "next", "ok", "yes" etc in order to have it all setup and ready to use?

daperl 2010-08-15 15:13

Re: Developing on the N900 itself ?
 
Quote:

Originally Posted by TiagoTiago (Post 786792)
Is there a solution that would only require me to like download one file, run it, and keep pressing "next", "ok", "yes" etc in order to have it all setup and ready to use?

Not that I know of, but great idea. Maybe I'll cook something up today or tomorrow. If I or anyone else hasn't posted a solution here by 8:00 pm PDT, feel free to bump this thread.

TiagoTiago 2010-08-15 15:16

Re: Developing on the N900 itself ?
 
Cool, thanx! :D

pingu 2010-08-15 19:00

Re: Developing on the N900 itself ?
 
anyone knows an IDE(eclipse, Anjuta) that can run on maemo or o easy debian?

daperl 2010-08-21 16:49

Re: Developing on the N900 itself ?
 
VERY GOOD NEWS for those already using an on-device sdk. I finally got rid of my pesky

Code:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_PAPER = "en_US",
        LC_ADDRESS = "en_US",
        LC_MONETARY = "en_US",
        LC_NUMERIC = "en_US",
        LC_TELEPHONE = "en_US",
        LC_MESSAGES = "en_US",
        LC_IDENTIFICATION = "en_US",
        LC_MEASUREMENT = "en_US",
        LC_TIME = "en_US",
        LC_NAME = "en_US",
        LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

messages. If you too have been receiving these types of messages, install the following packages into your sdk:

Code:

locale-resolver-data
posix-locales
libi18n-locale-resolver0

I'm not sure if you need all three, but who cares!

For those waiting for a one-script-does-all, I'm still in the process of over engineering it. If I'm taking too long for you, see this post if you want to get started today.

egoshin 2010-11-03 19:19

Re: Developing on the N900 itself ?
 
For small QT development on N900 itself -

Standard Maemo 5 repository (both - maemo.org and Nokia) doesn't have ARMEL binaries in libqt4-dev (see bug https://bugs.maemo.org/show_bug.cgi?id=11445) since PR1.2.

So, to run qt4 qmake/uic/moc compilers/builders - get and install libqt4-dev-armel package from https://garage.maemo.org/projects/libqt4-dev-arm/ instead of libqt4-dev

dave1010 2010-11-03 22:11

Re: Developing on the N900 itself ?
 
Quote:

Originally Posted by pingu (Post 787218)
anyone knows an IDE(eclipse, Anjuta) that can run on maemo or o easy debian?

If you install IceTea (Java) then the standard Netbeans instal runs fine in Meamo. I guess Eclipse should too. I think there's a couple of IDEs in the Easy Debian repos too.

A full IDE will be much slower than vim or nano though.

Khertan 2010-11-06 16:58

Re: Developing on the N900 itself ?
 
Personnally i use KhtEditor as editor, maybe because i'm the author :)


All times are GMT. The time now is 11:50.

vBulletin® Version 3.8.8