Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    App install with .deb on the N900

    Reply
    Page 1 of 2 | 1   2   | Next
    j3r3my | # 1 | 2009-11-17, 15:11 | Report

    Hello,

    I want to install my application on the N900. I built this file "radar_1.0.0-1_armel.deb" and I try to install it with the XTerm with the command line :
    ==> dpkg -i radar_1.0.0-1_armel.deb.
    But, when I want to execute my apps (./wlan-radar), there is the following error :
    ==> ./wlan_radar: line 1: syntax error: "(" unexpected.
    I don't understand this error.

    thank you for your assistance
    j3r3my

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to j3r3my For This Useful Post:

     
    qwerty12 | # 2 | 2009-11-17, 15:19 | Report

    Originally Posted by j3r3my View Post
    ==> ./wlan_radar: line 1: syntax error: \\\"(\\\" unexpected.
    You\\\'re trying to run an i386 binary on a device with an ARM processor [N900]. This won\\\'t work. If you have \"file\" installed, file ./wlan_radar could probably confirm this.

    What does confuse me, however, is that:
    * You\\\'ve installed a deb; so why are you trying to run it with ./? That would suggest that you have installed an armel deb, with its armel binary in /usr/bin(?), but are trying to run an i386 binary copied separately.

    (Of course, the other theory could be that you have forcibly set the Archtecture in debian/control to armel, built it in FREMANTLE_X86, and are in /usr/bin trying to run the program...)

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by qwerty12; 2009-11-17 at 15:21.

     
    j3r3my | # 3 | 2009-11-17, 15:36 | Report

    Thank you for your response.
    I built "radar_1.0.0-1_armel.deb" in FREMANTLE_ARMEL.
    When I want to install the .deb with "dpkg -i radar_1.0.0-1_armel.deb", there is the following error :
    ==> dpkg: error processing radar_1.0.0-1_armel.deb (--install): package architecture (i386) does not match system (armel).
    I tried to install with "--force-architecture".

    Edit | Forward | Quote | Quick Reply | Thanks

     
    TA-t3 | # 4 | 2009-11-17, 15:49 | Report

    --force-architecture won't do you any good, it's i386 so won't be usable in arm. There's something wrong with your scratchbox setup if the application you build ends up as i386.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    j3r3my | # 5 | 2009-11-17, 15:57 | Report

    OK. I'm going to verify my scratchbox setup.
    Thank you.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    danielwilms | # 6 | 2009-11-18, 09:21 | Report

    Hi,

    I'm not sure, but maybe it is just the control file? Which architecture have you specified there?

    Cheers

    Edit | Forward | Quote | Quick Reply | Thanks

     
    j3r3my | # 7 | 2009-11-18, 13:54 | Report

    It's OK, my scratchbox setup was bad.
    Thank you for your help.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    m_pahlevanzadeh | # 8 | 2010-05-10, 21:21 | Report

    do you mean sb-menu>setup ?
    if yes,where can i find file of arm or i486 ?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    krk969 | # 9 | 2010-05-12, 10:54 | Report

    this is just an example path.

    http://repository.maemo.org/extras-d...free/a/a52dec/

    you can find all the debs here(i386 and arm) if the developer has chosen to build it for both platforms, but if you are not comfortable with usage of deb, I would suggest not to install debs directly on your phone.
    Use the application manager which uses apt and will automatically install dependencies as well.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    bulajek6 | # 10 | 2011-03-29, 17:29 | Report

    I was to install adobeair.deb using the xTerminal and at the end received the following error: "package architecture i386 does not match system armel". Is there any other way to install adobe Air on N900? If so pls provide some instructions. Also I saw some info about the "Scratchbox setup" but have no idea what that is and how I can change it to install adobe Air. Thanks a bunch!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by bulajek6; 2011-03-29 at 17:32.

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout