Probleme installation berkeley 3.3.11

BONJOUR À TOUS,
j’ESSAIE DE CRÉER UN SERVEUR PROXY AVEC SQUID ET SQUIDGUARD.
POUR CE QUI EST DE L’INSTALLATION SQUID TOUT VA BIEN.
j’ESSAIE D’INSTALLER BERKELEY-DB 3.3.11

par les commandes suivantes:
#tar -zxvf db-3.3.11.tar.gz
#cd db-3.3.11/build_unix/
#…/dist/configure && make

lors de l’execution de la derniere commande, j’ai ce message:

asl-proxy:/home/fab/db-3.3.11/build_unix# …/dist/configure && make
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking if building in the top-level directory… no
checking if --enable-compat185 option specified… no
checking if --enable-cxx option specified… no
checking if --enable-debug option specified… no
checking if --enable-debug_rop option specified… no
checking if --enable-debug_wop option specified… no
checking if --enable-diagnostic option specified… no
checking if --enable-dump185 option specified… no
checking if --enable-java option specified… no
checking if --enable-posixmutexes option specified… no
checking if --enable-rpc option specified… no
checking if --enable-tcl option specified… no
checking if --enable-test option specified… no
checking if --enable-uimutexes option specified… no
checking if --enable-umrw option specified… no
checking if --with-embedix=DIR option specified… no
checking if --with-rpm=DIR option specified… no
checking if --with-tcl=DIR option specified… no
checking if --with-uniquename=NAME option specified… no
checking for ar… ar
checking for chmod… chmod
checking for cp… cp
checking for ln… ln
checking for mkdir… mkdir
checking for ranlib… ranlib
checking for ranlib… /usr/bin/ranlib
checking for rm… rm
checking for sh… sh
checking for sh… /bin/sh
checking for strip… strip
checking for strip… /usr/bin/strip
checking for a BSD compatible install… /usr/bin/install -c
checking for cc… no
checking for gcc… no
checking for gcc… no
checking for cc… no
checking for cc… no
checking for cl… no
configure: error: no acceptable cc found in $PATH
asl-proxy:/home/fab/db-3.3.11/build_unix#

auriez vous une idée, car la je suis bloqué.
Je precise que je debute sous linux. Mes notions sont trés limitée pour l’instant

merci à tous

petite precision, j’utilise squid 2.6, squidguard 1.2

Ne crie pas si fort, on ne t’entendra pas plus.
(titre en minuscules)

Merci de ne pas crier inutilement. Ecrire en majuscules revient à CRIER.

Il ne manquerait pas un compilateur C, par exemple gcc ?

Pourquoi ne pas installer tout ça avec les paquets Debian précompilés correspondants ?

Désolé, j’ignore pour les majuscules.
Tu sais , je ne suis lancé dans ce projet, sans aucun connaissance sous linux.
Je suis des tutos à droite à gauche.

Je viens d’installé le compileur cc, maintenant j’ai ce message:

asl-proxy:/home/fab/db-3.3.11/build_unix# …/dist/configure && make
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking if building in the top-level directory… no
checking if --enable-compat185 option specified… no
checking if --enable-cxx option specified… no
checking if --enable-debug option specified… no
checking if --enable-debug_rop option specified… no
checking if --enable-debug_wop option specified… no
checking if --enable-diagnostic option specified… no
checking if --enable-dump185 option specified… no
checking if --enable-java option specified… no
checking if --enable-posixmutexes option specified… no
checking if --enable-rpc option specified… no
checking if --enable-tcl option specified… no
checking if --enable-test option specified… no
checking if --enable-uimutexes option specified… no
checking if --enable-umrw option specified… no
checking if --with-embedix=DIR option specified… no
checking if --with-rpm=DIR option specified… no
checking if --with-tcl=DIR option specified… no
checking if --with-uniquename=NAME option specified… no
checking for ar… ar
checking for chmod… chmod
checking for cp… cp
checking for ln… ln
checking for mkdir… mkdir
checking for ranlib… ranlib
checking for ranlib… /usr/bin/ranlib
checking for rm… rm
checking for sh… sh
checking for sh… /bin/sh
checking for strip… strip
checking for strip… /usr/bin/strip
checking for a BSD compatible install… /usr/bin/install -c
checking for cc… cc
checking for gcc… (cached) cc
checking for gcc… (cached) cc
checking for C compiler default output… configure: error: C compiler cannot create executables

tu ne dis d’installer le paquages debian, j’utilise apt-get install squid squidguard.
pour Berkeley db , je ne trouve pas.
sur les tuto, cette procédure est indiquée.

Pour info, j’ai installé Debian en chargeant la version le plus lite, pensez vous qu’il me manque encore de paquet style cc.

merci

[quote=“supportism”]Je viens d’installé le compileur cc, maintenant j’ai ce message:
checking for C compiler default output… configure: error: C compiler cannot create executables[/quote]
Le paquet binutils est bien installé ?
Tu as installé quel compilateur C, et comment ? Le paquet gcc de Debian devrait installer tout ce qu’il faut.

Bien, et qu’est-ce que ça donne ?
Note que soit tu installes squid et squidguard avec apt-get, soit tu les compiles à partir des sources, mais pas les deux.

Voir dans les paquets libdb, mais le paquet squidgard dépend de libdb4.3 donc ce dernier devrait être installé automatiquement en même temps par apt-get.

oui le paquet binutils est bien installé, ainsi que gcc.
J’ai aussi le paquet libdb4.2 d’installé. j’ai le libdb3.29 qui figure dans la liste.
J’ai lu que le 4.2 n’est pas compatible avec squidguard 1.2, penses tu qu’il faille que j’installe les 2
ou faut il que je supprime le 4.2.
je commence ( voir c’est déja le cas )à ne plus rien comprendre.

grand merci

# apt-get install module-assistant
# m-a prepare

Après tu recommences, ta compilation …

salut

je ne sais pas trop ce qui tu viens de me faire faire
ça a bossé un moment, et j’ai cela maintenant:
asl-proxy:/home/fab/db-3.3.11/build_unix# …/dist/configure && make
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking if building in the top-level directory… no
checking if --enable-compat185 option specified… no
checking if --enable-cxx option specified… no
checking if --enable-debug option specified… no
checking if --enable-debug_rop option specified… no
checking if --enable-debug_wop option specified… no
checking if --enable-diagnostic option specified… no
checking if --enable-dump185 option specified… no
checking if --enable-java option specified… no
checking if --enable-posixmutexes option specified… no
checking if --enable-rpc option specified… no
checking if --enable-tcl option specified… no
checking if --enable-test option specified… no
checking if --enable-uimutexes option specified… no
checking if --enable-umrw option specified… no
checking if --with-embedix=DIR option specified… no
checking if --with-rpm=DIR option specified… no
checking if --with-tcl=DIR option specified… no
checking if --with-uniquename=NAME option specified… no
checking for ar… ar
checking for chmod… chmod
checking for cp… cp
checking for ln… ln
checking for mkdir… mkdir
checking for ranlib… ranlib
checking for ranlib… /usr/bin/ranlib
checking for rm… rm
checking for sh… sh
checking for sh… /bin/sh
checking for strip… strip
checking for strip… /usr/bin/strip
checking for a BSD compatible install… /usr/bin/install -c
checking for cc… cc
checking for gcc… (cached) cc
checking for gcc… (cached) cc
checking for C compiler default output… a.out
checking whether the C compiler works… yes
checking whether we are cross compiling… no
checking for executable suffix…
checking for object suffix… o
checking whether we are using the GNU C compiler… yes
checking whether cc accepts -g… yes
checking for gcc 2.96 for-loop bug… no
checking for ld used by GCC… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking for /usr/bin/ld option to reload object files… -r
checking for BSD-compatible nm… /usr/bin/nm -B
checking whether ln -s works… yes
checking how to recognise dependant libraries… pass_all
checking command to parse /usr/bin/nm -B output… ok
checking how to run the C preprocessor… cc -E
checking for dlfcn.h… yes
checking for ranlib… ranlib
checking for strip… strip
checking for objdir… .libs
checking for cc option to produce PIC… -fPIC
checking if cc PIC flag -fPIC works… yes
checking if cc static flag -static works… yes
checking if cc supports -c -o file.o… yes
checking if cc supports -c -o file.lo…
checking if cc supports -fno-rtti -fno-exceptions… yes
checking whether the linker (/usr/bin/ld) supports shared libraries… yes
checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… yes
checking dynamic linker characteristics… GNU/Linux ld.so
checking if libtool supports shared libraries… yes
checking whether -lc should be explicitly linked in… no
creating libtool
…/dist/configure: line 13666: syntax error near unexpected token (' ../dist/configure: line 13666: case (ac_space=' '; set | grep ac_space) 2> &1 in’
asl-proxy:/home/fab/db-3.3.11/build_unix# make install
make: *** Pas de règle pour fabriquer la cible « install ». Arrêt.

encore merci

ya un problème dans les sources …

[quote=“supportism”]oui le paquet binutils est bien installé, ainsi que gcc.
J’ai aussi le paquet libdb4.2 d’installé. j’ai le libdb3.29 qui figure dans la liste.
J’ai lu que le 4.2 n’est pas compatible avec squidguard 1.2, penses tu qu’il faille que j’installe les 2
ou faut il que je supprime le 4.2.[/quote]
Les différentes versions de libdb peuvent cohabiter. Le paquet squidguard 1.2 de Debian etch dépend du paquet libdb4.3. Tu n’as pas répondu à ma question, qu’a donné l’installation de squid et squidguard avec la commande

PS : je serais curieux de savoir comment module-assistant a pu aider à la compilation d’applications, que je sache ce n’est pas son rôle.

la commande m-a prepare est encore plus complète que build-essential …

Mais que fait cette commande exactement ? Je croyais que m-a servait à compiler des modules du noyau externes, pas des applications.

non, “m-a prepare” ne fait que “préparer” ton environnement pour faire face aux compilations de tout ordre …