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.
==> ./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...)
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".
--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.
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.
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!