Reply
Thread Tools
jaeezzy's Avatar
Posts: 664 | Thanked: 160 times | Joined on Jul 2008 @ Australia
#101
Originally Posted by nicolai View Post
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's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#102
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!
Attached Files
File Type: txt zrules.txt (850 Bytes, 188 views)
__________________
N9: Go white or go home

Last edited by daperl; 2010-07-31 at 21:03.
 

The Following User Says Thank You to daperl For This Useful Post:
Posts: 1,522 | Thanked: 392 times | Joined on Jul 2010 @ São Paulo, Brazil
#103
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?
 

The Following User Says Thank You to TiagoTiago For This Useful Post:
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#104
Originally Posted by TiagoTiago View Post
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.
__________________
N9: Go white or go home
 

The Following 2 Users Say Thank You to daperl For This Useful Post:
Posts: 1,522 | Thanked: 392 times | Joined on Jul 2010 @ São Paulo, Brazil
#105
Cool, thanx!
 
Posts: 79 | Thanked: 6 times | Joined on Nov 2009
#106
anyone knows an IDE(eclipse, Anjuta) that can run on maemo or o easy debian?
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#107
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.
__________________
N9: Go white or go home
 

The Following 5 Users Say Thank You to daperl For This Useful Post:
Posts: 992 | Thanked: 995 times | Joined on Dec 2009 @ California
#108
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
 

The Following 4 Users Say Thank You to egoshin For This Useful Post:
Posts: 36 | Thanked: 28 times | Joined on Jul 2010
#109
Originally Posted by pingu View Post
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's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#110
Personnally i use KhtEditor as editor, maybe because i'm the author
 

The Following User Says Thank You to Khertan For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 02:06.