![]() |
App install with .deb on the N900
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 |
Re: App install with .deb on the N900
Quote:
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...) |
Re: App install with .deb on the N900
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". |
Re: App install with .deb on the N900
--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.
|
Re: App install with .deb on the N900
OK. I'm going to verify my scratchbox setup.
Thank you. |
Re: App install with .deb on the N900
Hi,
I'm not sure, but maybe it is just the control file? Which architecture have you specified there? Cheers |
Re: App install with .deb on the N900
It's OK, my scratchbox setup was bad.
Thank you for your help. |
Re: App install with .deb on the N900
do you mean sb-menu>setup ?
if yes,where can i find file of arm or i486 ? |
Re: App install with .deb on the N900
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. |
Re: App install with .deb on the N900
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!
|
All times are GMT. The time now is 02:08. |
vBulletin® Version 3.8.8