Trouble with snapgear... - Embedded
This is a discussion on Trouble with snapgear... - Embedded ; Hi all!
I must be doing something fundamentally wrong, but I don't see what...
I have obtained a toolchain from http://uclibc.org/toolchains.html and
loop-mounted it as described at the bottom of the page. Then I
downloaded snapgear-3.x.x.tar.gz from
http://ftp.snapgear.org/pub/snapgear/src/ and tried ...
-
Trouble with snapgear...
Hi all!
I must be doing something fundamentally wrong, but I don't see what...
I have obtained a toolchain from http://uclibc.org/toolchains.html and
loop-mounted it as described at the bottom of the page. Then I
downloaded snapgear-3.x.x.tar.gz from
http://ftp.snapgear.org/pub/snapgear/src/ and tried to follow the
instructions on http://www.snapgear.org/snapgear/documentation.html
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: *** [config.in] 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
folder...)
Am I missing something? Or are the instructions I am using
incomplete...?
Regards,
Evert
-
Re: Trouble with snapgear...
Looks like the snapgear-3.3.1.tar.gz file gets me further! :-)
Regards,
Evert
On Nov 22, 2:55 pm, "Evert" wrote:
> Hi all!
>
> I must be doing something fundamentally wrong, but I don't see what...
>
> I have obtained a toolchain fromhttp://uclibc.org/toolchains.htmland
> loop-mounted it as described at the bottom of the page. Then I
> downloaded snapgear-3.x.x.tar.gz fromhttp://ftp.snapgear.org/pub/snapgear/src/and tried to follow the
> instructions onhttp://www.snapgear.org/snapgear/documentation.html
>
> 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: *** [config.in] 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
> folder...)
>
> Am I missing something? Or are the instructions I am using
> incomplete...?
>
> Regards,
> Evert
-
Re: Trouble with snapgear...
Evert,
> I must be doing something fundamentally wrong, but I don't see what...
>
> I have obtained a toolchain from http://uclibc.org/toolchains.html and
> loop-mounted it as described at the bottom of the page. Then I
> downloaded snapgear-3.x.x.tar.gz from
> http://ftp.snapgear.org/pub/snapgear/src/ and tried to follow the
> instructions on http://www.snapgear.org/snapgear/documentation.html
>
> 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: *** [config.in] 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
> folder...)
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 > config.in
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.in > config.tmp
cat /mnt/work/snapgear-linux/snapgear-3.4.0/config/scripts/header.tk >> ./config.tk
cat config.tmp >> config.tk
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
Regards,
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
| Damion de Soto --------------------------------------------------
| Software Engineer email: Damion_deSoto@au.securecomputing.com
| Secure Computing Corporation web: http://www.securecomputing.com
| fax: +61 7 3891 3630 ph: +61 7 3435 2809
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
---- Free Embedded Linux Distro at http://www.snapgear.org ----