• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

.: Enviroment Checker :.

fergy

Member +
Joined
Jan 11, 2007
Messages
170
Likes
3
#1
Here is simple script who will check necessary tools what is needed for compiling Dreambox/Dbox/TD image under Linux enviroment.

#1 Unzip it and put into Your tuxbox-cvs/cdk directory
#2 execute it by typing in terminal: ./checker.sh

NOTE: You MUST BE LOGIN AS ROOT.

How to do that?

#1 Open terminal and execute comand
Code:
su
( hit Enter )

( su command mean: super user - root )

#2 Enter Your root password ( hit Enter )
#3 cd into tuxbox-cvs/cdk by executing command:
Code:
cd /blabla/tuxbox-cvs/cdk
( hit Enter )

#4 execute command:
Code:
./checker.sh
( hit Enter )

NOTE: This will take a while so be patient.

Here is sample how it look:

Code:
cvs:
Concurrent Versions System (CVS) 1.12.12 (client/server)

[COLOR="Yellow"]autoconf [>= 2.57a]:[/COLOR]
[COLOR="Lime"]autoconf (GNU Autoconf) 2.60[/COLOR]

[COLOR="Yellow"]automake [>= 1.7]:[/COLOR]
[COLOR="Lime"]automake (GNU automake) 1.9.6[/COLOR]

[COLOR="Yellow"]libtool [>= 1.4.2]:[/COLOR]
ltmain.sh (GNU libtool) [COLOR="Lime"]1.5.22[/COLOR] (1.1220.2.365 2005/12/18 22:14:06)

[COLOR="Yellow"]gettext [>= 0.12.1]:[/COLOR]
[COLOR="Lime"]gettext (GNU gettext-runtime) 0.15[/COLOR]

[COLOR="Yellow"]make [>= 3.79]:[/COLOR]
[COLOR="Lime"]GNU Make 3.81[/COLOR]

makeinfo:
makeinfo (GNU texinfo) 4.8

tar:
tar (GNU tar) 1.15.1
So, as You see, Yellow marked is what is needed and Green marked is what I have ( version must be similar or bigger )
PS This script will NOT mark You anything with colors. : colors1
 
Last edited:

westkill

DW Member +
Joined
Dec 8, 2005
Messages
1,212
Likes
7
#4
just tryed this dont no what the bottom bit is all about

Code:
[email protected]:~$ cd tuxbox-cvs/cdk
[email protected]:~/tuxbox-cvs/cdk$ ./checker.sh
cvs:
Concurrent Versions System (CVS) 1.12.9 (client/server)

autoconf [>= 2.57a]:
autoconf (GNU Autoconf) 2.59

automake [>= 1.7]:
automake (GNU automake) 1.8.5

libtool [>= 1.4.2]:
ltmain.sh (GNU libtool) 1.5.22 Debian 1.5.22-2 (1.1220.2.365 2005/12/18 22:14:06)

gettext [>= 0.12.1]:
gettext (GNU gettext-runtime) 0.14.5

make [>= 3.79]:
GNU Make 3.81beta4

makeinfo:
makeinfo (GNU texinfo) 4.8

tar:
tar (GNU tar) 1.15.1

bunzip2:
bzip2, a block-sorting file compressor.  Version 1.0.3, 15-Feb-2005.

gunzip:
gunzip 1.3.5
(2002-09-30)
Copyright 2002 Free Software Foundation
Copyright 1992-1993 Jean-loup Gailly
This program comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H HAVE_MEMORY_H HAVE_STRING_H HAVE_LSTAT ASMV
Written by Jean-loup Gailly.

patch:
patch 2.5.9

infocmp:
ncurses 5.5.20051010

gcc [2.95 or >= 3.0]:
gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)

g++ [2.95 or >= 3.0]:
g++ (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)

flex:
flex 2.5.31

bison:
bison (GNU Bison) 2.1

pkg-config:
0.20

wget:
GNU Wget 1.10.2

libpng [2 or 3]:
find: /var/cache/setup-tool-backends/debug: Permission denied
find: /var/lib/gdm: Permission denied
find: /var/lib/slocate: Permission denied
find: /var/spool/cron/atjobs: Permission denied
find: /var/spool/cron/atspool: Permission denied
find: /var/spool/cron/crontabs: Permission denied
find: /var/spool/cups: Permission denied
find: /etc/cups/ssl: Permission denied
find: /etc/ssl/private: Permission denied
find: /root/.gconf: Permission denied
find: /root/.gconfd: Permission denied
find: /root/.synaptic: Permission denied
find: /root/.gnome2: Permission denied
find: /root/.gnome2_private: Permission denied

mksquashfs:
!!! Not installed !!!

monotone:
!!! Not installed !!!

svn:
!!! Not installed !!!

[email protected]:~/tuxbox-cvs/cdk$
 

ellie1998

