View Single Post
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#9
Originally Posted by DojwqIO View Post
That's the thing. I thought the debian packages had to be compiled for the target architecture from the source tarball.
No. The debian package is a debian package.. you can grab an i386 debian package and install it. The program won't run - because the binary (not the debian package itself, the actual program executable) was compiled for x86. So to combat this, inside a control file in the debian file it specifies the architecture - and then dpkg will fail out telling you that that package was designed for i386.. not armel. All ".deb" is, is a zip file (more or less) with some failsafes built-in.

Looking for the stable debian package for aspell, I found the .tar.gz, .dsc, and diff.gz.
files you mentioned here: http://packages.debian.org/source/stable/aspell .

Will running "dpkg-buildpackage -rfakeroot" build a .deb file that will install on the N900.
Yes.. because dpkg-buildpackage goes through dozens of steps, described in the links I showed above, which include compiling the software for whatever architecture you are running it on. (That is why this must be done with either MADDE or scratchbox).

Can you point me to some documentation that explains all the steps to build the package?

Thanks,
I did that.. right above you. Full documentation that explains everything.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post: