ubar

Forum dédié à la distribution du même nom et que vous pourrez télécharger sur http://www.contribs.org. La nouvelle version de cette distribution se nomme SME Server

Modérateur: modos Ixus

ubar

Messagepar mside » 29 Avr 2004 13:58

sa a l'aire excelent sa calcule upload en affichant sur votre site une barre de consomation

http://www.kernel.org/pub/software/web/bwbar/

voila j'essaye de l'installé mais j'y arrive pas il me retourne sa comme message lorsque que tape :

./configure
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.


dans le config.log il y a ecris sa :

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.57. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = server
uname -m = i686
uname -r = 2.4.18-5
uname -s = Linux
uname -v = #1 Mon Jun 10 15:31:48 EDT 2002

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1260: checking for gcc
configure:1289: result: no
configure:1340: checking for cc
configure:1369: result: no
configure:1382: checking for cc
configure:1428: result: no
configure:1481: checking for cl
configure:1510: result: no
configure:1524: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=

## ----------------- ##
## Output variables. ##
## ----------------- ##

CC=''
CFLAGS=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
SHELL='/bin/sh'
ac_ct_CC=''
ac_ct_RANLIB=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""

configure: exit 1



voila si quelqu'un pouvai m'aide :oops:
mside
Lieutenant de vaisseau
Lieutenant de vaisseau
 
Messages: 202
Inscrit le: 12 Fév 2003 01:00
Localisation: Ile de la Réunion

Messagepar Muzo » 29 Avr 2004 14:03

Salut,

as-tu installé un compilateur C (gcc au hasard) sur ta SME?
/Muzo
"La vie n'est pas un combat, mais une passion à défendre!" MASS HYSTERIA - Knowledge is power
Avatar de l’utilisateur
Muzo
Amiral
Amiral
 
Messages: 5236
Inscrit le: 07 Mai 2003 00:00
Localisation: BNF! Je me culturise.

Messagepar mside » 29 Avr 2004 14:06

ha ben non :)

il y en a un pour sme ?
mside
Lieutenant de vaisseau
Lieutenant de vaisseau
 
Messages: 202
Inscrit le: 12 Fév 2003 01:00
Localisation: Ile de la Réunion

Messagepar Muzo » 29 Avr 2004 14:08

Non. car les rares virus Linux sont basé sur l'éxécution du compilateur :)
Et puis un compilatur sur un serveur/firewal c pô sérieux.

Vas faire un tour sur contribs.org pour avoir plus d'info sur les compilateurs à installer.
/Muzo
"La vie n'est pas un combat, mais une passion à défendre!" MASS HYSTERIA - Knowledge is power
Avatar de l’utilisateur
Muzo
Amiral
Amiral
 
Messages: 5236
Inscrit le: 07 Mai 2003 00:00
Localisation: BNF! Je me culturise.

Messagepar mside » 29 Avr 2004 14:09

ha ok merci pour ton aide plus rapide que la lumiere 8)
mside
Lieutenant de vaisseau
Lieutenant de vaisseau
 
Messages: 202
Inscrit le: 12 Fév 2003 01:00
Localisation: Ile de la Réunion

Messagepar Muzo » 29 Avr 2004 14:16

recherche un truc nommé devtools.

Attentions ils existent pour sme 5.6 et 6.0, et ce ne sont aps les même version de logiciels.
/Muzo
"La vie n'est pas un combat, mais une passion à défendre!" MASS HYSTERIA - Knowledge is power
Avatar de l’utilisateur
Muzo
Amiral
Amiral
 
Messages: 5236
Inscrit le: 07 Mai 2003 00:00
Localisation: BNF! Je me culturise.

Messagepar MasterSleepy » 29 Avr 2004 16:13

Salut,

bonne trouvaille mside.

J'ai réussi à le compiler si ça t'interresse je te l'envoie par mail.

A+
"Microsoft fera quelque chose qui ne plantera jamais quand ils commenceront à fabriquer des clous "
http://www.vanhees.cc
Avatar de l’utilisateur
MasterSleepy
Amiral
Amiral
 
Messages: 2625
Inscrit le: 24 Juil 2002 00:00
Localisation: Belgique

Messagepar olga » 29 Avr 2004 17:17

je crois que ca en interesse d'autre aussi :lol:

ca a l'air d'etre bien non ?
Olga des bois ...
Avatar de l’utilisateur
olga
Premier-Maître
Premier-Maître
 
Messages: 66
Inscrit le: 10 Nov 2003 01:00

Messagepar MasterSleepy » 29 Avr 2004 17:27

Voilà ce que je vais faire.

Je vais faire un mini rpm, avec un script de démarrage.
La configue sera à faire à la main mais ce sera déjà ça.

Si j'ai le temps je prépare ça samedi matin.

A+
"Microsoft fera quelque chose qui ne plantera jamais quand ils commenceront à fabriquer des clous "
http://www.vanhees.cc
Avatar de l’utilisateur
MasterSleepy
Amiral
Amiral
 
Messages: 2625
Inscrit le: 24 Juil 2002 00:00
Localisation: Belgique

Messagepar olga » 29 Avr 2004 17:58

ha voila des bonnes idees ...
t'as raison il faut nous laisser un peut travailler ... faut pas habituer les gens a recevoir un travail tout fait ... 8)

... enfin les autres .... :D
Olga des bois ...
Avatar de l’utilisateur
olga
Premier-Maître
Premier-Maître
 
Messages: 66
Inscrit le: 10 Nov 2003 01:00

Messagepar Sebastien65 » 29 Avr 2004 18:28

Slt,

lool :lol:

Oui bais on va dire que C tiptop parceque moi j'ai voulu l'installé mais il m'a sorti des erreurs :shock:
En plus j'ai du installer les devtools mais peut être que je n'ai pas tous ce qu'il faut comme librarie :roll:

Sinon merci d'avance a MasterSleepy :wink:
Avatar de l’utilisateur
Sebastien65
Vice-Amiral
Vice-Amiral
 
Messages: 799
Inscrit le: 26 Avr 2003 00:00

Messagepar mside » 30 Avr 2004 00:46

moi aussi j'ai installé devtools ( connextion plus lente que vous sa ma pris un peu de temps :x )

quand je fais

Code: Tout sélectionner
./configure


sa fonctionne mais quand je passe a l'etape suivante

Code: Tout sélectionner
make


il me met :

Code: Tout sélectionner
gcc -g -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Winline -Wshadow -Wcast-align -pipe  -o bwbar bwbar.c
In file included from /usr/include/errno.h:36,
                 from bwbar.c:24:
/usr/include/bits/errno.h:25:26: linux/errno.h: Aucun fichier ou répertoire de ce type
bwbar.c:32:17: png.h: Aucun fichier ou répertoire de ce type
bwbar.c: In function `write_bar_graph':
bwbar.c:44: syntax error before `palette'
bwbar.c:46: warning: control reaches end of non-void function
bwbar.c: At top level:
bwbar.c:56: parse error before `png_ptr'
bwbar.c:56: warning: type defaults to `int' in declaration of `png_ptr'
bwbar.c:56: warning: initialization makes integer from pointer without a cast
bwbar.c:56: warning: data definition has no type or storage class
bwbar.c:57: parse error before `info_ptr'
bwbar.c:57: warning: type defaults to `int' in declaration of `info_ptr'
bwbar.c:57: warning: initialization makes integer from pointer without a cast
bwbar.c:57: warning: data definition has no type or storage class
bwbar.c:58: parse error before `*'
bwbar.c:58: warning: type defaults to `int' in declaration of `border_row'
bwbar.c:58: warning: data definition has no type or storage class
bwbar.c:59: parse error before `*'
bwbar.c:59: warning: type defaults to `int' in declaration of `bar_row'
bwbar.c:59: warning: data definition has no type or storage class
bwbar.c:60: parse error before `*'
bwbar.c:60: warning: type defaults to `int' in declaration of `bp'
bwbar.c:60: warning: data definition has no type or storage class
bwbar.c:63: warning: type defaults to `int' in declaration of `bwidth'
bwbar.c:63: `width' undeclared here (not in a function)
bwbar.c:63: `border' undeclared here (not in a function)
bwbar.c:63: warning: data definition has no type or storage class
bwbar.c:64: warning: type defaults to `int' in declaration of `bheight'
bwbar.c:64: `height' undeclared here (not in a function)
bwbar.c:64: `border' undeclared here (not in a function)
bwbar.c:64: warning: data definition has no type or storage class
bwbar.c:66: warning: type defaults to `int' in declaration of `border_row'
bwbar.c:66: conflicting types for `border_row'
bwbar.c:58: previous declaration of `border_row'
bwbar.c:66: `png_byte' undeclared here (not in a function)
bwbar.c:66: warning: initialization makes integer from pointer without a cast
bwbar.c:66: initializer element is not constant
bwbar.c:66: warning: data definition has no type or storage class
bwbar.c:67: warning: type defaults to `int' in declaration of `bar_row'
bwbar.c:67: conflicting types for `bar_row'
bwbar.c:59: previous declaration of `bar_row'
bwbar.c:67: `png_byte' undeclared here (not in a function)
bwbar.c:67: warning: initialization makes integer from pointer without a cast
bwbar.c:67: initializer element is not constant
bwbar.c:67: warning: data definition has no type or storage class
bwbar.c:69: parse error before `if'
bwbar.c:72: warning: type defaults to `int' in declaration of `png_ptr'
bwbar.c:72: redefinition of `png_ptr'
bwbar.c:56: `png_ptr' previously defined here
bwbar.c:72: warning: implicit declaration of function `png_create_write_struct'
bwbar.c:72: `PNG_LIBPNG_VER_STRING' undeclared here (not in a function)
bwbar.c:73: initializer element is not constant
bwbar.c:73: warning: data definition has no type or storage class
bwbar.c:75: parse error before `if'
bwbar.c:78: warning: type defaults to `int' in declaration of `info_ptr'
bwbar.c:78: redefinition of `info_ptr'
bwbar.c:57: `info_ptr' previously defined here
bwbar.c:78: warning: implicit declaration of function `png_create_info_struct'
bwbar.c:78: initializer element is not constant
bwbar.c:78: warning: data definition has no type or storage class
bwbar.c:79: parse error before `if'
bwbar.c:87: warning: type defaults to `int' in declaration of `png_init_io'
bwbar.c:87: warning: parameter names (without types) in function declaration
bwbar.c:87: warning: data definition has no type or storage class
bwbar.c:89: warning: type defaults to `int' in declaration of `png_set_compression_level'
bwbar.c:89: warning: parameter names (without types) in function declaration
bwbar.c:89: warning: data definition has no type or storage class
bwbar.c:92: parse error before `2'
bwbar.c:94: warning: type defaults to `int' in declaration of `png_set_IHDR'
bwbar.c:94: warning: function declaration isn't a prototype
bwbar.c:94: warning: data definition has no type or storage class
bwbar.c:96: parse error before `4'
bwbar.c:96: warning: type defaults to `int' in declaration of `png_set_PLTE'
bwbar.c:96: warning: function declaration isn't a prototype
bwbar.c:96: warning: data definition has no type or storage class
bwbar.c:98: warning: type defaults to `int' in declaration of `png_write_info'
bwbar.c:98: warning: parameter names (without types) in function declaration
bwbar.c:98: warning: data definition has no type or storage class
bwbar.c:100: warning: type defaults to `int' in declaration of `png_set_packing'
bwbar.c:100: warning: parameter names (without types) in function declaration
bwbar.c:100: warning: data definition has no type or storage class
bwbar.c:105: parse error before `__extension__'
bwbar.c:105: parse error before `__uint8_t'
bwbar.c:105: warning: type defaults to `int' in declaration of `__s'
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: parse error before `}'
bwbar.c:105: warning: initialization makes pointer from integer without a cast
bwbar.c:105: initializer element is not constant
bwbar.c:105: parse error before `switch'
bwbar.c:105: warning: type defaults to `int' in declaration of `__u'
bwbar.c:105: conflicting types for `__u'
bwbar.c:105: previous declaration of `__u'
bwbar.c:105: warning: initialization makes integer from pointer without a cast
bwbar.c:105: initializer element is not constant
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: parse error before `case'
bwbar.c:105: warning: type defaults to `int' in declaration of `__u'
bwbar.c:105: redefinition of `__u'
bwbar.c:105: `__u' previously defined here
bwbar.c:105: warning: initialization makes integer from pointer without a cast
bwbar.c:105: initializer element is not constant
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: parse error before `case'
bwbar.c:105: warning: type defaults to `int' in declaration of `__u'
bwbar.c:105: redefinition of `__u'
bwbar.c:105: `__u' previously defined here
bwbar.c:105: warning: initialization makes integer from pointer without a cast
bwbar.c:105: initializer element is not constant
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: parse error before `case'
bwbar.c:105: warning: type defaults to `int' in declaration of `__u'
bwbar.c:105: redefinition of `__u'
bwbar.c:105: `__u' previously defined here
bwbar.c:105: warning: initialization makes integer from pointer without a cast
bwbar.c:105: initializer element is not constant
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: parse error before `->'
bwbar.c:105: warning: type defaults to `int' in declaration of `__u'
bwbar.c:105: redefinition of `__u'
bwbar.c:105: `__u' previously defined here
bwbar.c:105: warning: initialization makes integer from pointer without a cast
bwbar.c:105: initializer element is not constant
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: parse error before `case'
bwbar.c:105: warning: type defaults to `int' in declaration of `__u'
bwbar.c:105: redefinition of `__u'
bwbar.c:105: `__u' previously defined here
bwbar.c:105: warning: initialization makes integer from pointer without a cast
bwbar.c:105: initializer element is not constant
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: parse error before `case'
bwbar.c:105: warning: type defaults to `int' in declaration of `__u'
bwbar.c:105: redefinition of `__u'
bwbar.c:105: `__u' previously defined here
bwbar.c:105: warning: initialization makes integer from pointer without a cast
bwbar.c:105: initializer element is not constant
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: parse error before `case'
bwbar.c:105: warning: type defaults to `int' in declaration of `__u'
bwbar.c:105: redefinition of `__u'
bwbar.c:105: `__u' previously defined here
bwbar.c:105: warning: initialization makes integer from pointer without a cast
bwbar.c:105: initializer element is not constant
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: parse error before `case'
bwbar.c:105: warning: type defaults to `int' in declaration of `__u'
bwbar.c:105: redefinition of `__u'
bwbar.c:105: `__u' previously defined here
bwbar.c:105: warning: initialization makes integer from pointer without a cast
bwbar.c:105: initializer element is not constant
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: parse error before `case'
bwbar.c:105: warning: type defaults to `int' in declaration of `__u'
bwbar.c:105: redefinition of `__u'
bwbar.c:105: `__u' previously defined here
bwbar.c:105: warning: initialization makes integer from pointer without a cast
bwbar.c:105: initializer element is not constant
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: parse error before `case'
bwbar.c:105: warning: type defaults to `int' in declaration of `__u'
bwbar.c:105: redefinition of `__u'
bwbar.c:105: `__u' previously defined here
bwbar.c:105: warning: initialization makes integer from pointer without a cast
bwbar.c:105: initializer element is not constant
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: parse error before `case'
bwbar.c:105: warning: type defaults to `int' in declaration of `__u'
bwbar.c:105: redefinition of `__u'
bwbar.c:105: `__u' previously defined here
bwbar.c:105: warning: initialization makes integer from pointer without a cast
bwbar.c:105: initializer element is not constant
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: parse error before `case'
bwbar.c:105: warning: type defaults to `int' in declaration of `__u'
bwbar.c:105: redefinition of `__u'
bwbar.c:105: `__u' previously defined here
bwbar.c:105: warning: initialization makes integer from pointer without a cast
bwbar.c:105: initializer element is not constant
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: parse error before `case'
bwbar.c:105: warning: type defaults to `int' in declaration of `__s'
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: parse error before `}'
bwbar.c:105: parse error before character constant
bwbar.c:105: warning: type defaults to `int' in declaration of `__builtin_memset'
bwbar.c:105: warning: function declaration isn't a prototype
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: warning: type defaults to `int' in declaration of `__s'
bwbar.c:105: warning: data definition has no type or storage class
bwbar.c:105: parse error before `}'
bwbar.c:108: warning: type defaults to `int' in declaration of `bp'
bwbar.c:108: conflicting types for `bp'
bwbar.c:60: previous declaration of `bp'
bwbar.c:108: initializer element is not constant
bwbar.c:108: warning: data definition has no type or storage class
bwbar.c:109: parse error before `for'
bwbar.c:112: warning: type defaults to `int' in declaration of `spacer'
bwbar.c:112: warning: data definition has no type or storage class
bwbar.c:113: parse error before `for'
bwbar.c:115: warning: type defaults to `int' in declaration of `fspacer'
bwbar.c:115: `spacers' undeclared here (not in a function)
bwbar.c:115: warning: data definition has no type or storage class
bwbar.c:116: parse error before `if'
bwbar.c:123: parse error before `++'
bwbar.c:124: warning: type defaults to `int' in declaration of `spacer'
bwbar.c:124: redefinition of `spacer'
bwbar.c:112: `spacer' previously defined here
bwbar.c:124: initializer element is not constant
bwbar.c:124: warning: data definition has no type or storage class
bwbar.c:125: parse error before `}'
bwbar.c:139: warning: type defaults to `int' in declaration of `png_write_end'
bwbar.c:139: warning: parameter names (without types) in function declaration
bwbar.c:139: warning: data definition has no type or storage class
bwbar.c:140: warning: type defaults to `int' in declaration of `status'
bwbar.c:140: redefinition of `status'
bwbar.c:61: `status' previously defined here
bwbar.c:140: warning: data definition has no type or storage class
bwbar.c:142: parse error before `:'
make: *** [bwbar] Erreur 1



sa a pas l'aire de fonctionné :D

je ve bien ce que tu me propose MasterSleepy :lol:

sinon oui c claire sa a l'aire trop excelent !!!!
mside
Lieutenant de vaisseau
Lieutenant de vaisseau
 
Messages: 202
Inscrit le: 12 Fév 2003 01:00
Localisation: Ile de la Réunion

Messagepar ldidier » 30 Avr 2004 01:19

bonsoir, il dit au début de la compil le fichier manquant, il suffit de lire.

soit des droits inaproprié, compil lancer en tant que user et pas root, ou regarder dans le fichier de créer par make probléme de chemin.
Rien de grand ne c'est accompli dans le monde sans passion.
A.ENGEL
Avatar de l’utilisateur
ldidier
Enseigne de vaisseau
Enseigne de vaisseau
 
Messages: 175
Inscrit le: 05 Fév 2002 01:00
Localisation: Mulhouse

Messagepar MasterSleepy » 30 Avr 2004 09:44

Voilà pour une fois je suis en avance :wink:

Vous pourrez trouver le RPM ICI

Il n'y a pas de doc, il suffit de modifier le fichier /etc/init.d/bwbar pour correspondre à vos besoin.

A+
"Microsoft fera quelque chose qui ne plantera jamais quand ils commenceront à fabriquer des clous "
http://www.vanhees.cc
Avatar de l’utilisateur
MasterSleepy
Amiral
Amiral
 
Messages: 2625
Inscrit le: 24 Juil 2002 00:00
Localisation: Belgique

Messagepar Sebastien65 » 30 Avr 2004 13:14

Salut,

Merci pour le RPM ;)

Donc moi l'install C OK et la config aussi...

Par contre quand je lance le service bwbar j'ai un message mais je ne comprend pas ce qu'il veut dire :

[root@serveur root]# service bwbar start
Starting bwbar:
[root@serveur root]# nohup: appending output to `nohup.out'

[root@serveur root]#


Voila C normal ??

Par contre pour l'arrêt ça marche :

[root@serveur root]# service bwbar stop
Stopping bwbar: [ OK ]
[root@serveur root]#


:roll:
Avatar de l’utilisateur
Sebastien65
Vice-Amiral
Vice-Amiral
 
Messages: 799
Inscrit le: 26 Avr 2003 00:00

Suivant

Retour vers E-Smith / SME Server

Qui est en ligne ?

Utilisateur(s) parcourant actuellement ce forum : Aucun utilisateur inscrit et 1 invité

cron