View Full Version : Installazione GCC
Salve a tutti.
Chi mi aiuta ad installare GCC? La versione è la 3.4.3.
quando estraggo la tarball e da terminale faccio ./configure ecco cosa mi compare:
antonio@linux:~/gcc-3.4.3> ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
./configure: line 2332: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Grazie in anticipo :)
vacopesante
02-01-2005, 23:15
mi sa che non hai nessun compilatore installato, prova quindi con un binario : ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.1-i386/RPMS.base/gcc-3.3.3-41.i586.rpm
Ovviamente non funziona :muro:
linux:/home/antonio # ./gcc-3.3.3-41.i586.rpm
bash: ./gcc-3.3.3-41.i586.rpm: cannot execute binary file
stessa cosa se provo ad installarlo con YasT...non ho un compilatore :D
E io con che c°zz* compilo i miei file? con la zappa? :eek:
vacopesante
02-01-2005, 23:31
rpm -i *.rpm
Risultato:
antonio@linux:~> rpm -i *.rpm
warning: lol.rpm: V3 DSA signature: NOKEY, key ID 70771ff3
error: Failed dependencies:
glibc-devel is needed by gcc-3.3.3-41
python is needed by bittorrent-3.4.2-6mdk
python-base >= 2.3 is needed by bittorrent-3.4.2-6mdk
python-base is needed by bittorrent-3.4.2-6mdk
lol.rpm sarebbe il file che mi hai linkato tu...senno da terminale era troppo lungo da scrivere :D
Cmq..ti ringrazio e...a quanto pare mi mancano queste glibc -devel...o sbaglio? dove posso trovarle?
vacopesante
03-01-2005, 00:18
http://rpmfind.net/linux/RPM/
Si ma non funziona lo stesso che bello :rolleyes:
Questo se per esempio tento di compilare rp-pppoe -__-
Tra l'altro ho installato anche python...ma non è successo niente..figo eh?
Ovviamente ho installato anche glibc (che pero' risultavano già essere installate da YaST).
Boh..non so che fare...riusciro' a compilare con SuSe?
Grazie
antonio@linux:~/rp-pppoe-3.5> ./go
Running ./configure...
loading cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
Oops! It looks like ./configure failed.
EDIT: adesso che vedo...se provo ad installare l'rpm che mi hai dato con YaST mi dice ancora che mi mancano le glibc -devel...ma ho installato 3 rpm!
1. glibc-2.3.3-93.i686.rpm <=questo
2. glibc-2.3.3-98.i586.rpm <=questo
3. glibc-2.3.3-98.src.rpm <=e questo
Ce ne sono altri? :confused:
MITICO :cool: :D
Ce l'ho fatta.
Tanto per la cronaca...ho installato il seguente rpm:
glibc-devel-2.3.3-98.i586.rpm
Evvai all'una di notte finalmente sono riuscito ad installare il compilatore :D
Grazias :cool:
EDIT:
Una domanda:
Ma perchè quando tento di compilare per esempio rp-pppoe mi da errore di make alla fine?
antonio@linux:~/rp-pppoe-3.5> ./go
Running ./configure...
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/dlpi.h... (cached) no
checking for sys/ioctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for syslog.h... (cached) yes
checking for unistd.h... (cached) yes
checking for net/if_arp.h... (cached) yes
checking for netinet/if_ether.h... (cached) yes
checking for getopt.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for net/bpf.h... (cached) no
checking for netpacket/packet.h... (cached) yes
checking for net/ethernet.h... (cached) yes
checking for asm/types.h... (cached) yes
checking for linux/if_packet.h... (cached) yes
checking for linux/if_ether.h... (cached) yes
checking for linux/if_pppox.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/cdefs.h... (cached) yes
checking for linux/if.h... (cached) yes
checking for net/if.h... (cached) yes
checking for net/if_dl.h... (cached) no
checking for net/if_ether.h... (cached) no
checking for net/if_types.h... (cached) no
checking for netinet/if_ether.h... (cached) yes
checking for net/if_types.h... (cached) no
checking for net/if_dl.h... (cached) no
checking for working const... (cached) yes
checking for pid_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for echo... (cached) /bin/echo
checking for struct sockaddr_ll... yes
checking for N_HDLC line discipline... yes
checking for 8-bit clean memcmp... (cached) yes
checking whether setvbuf arguments are reversed... (cached) no
checking return type of signal handlers... (cached) void
checking for select... (cached) yes
checking for socket... (cached) yes
checking for strerror... (cached) yes
checking for strtol... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking size of unsigned short... (cached) 2
checking size of unsigned int... (cached) 4
checking size of unsigned long... (cached) 4
checking for pppd... (cached) /usr/sbin/pppd
checking for setsid... (cached) /usr/bin/setsid
checking for id... (cached) /usr/bin/id
checking for Linux 2.4.X kernel-mode PPPoE support... yes
checking packing order of bit fields... reversed
creating ./config.status
creating Makefile
creating libevent/Makefile
creating ../scripts/adsl-connect
creating ../scripts/adsl-start
creating ../scripts/adsl-stop
creating ../scripts/adsl-init
creating ../scripts/adsl-init-suse
creating ../scripts/adsl-init-turbolinux
creating ../scripts/adsl-setup
creating ../gui/Makefile
creating ../gui/tkpppoe
creating config.h
config.h is unchanged
On this platform, the following targets will be built:
pppoe pppoe-server pppoe-sniff pppoe-relay
Type 'make' to compile the software.
Running make...
./go: line 26: make: command not found
Oops! It looks like make failed.
se permetti un consiglio: dato che usi una distro basata su rpm, prova a installarti apt per rpm!
lo trovi al link che ti hanno consigliato, così dopo non muori più a scaricarti tutte le dipendenze a mano!
Apt è l'Advanced package tool dell debian portato a molte altre distro diverse, che usano magari sistemi di pacchettizzazione diversi, tipo l'rpm!
Se serve aiuto continuiamo in privato, magari|
Ciao
cmq sembra che ti manchi automake
cia
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.