DW Member ++
Joined
May 7, 2005
Messages
5,744
Likes
67
#5
it should say
[email protected]:~/tuxbox-cvs/cdk$
Code:
libpng [2 or 3]:
find: /var/cache/setup-tool-backends/debug: Permission denied
find: /var/lib/gdm: Permission denied
find: /var/lib/slocate: Permission denied
find: /var/spool/cron/atjobs: Permission denied
find: /var/spool/cron/atspool: Permission denied
find: /var/spool/cron/crontabs: Permission denied
find: /var/spool/cups: Permission denied
find: /etc/cups/ssl: Permission denied
find: /etc/ssl/private: Permission denied
find: /root/.gconf: Permission denied
find: /root/.gconfd: Permission denied
find: /root/.synaptic: Permission denied
find: /root/.gnome2: Permission denied
find: /root/.gnome2_private: Permission denied
if your not in as root then Permission denied is what you will get.

mksquashfs is in the cvs or will be after compiling.
monotone isn't needed for dm500 (thought it was only enigma 2 compiles ?)
svn (subversion) (is not needed).
 

fergy

Member +
Joined
Jan 11, 2007
Messages
170
Likes
3
#6
Code:
[email protected]:~$ cd tuxbox-cvs/cdk
[email protected]:~/tuxbox-cvs/cdk$ ./checker.sh
cvs:
Concurrent Versions System (CVS) 1.12.9 (client/server)

autoconf [>= 2.57a]:
autoconf (GNU Autoconf) 2.59

automake [>= 1.7]:
automake (GNU automake) 1.8.5

libtool [>= 1.4.2]:
ltmain.sh (GNU libtool) 1.5.22 Debian 1.5.22-2 (1.1220.2.365 2005/12/18 22:14:06)

gettext [>= 0.12.1]:
gettext (GNU gettext-runtime) 0.14.5

make [>= 3.79]:
GNU Make 3.81beta4

makeinfo:
makeinfo (GNU texinfo) 4.8

tar:
tar (GNU tar) 1.15.1

bunzip2:
bzip2, a block-sorting file compressor.  Version 1.0.3, 15-Feb-2005.

gunzip:
gunzip 1.3.5)
Copyright 2002 Free Software Foundation
Copyright Jean-loup Gailly
This program comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H HAVE_MEMORY_H HAVE_STRING_H HAVE_LSTAT ASMV
Written by Jean-loup Gailly.

patch:
patch 2.5.9

infocmp:
ncurses 5.5.20051010

gcc [2.95 or >= 3.0]:
gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)

g++ [2.95 or >= 3.0]:
g++ (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)

flex:
flex 2.5.31

bison:
bison (GNU Bison) 2.1

pkg-config:
0.20

wget:
GNU Wget 1.10.2

libpng [2 or 3]:
find: /var/cache/setup-tool-backends/debug: Permission denied
find: /var/lib/gdm: Permission denied
find: /var/lib/slocate: Permission denied
find: /var/spool/cron/atjobs: Permission denied
find: /var/spool/cron/atspool: Permission denied
find: /var/spool/cron/crontabs: Permission denied
find: /var/spool/cups: Permission denied
find: /etc/cups/ssl: Permission denied
find: /etc/ssl/private: Permission denied
find: /root/.gconf: Permission denied
find: /root/.gconfd: Permission denied
find: /root/.synaptic: Permission denied
find: /root/.gnome2: Permission denied
find: /root/.gnome2_private: Permission denied

mksquashfs:
!!! Not installed !!!

monotone:
!!! Not installed !!!

svn:
!!! Not installed !!!

[email protected]:~/tuxbox-cvs/cdk$
This:

Code:
libpng [2 or 3]:
find: /var/cache/setup-tool-backends/debug: [COLOR="Red"]Permission denied[/COLOR]
find: /var/lib/gdm: [COLOR="Red"]Permission denied[/COLOR]
find: /var/lib/slocate: [COLOR="Red"]Permission denied[/COLOR]
find: /var/spool/cron/atjobs: [COLOR="Red"]Permission denied[/COLOR]
find: /var/spool/cron/atspool: [COLOR="Red"]Permission denied[/COLOR]
find: /var/spool/cron/crontabs: [COLOR="Red"]Permission denied[/COLOR]
find: /var/spool/cups: [COLOR="Red"]Permission denied[/COLOR]
find: /etc/cups/ssl: [COLOR="Red"]Permission denied[/COLOR]
find: /etc/ssl/private: [COLOR="Red"]Permission denied[/COLOR]
find: /root/.gconf: [COLOR="Red"]Permission denied[/COLOR]
find: /root/.gconfd: [COLOR="Red"]Permission denied[/COLOR]
find: /root/.synaptic: [COLOR="Red"]Permission denied[/COLOR]
find: /root/.gnome2: [COLOR="Red"]Permission denied[/COLOR]
find: /root/.gnome2_private: [COLOR="Red"]Permission denied[/COLOR]
is because You was not execute command as root.

And this:

Code:
[COLOR="Yellow"]mksquashfs:[/COLOR]
!!! Not installed !!!
[COLOR="Yellow"]
monotone:[/COLOR]
!!! Not installed !!!

[COLOR="Yellow"]svn:[/COLOR]
!!! Not installed !!!
is for openembedded-bitbake systems-You will not needed for CVS ( Enigma1 )

So, please login as root ( Ubuntu users use command sudo ) and execute it again.
Cheers