Compiling Familiar

Install zenity and git. If you're running a 32-bit x86 processor also install psyco to speed up bitbake. You will need to have gcc 3.3 or 3.4 set as your default compiler. Also parts of the build depend on libpcre, subversion and cvs.

OS specific

Ubuntu&Debian

 apt-get install zenity git git-core cogito python2.4-psyco

Be sure that your gcc is 3.4

 ls -l /usr/bin/gcc*
 lrwxrwxrwx 1 root root    16 2006-09-14 07:42 /usr/bin/gcc -> /usr/bin/gcc-3.4
 -rwxr-xr-x 1 root root 85008 2006-03-16 16:51 /usr/bin/gcc-3.4
 -rwxr-xr-x 1 root root 93584 2006-04-21 05:22 /usr/bin/gcc-4.0
 lrwxrwxrwx 1 root root    10 2006-06-20 20:39 /usr/bin/gccbug -> gccbug-4.0
 -rwxr-xr-x 1 root root 16090 2006-03-16 16:36 /usr/bin/gccbug-3.4
 -rwxr-xr-x 1 root root 16245 2006-04-21 05:13 /usr/bin/gccbug-4.0

if link of gcc is not "/usr/bin/gcc-3.4" than execute this

 rm /usr/bin/gcc
 ln -s /usr/bin/gcc-3.4 /usr/bin/gcc

If you have not gcc-3.4 than

 apt-get install gcc-3.4

After build image return to your default gcc

 rm /usr/bin/gcc
 ln -s /usr/bin/ваша_прежняя_версия /usr/bin/gcc

Gentoo

 emerge zenity dev-util/git psyco libpcre subversion cvs

List installed compilers with gcc-config -l, then select an 3.4 series one if it is not already selected with a green asterisk. Do not choose a hardened compiler unless you know what you're doing.

 gcc-config -l
 gcc-config i386-pc-linux-gnu-3.4.5

Don't forget to gcc-config back to your regular gcc because some packages break when compiled by a different compiler than your kernel (such as ndiswrapper).

If your using a quite fresh install and don't have a 3.4.x compiler, emerge one:

 emerge =gcc-3.4.5

Building

Fetch the Familiar tree with git.

 git clone http://git.hackndev.com/familiar.git
 cd familiar-build

Run the setup script.

 bash setup/build-env.sh

Source env.sh and build an image.

 source build-palmld-opie/conf/env.sh
 bitbake opie-image

Errors

If you encounter any errors, send a PM to fahhem. You should receive a reply in less than a day.

Updating

To update your tree with hackndev changes, change to the root familiar-build directory and run:

 git-pull

To update with Familiar changes instead use:

 git-pull http://familiar.handhelds.org/git/familiar-build.git

Note: You can of course use cogito (ie cg-pull) instead of git, but it can take a while if you have a repository of this size on a slower PC. Cogito seems to like to iterate through every file in the tree on most commands.