Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1751 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  Une fois pour toute comment j'installe GCC sur mon système...

 


 Mot :   Pseudo :  
 
 Page :   1  2
Page Précédente
Auteur Sujet :

Une fois pour toute comment j'installe GCC sur mon système...

n°80669
Chacal2k
Utopies pendues haut et court.
Posté le 24-03-2002 à 14:37:28  profilanswer
 

C pour installer un théme... il me dit de taper ./configure... sa marche il me dite un tas de conneries et après je dois faire make... pour le compiler et là il veut pas ce connard!!! COMMENT JE FAIS???
 
MàJ : parceuqe là j'y comprend plus rien... je peux pas installer de compilateur parceque G pas de compilateur me dise certains... alors comment je fais??

 

[jfdsdjhfuetppo]--Message édité par Chacal2k--[/jfdsdjhfuetppo]


---------------
L’Homme, 4 lettres. Bientôt quelques chiffres, MERCI Jean-Marie…
mood
Publicité
Posté le 24-03-2002 à 14:37:28  profilanswer
 

n°80671
YupYup
Non.
Posté le 24-03-2002 à 14:38:44  profilanswer
 

Tu copypaste ici les 10 dernières lignes de ta compilation

n°80672
Chacal2k
Utopies pendues haut et court.
Posté le 24-03-2002 à 14:41:24  profilanswer
 

Qu'est-ce que tu veux que je te coolle???


---------------
L’Homme, 4 lettres. Bientôt quelques chiffres, MERCI Jean-Marie…
n°80676
Chacal2k
Utopies pendues haut et court.
Posté le 24-03-2002 à 14:47:44  profilanswer
 

DSL je vouis pas ce que tu veux dire mais je peux te donner les info d'install tu vas peut etre comprendre...
 
 

Citation :

Basic Installation  
==================  
 
These are generic installation instructions.  
 
The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, a file `config.cache' that saves the results of its tests to speed up reconfiguring, and a file `config.log' containing compiler output (useful mainly for debugging `configure';).  
 
If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If at some point `config.cache' contains results you don't want to keep, you may remove or edit it.  
 
The file `configure.in' is used to create `configure' by a program called `autoconf'. You only need `configure.in' if you want to change it or regenerate `configure' using a newer version of `autoconf'.  
 
The simplest way to compile this package is:  
 
1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself.  
 
Running `configure' takes a while. While running, it prints some messages telling which features it is checking for.  
 
2. Type `make' to compile the package.  
 
3. Type `make install' to install the programs and any data files and documentation.  
 
4. You can remove the program binaries and object files from the source code directory by typing `make clean'.  
 
Compilers and Options  
=====================  
 
Some systems require unusual options for compilation or linking that the `configure' script does not know about. You can give `configure' initial values for variables by setting them in the environment. Using a Bourne-compatible shell, you can do that on the command line like  
this: CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure  
 
Or on systems that have the `env' program, you can do it like this: env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure  
 
Compiling For Multiple Architectures  
====================================  
 
You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'.  
 
If you have to use a `make' that does not supports the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture.  
 
Installation Names  
==================  
 
By default, `make install' will install the package's files in `/usr/local/bin', `/usr/local/man', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PATH'.  
 
You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give `configure' the option `--exec-prefix=PATH', the package will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix.  
 
If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.  
 
Optional Features  
=================  
 
Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes.  
 
For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations.  
 
Specifying the System Type  
==========================  
 
There may be some features `configure' can not figure out automatically, but needs to determine by the type of host the package will run on. Usually `configure' can figure that out, but if it prints a message saying it can not guess the host type, give it the `--host=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name with three fields: CPU-COMPANY-SYSTEM  
 
See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the host type.  
 
If you are building compiler tools for cross-compiling, you can also use the `--target=TYPE' option to select the type of system they will produce code for and the `--build=TYPE' option to select the type of system on which you are compiling the package.  
 
Sharing Defaults  
================  
 
If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script.  
 
Operation Controls  
==================  
 
`configure' recognizes the following options to control how it operates.  
 
`--cache-file=FILE' Use and save the results of the tests in FILE instead of `./config.cache'. Set FILE to `/dev/null' to disable caching, for debugging `configure'.  
 
`--help' Print a summary of the options to `configure', and exit.  
 
