|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Nov 2003
Città: Pordenone - Tarvisio
Messaggi: 2451
|
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: Codice:
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.
__________________
Me? The Chosen One? They chose me, and i didn't even graduate from fuckin' high school Wind FTTE Vula 100/20 - Stats Retelit / Valcanale 20Mbit/2Mbit // Wind 100/20+Wind4G con EdgerouterX |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Nov 1999
Città: Avellino
Messaggi: 244
|
mi sa che non hai nessun compilatore installato, prova quindi con un binario : ftp://ftp.gwdg.de/pub/linux/suse/apt....3-41.i586.rpm
|
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Nov 2003
Città: Pordenone - Tarvisio
Messaggi: 2451
|
Ovviamente non funziona
Codice:
linux:/home/antonio # ./gcc-3.3.3-41.i586.rpm bash: ./gcc-3.3.3-41.i586.rpm: cannot execute binary file E io con che c°zz* compilo i miei file? con la zappa?
__________________
Me? The Chosen One? They chose me, and i didn't even graduate from fuckin' high school Wind FTTE Vula 100/20 - Stats Retelit / Valcanale 20Mbit/2Mbit // Wind 100/20+Wind4G con EdgerouterX |
|
|
|
|
|
#4 |
|
Senior Member
Iscritto dal: Nov 1999
Città: Avellino
Messaggi: 244
|
rpm -i *.rpm
|
|
|
|
|
|
#5 |
|
Senior Member
Iscritto dal: Nov 2003
Città: Pordenone - Tarvisio
Messaggi: 2451
|
Risultato:
Codice:
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
Cmq..ti ringrazio e...a quanto pare mi mancano queste glibc -devel...o sbaglio? dove posso trovarle?
__________________
Me? The Chosen One? They chose me, and i didn't even graduate from fuckin' high school Wind FTTE Vula 100/20 - Stats Retelit / Valcanale 20Mbit/2Mbit // Wind 100/20+Wind4G con EdgerouterX |
|
|
|
|
|
#6 |
|
Senior Member
Iscritto dal: Nov 1999
Città: Avellino
Messaggi: 244
|
|
|
|
|
|
|
#7 |
|
Senior Member
Iscritto dal: Nov 2003
Città: Pordenone - Tarvisio
Messaggi: 2451
|
Si ma non funziona lo stesso che bello
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 Codice:
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. 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?
__________________
Me? The Chosen One? They chose me, and i didn't even graduate from fuckin' high school Wind FTTE Vula 100/20 - Stats Retelit / Valcanale 20Mbit/2Mbit // Wind 100/20+Wind4G con EdgerouterX Ultima modifica di -Yara- : 03-01-2005 alle 00:48. |
|
|
|
|
|
#8 |
|
Senior Member
Iscritto dal: Nov 2003
Città: Pordenone - Tarvisio
Messaggi: 2451
|
MITICO
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 Grazias EDIT: Una domanda: Ma perchè quando tento di compilare per esempio rp-pppoe mi da errore di make alla fine? Codice:
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.
__________________
Me? The Chosen One? They chose me, and i didn't even graduate from fuckin' high school Wind FTTE Vula 100/20 - Stats Retelit / Valcanale 20Mbit/2Mbit // Wind 100/20+Wind4G con EdgerouterX Ultima modifica di -Yara- : 03-01-2005 alle 01:01. |
|
|
|
|
|
#9 |
|
Senior Member
Iscritto dal: Apr 2003
Messaggi: 375
|
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
__________________
- UoVoBW - GNU/Linux registered User # 364578 Debian Sid - kernel 2.6.23.1 - FluxBox http://uovobw.homelinux.org/ |
|
|
|
|
|
#10 |
|
Senior Member
Iscritto dal: Jun 2003
Città: Genova
Messaggi: 5676
|
cmq sembra che ti manchi automake
cia |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 22:33.



















