maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   App install with .deb on the N900 (https://talk.maemo.org/showthread.php?t=34640)

j3r3my 2009-11-17 15:11

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

qwerty12 2009-11-17 15:19

Re: App install with .deb on the N900
 
Quote:

Originally Posted by j3r3my (Post 379378)
==> ./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...)

j3r3my 2009-11-17 15:36

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".

TA-t3 2009-11-17 15:49

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.

j3r3my 2009-11-17 15:57

Re: App install with .deb on the N900
 
OK. I'm going to verify my scratchbox setup.
Thank you.

danielwilms 2009-11-18 09:21

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

j3r3my 2009-11-18 13:54

Re: App install with .deb on the N900
 
It's OK, my scratchbox setup was bad.
Thank you for your help.

m_pahlevanzadeh 2010-05-10 21:21

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 ?

krk969 2010-05-12 10:54

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.

bulajek6 2011-03-29 17:29

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!

jedi 2011-03-29 17:35

Re: App install with .deb on the N900
 
Quote:

Originally Posted by bulajek6 (Post 977907)
I was to install adobeair.deb using the xTerminal and at the end getting 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!

The i386 indicates it's for Intel 386 based processors. Your N900 has an ARM processor which cannot run i386 programs. So Adobe Air will not run on your phone.

The scratchbox setup is mainly used for development of apps.

Rabnawaz Thalho 2011-07-05 12:43

Re: App install with .deb on the N900
 
I want to install tweego for which it prerequisites libqoauth.deb package. And while installation of libqoath it encounters errors i.e. 'package architecture (amd64) does not match system (armel).

how to overcome this problem .. please assist.

jedi 2011-07-05 12:51

Re: App install with .deb on the N900
 
Quote:

Originally Posted by Rabnawaz Thalho (Post 1045068)
I want to install tweego for which it prerequisites libqoauth.deb package. And while installation of libqoath it encounters errors i.e. 'package architecture (amd64) does not match system (armel).

how to overcome this problem .. please assist.

You need a package made for ARM processors. AMD64 is not ARM!


All times are GMT. The time now is 22:11.

vBulletin® Version 3.8.8