Reply
Thread Tools
Posts: 72 | Thanked: 58 times | Joined on Feb 2008
#1
I want to set up a development environment on my Ubuntu Karmic box. The nearest thing to instructions I can find are these:

http://maemo-sdk.garage.maemo.org/install-ubuntu.html

Unfortunately it only claims to have been tested on Jaunty, not Karmic, but I'm trying anyway.

I've installed all the things it asked me to do, and I'm trying to test compilation of maemopad. The compilation fails like this:

Code:
mat@Winter:~/src/mytest/maemopad-2.4$ sb2 dpkg-buildpackage -rfakeroot -d -b
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package maemopad
dpkg-buildpackage: source version 2.4
dpkg-buildpackage: source changed by Maemo Integration <integration@maemo.org>
dpkg-buildpackage: host architecture armel
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp 
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || /opt/maemo/dists/lenny-2009-1/usr/bin/make distclean
dh_clean 
 debian/rules build
./autogen.sh
+ glib-gettextize --copy --force
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

+ libtoolize --automake --copy --force
+ intltoolize --automake --copy --force
+ aclocal-1.7
+ autoconf --force
+ autoheader --force
+ automake-1.7 --add-missing --copy --force-missing --foreign
PANIC: unprotected error in call to Lua API (.../sb2-mat-20100213-110141.pVdr92/lua_scripts/main.lua:25: 
Error while loading /tmp/sb2-mat-20100213-110141.pVdr92/lua_scripts/mapping.lua: 
not enough memory
)
configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
automake-1.7: no `Makefile.am' found or specified
make: *** [configure] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
It's complaining that I don't have enough memory. It's true that I'm running on an EEE Box with 1GB memory, but I'd expect that it can't actually run out of memory, since there's virtual memory too:

Code:
mat@Winter:~/src/mytest/maemopad-2.4$ free
             total       used       free     shared    buffers     cached
Mem:       1018080     945868      72212          0      46772     256048
-/+ buffers/cache:     643048     375032
Swap:      2980016     987596    1992420
The only thing I can think of is if I haven't set things up correctly. The document says "Make sure that you have installed the Diablo armel rootstrap and are using diablo4.1.2_armel as the default target", but it doesn't say how. I did it by running maemo-sdk and selecting a couple of sensible-looking options, which gave this output:

Code:
Setting up the default rootstrap to be ``diablo4.1.2_armel''...
Target emulation mode set to sb2-qemu-arm.
Is this wrong?

I'm finding this documentation to be pretty lame. I mean, Nokia is supposed to be encouraging developers to work on its fancy new platform so it can stop Apple stealing its lunch, and what we get is a bunch of vague, outdated instructions that don't work?
 
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#2
https://bugs.launchpad.net/ubuntu/+s...sh/+bug/452175 may apply - I had similar issue when upgrading to Karmic - my SB2 died completely.

You should probably look at the primary SDK, http://www.forum.nokia.com/Tools_Doc...atforms/Maemo/
__________________
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.
 

The Following User Says Thank You to Stskeeps For This Useful Post:
Posts: 72 | Thanked: 58 times | Joined on Feb 2008
#3
Ah, that looks better, I'll give that SDK a shot. I prefer installing software through aptitude, but if Nokia has to take over my machine then so be it. Nice to see that they provide an option to uninstall as well :-)
 
Posts: 72 | Thanked: 58 times | Joined on Feb 2008
#4
OK, I ran that python script. I unchecked the button that said put an icon on the desktop, because I hate it when applications clutter my desktop with their garbage. Then on completion, I'm told that I have to click the icon on the desktop to run the thing. Damn. So I uninstalled (which didn't seem to actually do anything significant) and now I'm trying to reinstall so that it will create the desktop icon.

Except that now, I get a page about "Nokia Binaries", saying I have to accept the EULA. There are two check boxes, Install Nokia Binaries and Install Nokia apps, and three buttons at the bottom, Back Next and Cancel. Nothing else. And Next is greyed out, so I can't click it. Presumably it's noticed that I've already accepted the EULA somehow, but it's too stupid to ungrey the button. I had a look inside the python code, but it's absurdly complicated in there and I don't wanna know.

Basically the whole thing has now locked up and I'm screwed. I just wanted to take a look at modest to see if I could fix some of its more egregious design flaws. Can someone convince me that I should be bothering with this crap?
 
mrebanza's Avatar
Posts: 290 | Thanked: 132 times | Joined on Jan 2010 @ New York City
#5
I would look at the newly released LUBUNTU which is based on the Lightweight LXDE Desktop Environment instead of Gnome!


I **THINK** that LXDE is what Maemo is based on too but I am not sure....either way LXDE is supper light ..... I think its smaller than MER!!!!!!

Good luck!!!
 
Reply


 
Forum Jump


All times are GMT. The time now is 04:16.