OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: jpmatrix on September 27, 2007, 12:42:54 pm

Title: Compilation Environnement
Post by: jpmatrix on September 27, 2007, 12:42:54 pm
googling a little, it seems i succeed in building a compilation environnement for debian :

apt-get install build-essential
will install all necessary tools!

i tried with passkey-agent, i had to apt-get install libdbus-1-dev package too
then

make

and i had a executable binary !

i wonder if we should add arm compilation options however.

EDITED: now trying to compile notecase
Title: Compilation Environnement
Post by: jpmatrix on September 27, 2007, 01:44:19 pm
notecase compiled
and it works!!!!

whow
Title: Compilation Environnement
Post by: Chero on September 27, 2007, 02:18:37 pm
Quote from: jpmatrix
notecase compiled
and it works!!!!

whow

can you create a .deb out of it ?
Title: Compilation Environnement
Post by: ZDevil on September 27, 2007, 02:56:14 pm
Good job!
AFAIK first the packager has to write a control file for the package.
Then a dpkg-deb build PACKAGE will do.
Title: Compilation Environnement
Post by: jpmatrix on September 27, 2007, 04:07:55 pm
Quote from: ZDevil
Good job!
AFAIK first the packager has to write a control file for the package.
Then a dpkg-deb build PACKAGE will do.

thanks!
i was unsuccessfully fighting with fakeroot and dpkg-buildpackage.... and i was next to tell you that i failed........ and....


in fact i had to type where notecase-1.6.6 directory was :
dpkg-deb -b notecase-1.6.6

and gotcha!!!

then dpkg -i notecase-1.6.6.deb


then notecase to launch !!

find the .deb there:
http://matrixmen.free.fr/zaurus/debian/jpmatrix/ (http://matrixmen.free.fr/zaurus/debian/jpmatrix/)

that's toooooo great!
Title: Compilation Environnement
Post by: ZDevil on September 27, 2007, 05:06:47 pm
That's cool. That looks easier than I thought!
Will hop on the bandwagon soon.  
Title: Compilation Environnement
Post by: ZDevil on September 28, 2007, 02:06:28 pm
Found this today. A very powerful and promising project!

http://www.scratchbox.org/ (http://www.scratchbox.org/)

I will try this on my MacBook. If it works then there is no more reason not to crosscompile with ARM optimizations for Debian/Z.
Title: Compilation Environnement
Post by: tux on October 13, 2007, 04:46:52 pm
Quote from: ZDevil
Found this today. A very powerful and promising project!

http://www.scratchbox.org/ (http://www.scratchbox.org/)

I will try this on my MacBook. If it works then there is no more reason not to crosscompile with ARM optimizations for Debian/Z.
 Hi ZDevil,

any progress with Scratchbox? I've not had any time to play with it myself. The most useful thing for me might be the fact that you can also target the Nokia tablets.

Another question you might know the answer to. I installed build-essential and then tried to install the 2.6.22 headers. (Yes I have managed to do the copy the modules thing and upgrade to the 2.6.22 kernel. Thanks guys!:D )

Here is the terminal output:

titchy:~# apt-get install linux-headers - `uname -r`
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Package linux-headers is a virtual package provided by:
  linux-headers-2.6.22-2-ixp4xx 2.6.22-4
  linux-headers-2.6.22-2-iop32x 2.6.22-4
  linux-headers-2.6.22-2-footbridge 2.6.22-4
  linux-headers-2.6.22-2 2.6.22-4
  linux-headers-2.6-ixp4xx 2.6.22+10
  linux-headers-2.6-iop32x 2.6.22+10
  linux-headers-2.6-footbridge 2.6.22+10
You should explicitly select one to install.
E: Package linux-headers has no installation candidate


Any suggestions about the choice I should make?  

uname -r just gives 2.6.22.


Cheers  
Title: Compilation Environnement
Post by: ZDevil on October 14, 2007, 08:29:41 am
@tux:
Well for now I am still playing with the native toolchain. My C860 is now spared as a dedicated Debian box to compile stuff. But I have to install scratchbox only after I got debian set up in VM Fusion on my macbook...
And sorry I am just an enthusiastic user and no kernel guru. So can't help here ...
Title: Compilation Environnement
Post by: jpmatrix on October 21, 2007, 11:46:44 am
it seems i missed some Qtopia dev files to compile wm8750mixer.
compile complains about
qpeapplication.h
...

any help ?
Title: Compilation Environnement
Post by: ZDevil on October 21, 2007, 02:44:32 pm
Yes, I took a brief look at the source too. Perhaps we should ask eviLjazz for the source for pdaXrom. The current source seems to be only for Sharp ROM.
In addition to the source, we still need to figure out how or whether to patch the kernel. The current version for 2.4.20 uses a special kernel patch that has been incorporated into the latest tetsu kernel (Sharp ROM).
But I am still very busy so it would be perfect if you (or some kind hands) could make it happen.