Re: Trouble with snapgear...

I must be doing something fundamentally wrong, but I don't see what...

I have obtained a toolchain from and
loop-mounted it as described at the bottom of the page. Then I
downloaded snapgear-3.x.x.tar.gz from and tried to follow the
instructions on

with snapgear-3.3.0.tar.gz I get:
[root@desktop-evert snapgear-3.3.0]# make xconfig
cannot access `config/mkconfig': No such file or directory
make: *** [] Error 1
[root@desktop-evert snapgear-3.3.0]#

with snapgear-3.4.0.tar.gz I get:
[root@desktop-evert snapgear-3.4.0]# make xconfig
make: *** No rule to make target `xconfig'. Stop.
[root@desktop-evert snapgear-3.4.0]#

(this last one makes sense, because there is no Makefile in the
where has the top level Makefile gone ?

you should have the following files in the top level directory:

$ tar -ztvf snapgear-3.4.0.tar.gz
-rw-r--r-- gerg/gerg 11515 2006-08-02 11:38:59 snapgear/Makefile
-rw-r--r-- gerg/gerg 1743 2004-01-21 09:49:56 snapgear/SOURCE
-rw-r--r-- gerg/gerg 18007 1999-11-22 13:46:54 snapgear/COPYING
-rw-r--r-- gerg/gerg 4931 2004-11-11 14:19:59 snapgear/README

and the following directories:
damion@titan:~/WORKSPACE/snapgear-linux/snapgear-3.4.0$ ls
bin freeswan lib linux-2.4.x tools user
config Documentation include linux-2.0.x linux-2.6.x openswan uClibc vendors

I then run $ make xconfig
config/mkconfig >
make -C /mnt/work/snapgear-linux/snapgear-3.4.0/config/scripts tkparse
make[1]: Entering directory `/mnt/work/snapgear-linux/snapgear-3.4.0/config/scripts'
cc -c -o tkparse.o tkparse.c
cc -c -o tkcond.o tkcond.c
cc -c -o tkgen.o tkgen.c
cc -o tkparse tkparse.o tkcond.o tkgen.o
make[1]: Leaving directory `/mnt/work/snapgear-linux/snapgear-3.4.0/config/scripts'
ARCH=dummy /mnt/work/snapgear-linux/snapgear-3.4.0/config/scripts/tkparse < > config.tmp
cat /mnt/work/snapgear-linux/snapgear-3.4.0/config/scripts/ >> ./
cat config.tmp >>

etc, etc. and I get the xwindow config boxes appearing.

Any of the versions should work. 3.4.0 is the latest, however we don't have formal approval to release it yet.

Check to make sure you have the uncompressed files as listed from a
tar -ztvf snapgear-3.4.0.tar.gz


| Damion de Soto --------------------------------------------------
| Software Engineer email: Damion_deSoto@xxxxxxxxxxxxxxxxxxxxxx
| Secure Computing Corporation web:
| fax: +61 7 3891 3630 ph: +61 7 3435 2809
---- Free Embedded Linux Distro at ----