Tossing maemo sdk5 on ubuntu9.10

Source: Internet
Author: User

I tried the N900 on the maemo5 platform these days. I personally feel that the future of maemo should be bright. As for the future development path, it depends on Nokia's strategy. Although the maemo platform is good, mobile phone users are not familiar with it, so there are not many software available, and some software is not perfect. So I want to try development on this platform. After reading the maemo development documentation, I learned that the SDK can only run on the Linux platform, generally ubuntu. (Because maemo itself is Linux. The maemo development community has prepared a vmware version of The maemo SDK for Windows users.

Download ).

Next, let's talk about the bumpy Installation Process on ubuntu9.10.

1. Unstable Network

I'm from the Nokia Forum
Three installation files are downloaded:

Maemo-sdk-install-wizard_5.0.py graphics Installer

Maemo-scratchbox-install_5.0.sh scratchbox Installer

Maemo-sdk-install_5.0.sh maemo SDK Installer

The first is to automatically install the program, and the second is to manually install the program. For details about the installation process, refer to here
.

As mentioned above, the automatic installation program with the graphic interface should be smooth. However, it is often counterproductive. During the installation process, a large number of files need to be downloaded (in fact, there are not many, that is, the scratchbox of more than 400 mb, and the size of a single movie is not enough .), It was a day of hard work. Because the home uses founder's broadband, UBUNTU can only log on through the web page. However, the link is unstable and will be disconnected at intervals. You need to log on again. The worst thing is that the scratchbox server is too slow to provide, with less than 10 KB. What is the feeling. The installation program is aborted once and again, from five o'clock P.M. to, and the download is not completed.

In the end, you have to switch to Windows, download it directly through flashget, and then put it under/var/Cache/APT/archieve.

Of course, it would be a good way to proceed smoothly. But I don't know why. During the installation process, the EULA interface of the Nokia app binaries is released, and the Code cannot be entered, the Code cannot be accepted, and everything cannot be done. You can only use manual installation instead.

This is a complaint, but I hope I can give it to my friends who share the same illness. Be sure to download it first.

 

2. problems encountered when xephyr is started.

Help provides the command to start xserver:

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

Question 1
: [Dix] cocould not init font path element/usr/share/fonts/X11/Cyrillic, removing from list!
[Config/clusters] Couldn't take over Org. x. config: Org. freedesktop. invalid. error. accessdenied (connection ": 1.80" is not allowed to own the service "org. x. config. display2 "due to security groups ies in the configuration file)
Unrecognised device identifier!
(Ee) config/hal: newinputdevicerequest failed (2)

Work und: Add the following content to the/etc/dbus-1/system. d/xorg-server.conf:

<Allow own = "org. x. config. display2 "/> <br/> <allow send_destination =" org. x. config. display2 "/> <br/> <allow send_interface =" org. x. config. display2 "/>

 

Question 2: After modifying according to the above method,

The accessdenied error disappears,

The error code of the cocould not init font path still exists.

Solution:
Modify and execute the following command:

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 of the font file.

 

Question 3:
At this point, there is another problem:
Unrecognised device identifier!

Solution:
None !! Hope that experts can provide them.

 

After the above modification, although there are still errors, we can see that some people say they can be ignored and do not know whether there is any impact.

 

3. Install Nokia binaries.

Now it's time to log on to scratchbox, but when you run the af-sb-init.sh start command, it prompts that the command is not found. It turns out that although
Maemo-SDK, but you also need to install Nokia binaries in scratchbox.

First, go to this page
, Enter code, submit;

Then, run fakeroot VI/etc/APT/sources. List in scratchbox to give the address (Shape: Deb http://repository.maemo.org/Fremantle/4bc37c7c77ebe90177c050b805a8dc79 Nokia-Binaries
), And add it to sources. List.

Next, run apt-Get update in scratchbox.
And fakeroot apt-Get install Nokia-Binaries
You can.

Finally, re-run af-sb-init.sh start
.

 

Although the N900 interface has finally come out (because you cannot upload images now, you cannot share it with others), it seems that there is something missing and you can 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.