`--quiet'  
`--silent'  
`-q' Do not print messages saying which checks are being made.  
 
`--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically.  
 
`--version' Print the version of Autoconf used to generate the `configure' script, and exit.  
 
`configure' also accepts some other, not widely useful, options.  
 


---------------
L’Homme, 4 lettres. Bientôt quelques chiffres, MERCI Jean-Marie…
n°80683
BlindMan
I am not Avery
Posté le 24-03-2002 à 14:55:52  profilanswer
 

Donnes nous l'erreur que te renvoies le 'make'...

n°80694
Chacal2k
Utopies pendues haut et court.
Posté le 24-03-2002 à 15:24:15  profilanswer
 

Il me dit commande not found...


---------------
L’Homme, 4 lettres. Bientôt quelques chiffres, MERCI Jean-Marie…
n°80696
BlindMan
I am not Avery
Posté le 24-03-2002 à 15:26:46  profilanswer
 

Comme le demandais YupYup, tu peux donner les 10 dernières lignes du 'make', stp
(C'est souvent parlant, il y a le message d'erreur et ce qui l'a causé...)

n°80697
Chacal2k
Utopies pendues haut et court.
Posté le 24-03-2002 à 15:31:08  profilanswer
 

quand je fais make il me dit juste command not found.. C tout mais quand je fais ./configure il me dirt à un momentcheking wethler make sets {MAKE} : NO


---------------
L’Homme, 4 lettres. Bientôt quelques chiffres, MERCI Jean-Marie…
n°80700
Chacal2k
Utopies pendues haut et court.
Posté le 24-03-2002 à 15:36:17  profilanswer
 

alors???


---------------
L’Homme, 4 lettres. Bientôt quelques chiffres, MERCI Jean-Marie…
n°80701
Chacal2k
Utopies pendues haut et court.
Posté le 24-03-2002 à 15:40:10  profilanswer
 

PLEAZE???


---------------
L’Homme, 4 lettres. Bientôt quelques chiffres, MERCI Jean-Marie…
mood
Publicité
Posté le 24-03-2002 à 15:40:10  profilanswer
 

n°80703
HappyHarry
Posté le 24-03-2002 à 15:42:53  profilanswer
 

hé ho ! c pas la peine de upper toutes les 4 minutes, les gens sont a ton service, faudrait ptet que tu t'en rendes compte !

n°80704
verdoux
And I'm still waiting
Posté le 24-03-2002 à 15:43:53  profilanswer
 

Faut que t'installes XP.

n°80705
Chacal2k
Utopies pendues haut et court.
Posté le 24-03-2002 à 15:45:08  profilanswer
 

Je vàous demande juste de m'aider... je lutte trop et je voudrai juste comprendre comment sa marche mais là je vis pas aller loin je connai pas les commandes Linux...


---------------
L’Homme, 4 lettres. Bientôt quelques chiffres, MERCI Jean-Marie…
n°80706
HappyHarry
Posté le 24-03-2002 à 15:46:04  profilanswer
 

Chacal2k a écrit a écrit :

Je vàous demande juste de m'aider... je lutte trop et je voudrai juste comprendre comment sa marche mais là je vis pas aller loin je connai pas les commandes Linux...  




 
moi j'veux bien, mais ca doit etre ton 10e topic, et 10 fois qu'on te repete de pas etre aussi impatient
 
si tu tapes 'which make' ca donne koi ?

n°80707
BlindMan
I am not Avery
Posté le 24-03-2002 à 15:46:26  profilanswer
 

Tu as installé la partie développement de ta distrib??

n°80708
BMOTheKill​er
Posté le 24-03-2002 à 15:47:57  profilanswer
 

tape : which make
 
il te répond koi ???
 
si tu as :
 
/usr/bin/which: no make in (...........)
 
ça veut dire que tu ne l'as pas donc faut l'installer, regarde avec ton gestionnaire de paquetage....
 
mais à voir tous les topics que tu as créé,je dirais : soit tu as installé ta distro comme un vrai charlot, soit reste sous win...
 
 :hello:

n°80709
Chacal2k
Utopies pendues haut et court.
Posté le 24-03-2002 à 15:48:20  profilanswer
 

Non, pourquoi???


---------------
L’Homme, 4 lettres. Bientôt quelques chiffres, MERCI Jean-Marie…
n°80710
HappyHarry
Posté le 24-03-2002 à 15:50:45  profilanswer
 

Chacal2k a écrit a écrit :

Non, pourquoi???  




 
mais comment tu veux COMPILER qqchose si tu installes pas les trucs de dev ??? mais nimp !!!

n°80711
Chacal2k
Utopies pendues haut et court.
Posté le 24-03-2002 à 15:51:38  profilanswer
 

Je croyais que CT des fonctions intégrées!!!


---------------
L’Homme, 4 lettres. Bientôt quelques chiffres, MERCI Jean-Marie…
n°80714
HappyHarry
Posté le 24-03-2002 à 15:52:50  profilanswer
 

Chacal2k a écrit a écrit :

Je croyais que CT des fonctions intégrées!!!  




 
le bon sens aussi normalement ...

n°80715
BMOTheKill​er
Posté le 24-03-2002 à 15:52:53  profilanswer
 

doit pas y avoir gcc, donc ca va être chaud.... :sarcastic:  
 
enfin bon, tu vas sur ton cd 1, tu cherches gcc et pis tu lances le rpm et tu fais installer
 
 :hello:

n°80718
BlindMan
I am not Avery
Posté le 24-03-2002 à 15:55:25  profilanswer
 

Du calme... C'est pas grâve!!
Install tout ça, et revient après...
Certains oublient rapidement que ce n'est pas évident de commencer avec Linux... :hello:

n°80719
Chacal2k
Utopies pendues haut et court.
Posté le 24-03-2002 à 15:56:24  profilanswer
 

Je fais une recherche des aquetages GCC et je les installes tous?? C ça???


---------------
L’Homme, 4 lettres. Bientôt quelques chiffres, MERCI Jean-Marie…
n°80721
HappyHarry
Posté le 24-03-2002 à 15:56:36  profilanswer
 

BlindMan a écrit a écrit :

Du calme... C'est pas grâve!!
Install tout ça, et revient après...
Certains oublient rapidement que ce n'est pas évident de commencer avec Linux... :hello:  




 
j'dis pas je me suis peut etre emporté un peu vite ... mais quand meme y a des limites ...

n°80722
HappyHarry
Posté le 24-03-2002 à 16:03:31  profilanswer
 

tu trouves le package ?

n°80734
Jar Jar
Intaigriste
Posté le 24-03-2002 à 16:25:01  profilanswer
 

Chacal2k a écrit a écrit :

Je croyais que CT des fonctions intégrées!!!


Intégrées à quoi ? À part quelques fonctions très basiques (dont cp, ls , et mv ne font même pas partie), toutes les commandes correspondent à un binaire exécutable, et donc à un paquet.


---------------
« No question is too silly to ask, but, of course, some are too silly to answer. » -- Perl book
n°80736
jojolapin
Posté le 24-03-2002 à 16:27:17  profilanswer
 

Chacal2k a écrit a écrit :

Je fais une recherche des aquetages GCC et je les installes tous?? C ça???  




 
Si tu es sous mandrake, tu tappes
urpmi gcc

n°80777
Chacal2k
Utopies pendues haut et court.
Posté le 24-03-2002 à 18:18:47  profilanswer
 

G réussi à faire un copier collé de ce quie se passe quand je fais ./configure :  
 
[alex@Serveur alex]$ cd kwinacqua_ace_0.5.7
[alex@Serveur kwinacqua_ace_0.5.7]$ ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
checking for a BSD compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
[alex@Serveur kwinacqua_ace_0.5.7]$


---------------
L’Homme, 4 lettres. Bientôt quelques chiffres, MERCI Jean-Marie…
n°80779
asphro
Posté le 24-03-2002 à 18:24:06  profilanswer
 

trouve pas ton compilateur
 
regarde ou est gcc et s il est installer gcc -v
whereis gcc
 
et a mon avis apres un --with-gcc=tonpathouestgccdevraipasser
 
si t as pas gcc cherche les rpm

n°80780
vrossi1
Posté le 24-03-2002 à 18:24:12  profilanswer
 

t'as pas de compilateur tout simplement

n°80781
BlindMan
I am not Avery
Posté le 24-03-2002 à 18:25:19  profilanswer
 

Ben vi, faut installer gcc, c'est le minimum si tu veux compiler en C :D
(Tu ne l'a pas encore installé, mais qu'est-ce que tu fiches :D)

n°80784
asphro
Posté le 24-03-2002 à 18:28:43  profilanswer
 

je pense a un truc la
si t as une redhat evite leur  gcc2.96 il pu du cul  
certain logiciel voudront pas compiler avec ce gcc
mplayer par exemple, ou si ca compile y aura des merde j en ai fais l experience pour redhat
pour mdk je sais pas faudrai que me confirme

n°80787
BMOTheKill​er
Posté le 24-03-2002 à 18:34:42  profilanswer
 

asphro a écrit a écrit :

je pense a un truc la
si t as une redhat evite leur  gcc2.96 il pu du cul  
certain logiciel voudront pas compiler avec ce gcc
mplayer par exemple, ou si ca compile y aura des merde j en ai fais l experience pour redhat
pour mdk je sais pas faudrai que me confirme  




 
ben le mieux c'est de mettre gcc2.96 et gcc3, ensuite renommer /bin/gcc en gcc2.96 et renommer gcc3 en gcc, c'est ce que j'ai fait pour parer au problème et ça marche, mplayer qui voulait pas de gcc2.96 utilise ainsi gcc3 et y a des compilations qui font appel à cc et qui ne trouve pas s'il n'y a que gcc3 d'installé... bref, le moyen-là est bien pour parer aux problèmes....
 
 :hello:

n°80789
asphro
Posté le 24-03-2002 à 18:36:59  profilanswer
 

moi j ai installer gcc3, bon j ai pas encore eu a faire a des prog qui fonctionne pas avec gcc3, sinon merci pour la ptite astuce

n°80793
Chacal2k
Utopies pendues haut et court.
Posté le 24-03-2002 à 18:45:10  profilanswer
 

où on peut le DL... parceuqe C mon PC sous Win qui a le graveur et que les iso des "CD sont sous linux...


---------------
L’Homme, 4 lettres. Bientôt quelques chiffres, MERCI Jean-Marie…
n°80804
Jar Jar
Intaigriste
Posté le 24-03-2002 à 19:14:55  profilanswer
 

Chacal2k a écrit a écrit :

où on peut le DL... parceuqe C mon PC sous Win qui a le graveur et que les iso des "CD sont sous linux...


Tu veux compiler gcc ? Avec quel compilateur ?


---------------
« No question is too silly to ask, but, of course, some are too silly to answer. » -- Perl book
n°80837
Chacal2k
Utopies pendues haut et court.
Posté le 24-03-2002 à 20:11:10  profilanswer
 

Je C pas mais à prirori G trouvé un site qui explique... je vais éssayer sa méthode juste pour voir... encore une question comment on obtien ce caractère dans la console : &


---------------
L’Homme, 4 lettres. Bientôt quelques chiffres, MERCI Jean-Marie…
n°80842
jojolapin
Posté le 24-03-2002 à 20:22:59  profilanswer
 

Quelle distrib as-tu ?

n°80867
Chacal2k
Utopies pendues haut et court.
Posté le 24-03-2002 à 21:42:01  profilanswer
 

Mandrake 8.2 avec juste le CD1... il faut que je configure SAMBA pour pouvoir graver les autres!!!


---------------
L’Homme, 4 lettres. Bientôt quelques chiffres, MERCI Jean-Marie…
n°80869
jojolapin
Posté le 24-03-2002 à 21:52:30  profilanswer
 

Gcc est sur le cd 1.
Tu ouvres une console, tu passes root (en tapant su [entrée] puis ton mot de passe root) puis tu tappes
urpmi gcc
et voilà, il va te réclamer ton cd, et installer le bidule.

mood
Publicité
Posté le   profilanswer
 

 Page :   1  2
Page Précédente

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  Une fois pour toute comment j'installe GCC sur mon système...

 

Sujets relatifs
Système Linux rapide et fiableComment on installe un .deb!!!
dsl mais g encore un pb avec wine cette fois et au boot de hlque voulez savoir sur le systeme linux ...
système de fichier sous linuxCherche cours sur GCC et les bibliotheques
[ linux ] Muzah installe !newbie installe Debian Woody
prob install rpm GCC sur RH 7.2[WINE] Je ne sais plus en ai mon installe [WINE]
Plus de sujets relatifs à : Une fois pour toute comment j'installe GCC sur mon système...


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR