Bonjour à tous,
Voila, je me suis lancé dans la compilation d'ipcop ! pour y ajouter des programmes qui me parraissent indispensable. Par ex : ntop
Je suis sous Mandrake 10, j'ai donc recuperé ipcop-1.4.0beta3.tar.gz
lorsque je fait un ./make.sh build ,
il me recupere "sed", puis :
[root@mdk ipcop-1.4.0b3]# ./make.sh clean
avr 4 16:31:33: Machine is ix86 (or equivalent)
[root@mdk ipcop-1.4.0b3]# ./make.sh build
avr 4 16:31:36: Machine is ix86 (or equivalent)
avr 4 16:31:36: Resetting our nice level to 10
avr 4 16:31:36: Checking if we're running as root user
avr 4 16:31:36: Checking for necessary space on disk
avr 4 16:31:36: Building Linux From Scratch system
Apr 4 16:31:36: Building sed LFS_PASS=1
ERROR: Building sed LFS_PASS=1
Check /mnt/data/Builds/ipcop-1.4.0b3/log/ipcop.log for errors if applicable
/ipcop.log : --->
avr 4 16:31:36: Resetting our nice level to 10
avr 4 16:31:36: Checking if we're running as root user
avr 4 16:31:36: Checking for necessary space on disk
avr 4 16:31:36: Building Linux From Scratch system
Apr 4 16:31:36: Building sed LFS_PASS=1
====================================== Installing sed-4.0.7 ...
cd /mnt/data/Builds/ipcop-1.4.0b3/build/usr/src/sed-4.0.7 && LDFLAGS="-static" ./configure --prefix=/tools --disable-nls
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables <-- [C'est embétant ! ]
check `config.log' for details.
make: *** [/mnt/data/Builds/ipcop-1.4.0b3/log/sed-4.0.7-tools1] Error 77
Et dans les logs de /build/usr/src/sed
gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
configure:1989: $? = 0
configure:1991: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1994: $? = 1
configure:2014: checking for C compiler default output
configure:2017: gcc -O2 -mcpu=i386 -march=i386 -pipe -fomit-frame-pointer -static conftest.c >&5
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
configure:2020: $? = 1
configure: failed program was:
#line 1997 "configure"
#include "confdefs.h"
Heuu, et la je fais quoi ?
Il me manque un programme ?
Je compile pourtant pas mal de chose en ce moment, donc ma config semble correcte.
Si vous avez besoin de + données pour m'aider, n'hesitez pas.
Merci
Guillaume