![]() |
My deb can't be installed
Hy everybody,
I succeeded in building a debian package for my program. But when I try to install it on the N900 I get the message that its not compatible. What could cause that? This is my control file: Code:
Source: unitrans Code:
#!/usr/bin/make -f |
Re: My deb can't be installed
I think the problem is in the Standards-Version field. Value should be 3.7.2
It is the version of the packaging system, not of your application (application version is retrieved from changelog file). As a further note, Section should be user/education. Packages not under user section are not considered as end-user applications, so they will not be shown as installable applications to users by the Maemo application manager. You find everything you need to know in this section within maemo.org wiki: http://wiki.maemo.org/Maemo_packagin...ng_information |
Re: My deb can't be installed
I tried changing version to 3.7.2 but I still receive the same error.
Could it be that it depends on what version of qt I have installed on the N900? I use the actual qt creator from nokia for development on my kubuntu 9.10 system. Or what exactely does the apt system check on the N900? |
Re: My deb can't be installed
Is it an ARM binary? I see arch=any and you're using QT, so I assume it is written in C++...
-jkq |
Re: My deb can't be installed
Yes, its a C++ program.
Should I state something more specific in the architecture field? I compiled the program in the scratchbox by changing the target to armel. My settings are: Code:
Compiler: cs2007q3-glibc2.5-arm7 This is what I get from the "dpkg-buildpackage -rfakeroot": Code:
[sbox-FREMANTLE_ARMEL: ~/MyDocs/UniTrans] > dpkg-buildpackage -rfakeroot |
Re: My deb can't be installed
Quote:
Quote:
Have you tried doing "dpkg -i <debname>" as root on your device? Does it return any error messages? -jkq |
Re: My deb can't be installed
I just tried that and it installs without errors.
Same happens when I do "dpkg -i unitrans_1.0.0_armel.deb" in the scratchbox. But I do not see an icon and there is no executable in /usr/bin. How do I say again where the executable should be installed? Found this in the rules file: Code:
install: build Should the above lines handle that? |
Re: My deb can't be installed
Quote:
Also, what is the output of "dpkg -L unitrans"? That should show you what got installed and to where. -jkq |
Re: My deb can't be installed
My makefile only contains this:
Code:
####### Compile All this C++ stuff is new to me. I read qmake gets its informations from the project file. Which looks like this for this program: Code:
# ------------------------------------------------- |
Re: My deb can't be installed
Quote:
Code:
####### Install -jkq |
All times are GMT. The time now is 12:34. |
vBulletin® Version 3.8.8