The process of tossing Maemo SDK5 on Ubuntu9.10

Source: Internet
Author: User

These days tried the Maemo5 platform N900, personal feeling Maemo's future should be relatively bright, as for the future development distance, should see Nokia strategy how. Although the Maemo platform is very good, but for mobile phone users, after all, is unfamiliar, so the software can be applied is not much, just some software is not perfect. So I want to try the development on this platform. After looking at Maemo's development documentation, I learned that only the SDK runs on the Linux platform, usually Ubuntu. (because Maemo itself is Linux.) The Maemo development Community has also prepared a VMware version of the Maemo SDK installed for users of Windows, which can be downloaded from here.

The following is to say that I Ubuntu9.10 on the rough installation process.

1, the network is not stable

I downloaded three installation files from the Nokia forum:

maemo-sdk-install-wizard_5.0.py Graphics Installer

maemo-scratchbox-install_5.0.sh Scratchbox installation program

maemo-sdk-install_5.0.sh Maemo SDK installation program

The first time the automatic installation program, and then two are manual installation procedures, as for the detailed installation process, you can refer to here, will not repeat.

Ordinarily have a graphical interface of the automatic installation program, it should be very smooth. However, often counterproductive. In the installation process, there are a large number of files need to download (in fact, not much, that is, more than 400 m scratchbox, a movie size is not.) ), that's the one that's been tossing for a day. Because the home is using founder Broadband, Ubuntu can only log on through a Web page. But this link is not stable, will be broken every time, need to log in again. Most of all, the Scratchbox server is too slow to deliver, less than 10K, and it can be imagined what it feels like. Installation program again and again the abnormal stop, has been tossing from nine in the morning to five o'clock in the afternoon, also did not download finished.

Finally have to switch to Windows, directly through the FlashGet download, and then put under/var/cache/apt/archieve/.

Of course, if this can be carried out smoothly, it is also a good way. But do not know why, the installation process, Nokia APP binaries EULA interface does not come out, can not enter code, can not accept, all can not be carried out, can only use manual installation.

This is a complaint, but I hope I can give a wake-up call to a friend in the same situation. Be sure to download it first.

2, start the Xephyr encountered problems.

Help gives you the command to start Xserver:

Xephyr:2-host-cursor-screen 800x480x16-dpi 96-ac-kb &

Issue 1: [Dix] could not init font path element/usr/share/fonts/x11/cyrillic, removing from list!
[Config/dbus] couldn ' t take over Org.x.config:org.freedesktop.dbus.error.accessdenied (Connection ": 1.80" isn't Allowed to own the service "Org.x.config.display2" due to security policies in the configuration file)
Unrecognised Device identifier!
(EE) Config/hal:newinputdevicerequest failed (2)
Workaround: Add the following content to the/etc/dbus-1/system.d/xorg-server.conf:

<allow own= "Org.x.config.display2"/> <allow send_destination= "Org.x.config.display2"/> <allow Interface= "Org.x.config.display2"/>

Issue 2: The accessdenied error disappears as modified by the above method, but the error of could not init font path still exists.

Workaround: Modify the Change execution command to:

Xephyr:2-host-cursor-screen 800*480*16-dpi 96-ac-kb-fp/usr/share/fonts/x11/misc/&
Added the-FP option to specify the path to the font file.

Question 3: Here, there is another problem, that is unrecognised device identifier!

Workaround: No. Hope to have a master can provide.

After the above modification, although there are errors, but see someone said can be ignored, do not know whether there is an impact.

3, install the Nokia Binaries.

Now finally to login Scratchbox time, but run af-sb-init.sh start command, but prompted not to find the command. The original is because although installs MAEMO-SDK, but also needs to install the Nokia Binaries in the Scratchbox.

First, enter this page, enter code, submit;

Then, run Fakeroot vi/etc/apt/sources.list in Scratchbox and give the page an address (in the form of Deb http://repository.maemo.org/fremantle/ 4bc37c7c77ebe90177c050b805a8dc79 nokia-binaries), added to the sources.list.

Then, run Apt-get Update and fakeroot apt-get install nokia-binaries in Scratchbox.

Finally, rerun af-sb-init.sh start.

Although, N900 interface finally came out (because now can not upload pictures, so can not share with you), but feel as if there is something missing, continue to work hard.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.