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

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Débats

  [XFree]Un Howto detaillé sur la compilation ? - Pb de compilation

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[XFree]Un Howto detaillé sur la compilation ? - Pb de compilation

n°118715
HuGoBioS
Posté le 29-06-2002 à 00:43:58  profilanswer
 

J'ai cherché sur google, et j'ai rien trouvé
et a part le Hint de la LFS, j'ai rien trouvé de concluant suir  la compilation de Xfree 4.20 (le parametrage de host.def entre autres!)
 
donc si qqn avait ca sous al main !
merci !
 
+


Message édité par HuGoBioS le 15-07-2002 à 15:45:37

---------------
-= In Kik00 101 I trust :o =-
mood
Publicité
Posté le 29-06-2002 à 00:43:58  profilanswer
 

n°118724
Dark_Schne​ider
Close the World, Open the Net
Posté le 29-06-2002 à 01:26:09  profilanswer
 

normalment "make world" suffit
 
http://xfree86.org/4.2.0/Install.html


Message édité par Dark_Schneider le 29-06-2002 à 01:27:50

---------------
Mandriva : parce que nous le valons bien ! http://linux-wizard.net/index.php
n°118738
apolon34
Vive Linux!!
Posté le 29-06-2002 à 02:32:50  profilanswer
 

Dark_Schneider a écrit a écrit :

normalment "make world" suffit
 
http://xfree86.org/4.2.0/Install.html




 
c'est make World et il vaut mieux editer le xc/config/cf/xf86site.def avant de lancer la compilation brutale
 
si tu veux de l'aide sur la config hugobios, demandes moi!

n°118776
HuGoBioS
Posté le 29-06-2002 à 09:59:24  profilanswer
 

apolon34 a écrit a écrit :

 
 
c'est make World et il vaut mieux editer le xc/config/cf/xf86site.def avant de lancer la compilation brutale
 
si tu veux de l'aide sur la config hugobios, demandes moi!



Ds : merci, ca je le sais deja !
Apolon : oui, c'est exactement ca que je cherchais ! Quels sont les parametres exactes a mettre et que modifier pour optimisr au mieux la ocmpilation !
 
au fait, X se compile-t-il (et de facon stable) avec gcc3.0 ?


---------------
-= In Kik00 101 I trust :o =-
n°118803
apolon34
Vive Linux!!
Posté le 29-06-2002 à 13:40:58  profilanswer
 

HuGoBioS a écrit a écrit :

Ds : merci, ca je le sais deja !
Apolon : oui, c'est exactement ca que je cherchais ! Quels sont les parametres exactes a mettre et que modifier pour optimisr au mieux la ocmpilation !
 
au fait, X se compile-t-il (et de facon stable) avec gcc3.0 ?




 
le mien est compile avec gcc 3.1 mais ca devrait tres bien passer sous gcc 3
 
un extrait de ma config(drivers nvidia !!)
 
/*
 * If using GCC 2.x on a system where it isn't the default, uncomment
 * the following
 */
#define HasGcc2  YES
#define HasGcc  YES
 
 
/*
 * If using GCC 2.x with C++ on a system where it isn't the default, uncomment
 * the following.
 */
#define HasGcc2ForCplusplus YES
 
 
/*
 * The default optimisation flags for GCC 2.x.  -fno-strength-reduce is
 * here to work around a bug in -O2 for GCC 2.x on i386 platforms.
 * If you are using a version that doesn't have this bug, you can
 * uncomment the following line, and remove '-fno-strength-reduce'
 * If you are building binaries for a 486, it may be beneficial to add
 * -m486
 */
#define DefaultGcc2i386Opt -march=athlon -mcpu=athlon -ffast-math -O6 -DNDEBUG
 
/*
 * If you want to use the GNU malloc library, uncomment this
 */
#define UseGnuMalloc  YES
 
 
/*
 * Set this to whatever is required to access the GNU malloc library.
 * The default is '-lgmalloc' unless is specified in the OS's .cf file.
 */
#define GnuMallocLibrary
 
 
/*
 * To enable the internal Xserver malloc, uncomment this
 *
#define UseInternalMalloc YES
 */
 
/*
 * Some Linux releases don't have a libtermcap.  In this case you may need
 * to uncomment the following
 */
#define TermcapLibrary  -lncurses
 
/*
 * To disable building the Xnest server, uncomment this.
 */
#define XnestServer  NO
 
 
/*
 * To disable building Xvfb, uncomment this.
 */
#define XVirtualFramebufferServer NO
 
/*
 * To disable building Xprt, uncomment this.
 */
#define XprtServer NO
 
 
/*
 * Set the default server (ie the one that gets the sym-link to "X" )
 *
#define ServerToInstall  XFree86
 */
 
 
/*
 * Server configuration parameters.  The defaults are shown here:
 */
 
/*
 * Which drivers to build.  When building a static server, each of these
 * will be included in it.  When building the loadable server each of these
 * modules will be built.
 */
#define XF86CardDrivers
 
/*
 * To disable use of the Matrox HAL library, uncomment this:
 */
#define UseMatroxHal  NO
 
/*
 * Build XAA.  This can be disabled with:
 *
#define XF86XAA   NO
 */
 
/*
 * Build vgahw.  This can be disabled with:
 *
#define XF86VgaHw  NO
 */
 
/*
 * Build xf1bpp.  This can be disabled with:
 */
#define XF1Bpp   NO
 
 
/*
 * Build xf4bpp.  This can be disabled with:
 */
#define XF4Bpp   NO
 
 
/*
 * To link the X server with a dynamic version of the Xfont library,
 * uncomment this.
 */
#define XserverStaticFontLib NO
 
 
/*
 * To disable building the font server, uncomment this.
 */
#define BuildFontServer  NO
 
/*
 * To disable support for Speedo fonts, uncomment this.
 *
#define BuildSpeedo  NO
 */
 
/*
 * To disable support for Type1 fonts, uncomment this.
 *
#define BuildType1  NO
 */
 
/*
 * To disable support for CID fonts, uncomment this.
 *
#define BuildCID  NO
 */
 
/*
 * To disable support for TrueType fonts, uncomment these.
 *
#define BuildFreeType  NO
#define BuildXTrueType  NO
 */
 
/*
 * To enable binary compatibility with previous versions of the font
 * encoding support, uncomment this.
 *
#define FontencCompatibility    YES
 */
 
/*
 * Do you want to Build Fonts (Usually you only want to build and install
 * fonts once, if this is a first time install you will want to build the
 * fonts)
 *
#define BuildFonts  NO
 */
 
/*
 * To not build/install the 75dpi fonts, uncomment the following
 *
#define Build75DpiFonts  NO
 */
 
/*
 * To not build/install the 100dpi fonts, uncomment the following
 *
#define Build100DpiFonts NO
 */
 
/*
 * To not build/install the Speedo fonts, uncomment the following
 *
#define BuildSpeedoFonts NO
 */
 
/*
 * To not build/install the Type1 fonts, uncomment the following
 *
#define BuildType1Fonts  NO
 */
 
/*
 * To not build/install the CID fonts, uncomment the following
 *
#define BuildCIDFonts  NO
 */
 
/*
 * To not build/install the True Type fonts, uncomment the following
 *
#define BuildTrueTypeFonts NO
 */
 
/*
 * To not build/install the Cyrillic fonts, uncomment the following
 *
#define BuildCyrillicFonts NO
 */
 
/*
 * To not build/install the Latin2 fonts, uncomment the following
 *
#define BuildLatin2Fonts NO
 */
 
/*
 * To not install the local font directory, uncomment the following
 *
#define MakeLocalFontDir NO
 */
 
/*
 * To build only the servers with a cut-down source tree, uncomment
 * this.
 *
#define BuildServersOnly YES
 */
 
/*
 * To disable building XInput support, uncomment this
 *
#define BuildXInputExt  NO
 */
 
/*
 * Select the XInput devices you want by uncommenting this.
 */
#define XInputDrivers  mouse
 
/*
 * Uncomment this for joystick support.
 *
 * Note: Joystick support is only included for Linux and FreeBSD at the
 * moment.  For Linux it requires the Joystick module to be installed (it
 * isn't part of the standard kernel distribution).  For FreeBSD, a kernel
 * will need to be built with the Joystick driver in order to be able to
 * use this.
 *
#define JoystickSupport YES
 */
 
/*
 * To disable the ScreenSaver Extension, uncomment this line.
 *
#define BuildScreenSaverExt NO
 */
 
/*
 * If you don't want to build PEX, uncomment this.
 */
#define BuildPexExt  NO
 
 
/*
 * If you don't want to build Xinerama support, uncomment this.
 *
#define BuildXinerama  NO
 */
 
/*
 * If you don't want to build support for an external GLX server module or
 * library, uncomment this.
 */
#define BuildGlxExt             NO
 
/*
 * If you want to build support for the old dlopen style external GLX
 * server module or library, uncomment this.
 *
#define GlxStubLib              YES
 */
 
/*
 * If you aren't building with support for loadable modules and wish
 * to statically link external GLX server libs instead of the default
 * non-functional stub library, uncomment the following define and
 * specify the space-seperated pathnames of those libraries here.
 *
#define GlxStaticServerLib /full/path/name/to/glx/servGL/libServerGlx.a \
    /full/path/name/to/glx/servGL/libMesaGlx.a
 */
 
/*
 * If you don't want to build XIE, uncomment this.
 */
#define BuildXIE  NO
 
 
/*
 * If you want to build only the DIS (Document Imaging Subset of XIE)
 * uncomment this line.  This option is only relevant when XIE is built.
 *
#define BuildDIS  YES
 */
 
/*
 * If you don't want to build the xf86rush extension, uncomment this line.
 */
#define BuildXF86RushExt NO
 
 
/*
 * If you don't want to build the client library for the xf86rush extension,
 * uncomment this line.
 */
#define BuildXF86RushLibrary NO
 
 
/*
 * For a POSIXized build on Interactive uncomment this
 * Could be used with gcc 'till Version 2.6.3
 * Should be used with gcc 2.7.2.
 */
#define UsePosix  YES
 
 
/*
 * If you want XDMAUTH support (if you have Wraphelp.c), uncomment this.
 *
#define HasXdmAuth  YES
 */
/*
 * To use ELF format shared libraries for supported OSs, uncomment this.
 *
 * For Linux the default setting of this is the same as the setting of
 * LinuxElfDefault.
 *
 * For FreeBSD this should automatically be set correctly by imake.  Only
 * change it here if you need to override the automatic setting.
 */
#define UseElfFormat  YES
 
/*
 * To disable building some document formats, uncomment some of these.
 */
#define BuildLinuxDocText NO
#define BuildLinuxDocHtml NO
#define BuildLinuxDocPS  NO
 
voila!!
un make World, make install et ca rulezz!!!
 
ps: oublie pas de creer /usr/X11R6/lib/modules/drivers apres, sinon les drv nvidia vont foirer a l'install
 
et recuperes ceux de nvidia.com, pas nvidia.fr ils sont pas a jour les cons.
 
voila, pour d'autres questions hesites pas

n°118824
HuGoBioS
Posté le 29-06-2002 à 14:43:14  profilanswer
 

oky merci bcp !
il n'y a pas un autre fichié a modifier pr parametrer le rep d'install (entre autres) ?
 
sinon, ca tombe bien que ce soit pr Nvidia ;-)
 
dans XinpuDrivers il faut pas mettre void en plus de mouse ?


---------------
-= In Kik00 101 I trust :o =-
n°118850
apolon34
Vive Linux!!
Posté le 29-06-2002 à 16:30:52  profilanswer
 

pour l'emplacement, rien a rajouter.
 
pour les drivers, tu peux rajouter void mais ca marche aussi sans.

n°118862
NounouRs
Non parce que c pas mon pied !
Posté le 29-06-2002 à 17:17:44  profilanswer
 

Les binaires, ils servent a qui alors ??????
C pas plus propre de prendre les binaires ????

n°118863
apolon34
Vive Linux!!
Posté le 29-06-2002 à 17:18:56  profilanswer
 

bah si c'est pour prendre des binaires, ca sert a rien de faire une lfs.
 
l'avantage c'est que X est super-optimise et exempt de tous les drivers/options que tu n'utilises pas!

n°118865
HuGoBioS
Posté le 29-06-2002 à 17:34:50  profilanswer
 

NounouRs a écrit a écrit :

Les binaires, ils servent a qui alors ??????
C pas plus propre de prendre les binaires ????



c'est pas une LFS que j'ai moi!
juste une Sid, et j'aime po XFree 4.1 ! et j'aime pas quand c'est pas optimisé !
en fait j'ai une sid et je me sert pas de apt ! je tarball a mort lol ! mais sans l'adsl c le bordel donc je peux pas me faire une VRAIE Lfs :cry:


---------------
-= In Kik00 101 I trust :o =-
mood
Publicité
Posté le 29-06-2002 à 17:34:50  profilanswer
 

n°118867
apolon34
Vive Linux!!
Posté le 29-06-2002 à 17:44:03  profilanswer
 

effectivement c'est dommage. Une bonne lfs, ca le fait !!

n°118916
HuGoBioS
Posté le 29-06-2002 à 21:54:18  profilanswer
 

apolon34 a écrit a écrit :

effectivement c'est dommage. Une bonne lfs, ca le fait !!



bah ouias c'est sur, mais sans l'adsl, il me faudrait une bonen ame qui me fasse des CDs avec plein de sources d'applis !


---------------
-= In Kik00 101 I trust :o =-
n°118918
apolon34
Vive Linux!!
Posté le 29-06-2002 à 22:05:38  profilanswer
 

t'as pas un pote qui peut te faire ca?
 
si tu veux, je peux te faire la liste de ce que tu auras besoin

n°118934
HuGoBioS
Posté le 29-06-2002 à 23:50:06  profilanswer
 

apolon34 a écrit a écrit :

t'as pas un pote qui peut te faire ca?
 
si tu veux, je peux te faire la liste de ce que tu auras besoin



je dois pouvoir trouver mais c'est chaud, me spotes sont pas fana d'ordi en fait !
 
mais si tu peux me faire une liste avec tous le necessaire pour avoir une distri fonctionnelle @99.99% en Os de base (et laisser Xp moisir dans son coin!) ca pourrait bien m'aider,oui, merci !
 


---------------
-= In Kik00 101 I trust :o =-
n°118945
apolon34
Vive Linux!!
Posté le 30-06-2002 à 00:06:52  profilanswer
 

ok
 
vu que je suis en train de changer la mienne, je te garde la liste des packages au chaud.

n°118946
HuGoBioS
Posté le 30-06-2002 à 00:08:44  profilanswer
 

:love: merci bcp !
 


---------------
-= In Kik00 101 I trust :o =-
n°125367
HuGoBioS
Posté le 15-07-2002 à 12:39:40  profilanswer
 

bon, comme j'ai aps encore pu me faire d/l les trarball pr me faire uen LFS, j'ai remis ma Sid!
J'ai donc recompilé X comme il se doti, avec les aprams donnés par Apolon (cf plus haut). La compialtion passait pas ave gcc2.95 (refus des param -march=athlon -mcpu=athlon) j'ai donc compilé avec gcc-3.0 et là ca a marché sans pb. (je parles du make World)
Ji'a apres fait un make install et là :/ ca marche po :cry:
 
j'ai ca :
 

Code :
  1. rm -f arc.o unshared/arc.o
  2. c++ -c   -I../nurbtess  -I../../libutil  -I../../include  -I../../../../include  -I../../../../include/GL -I../../../.. -I../../../../exports/include  -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE    -D_EXTENSIONS_  -DLIBRARYBUILD  -DNDEBUG  -march=athlon -mcpu=athlon -ffast-math -O6 -DNDEBUG   arc.cc -o unshared/arc.o
  3. cc1plus: bad value (athlon) for -march= switch
  4. cc1plus: bad value (athlon) for -mcpu= switch
  5. make[4]: Leaving directory `/X/xc/lib/GLU/libnurbs/internals'
  6. make[3]: Leaving directory `/X/xc/lib/GLU'
  7. make[2]: Leaving directory `/X/xc/lib'
  8. make[1]: Leaving directory `/X/xc'


 
apparement ca serait une mauvaise version de c++ ? je capte pas trop là :/ si qqn pouvait m'eclairer !  
 
merci :hello:


---------------
-= In Kik00 101 I trust :o =-
n°125445
HuGoBioS
Posté le 15-07-2002 à 15:46:19  profilanswer
 

aidez moi a abandonner windows ! allé ! svp :cry:


---------------
-= In Kik00 101 I trust :o =-
n°125582
HuGoBioS
Posté le 15-07-2002 à 22:07:09  profilanswer
 
n°125623
apolon34
Vive Linux!!
Posté le 16-07-2002 à 01:07:32  profilanswer
 

HuGoBioS a écrit a écrit :

bon, comme j'ai aps encore pu me faire d/l les trarball pr me faire uen LFS, j'ai remis ma Sid!
J'ai donc recompilé X comme il se doti, avec les aprams donnés par Apolon (cf plus haut). La compialtion passait pas ave gcc2.95 (refus des param -march=athlon -mcpu=athlon) j'ai donc compilé avec gcc-3.0 et là ca a marché sans pb. (je parles du make World)
Ji'a apres fait un make install et là :/ ca marche po :cry:
 
j'ai ca :
 

Code :
  1. rm -f arc.o unshared/arc.o
  2. c++ -c   -I../nurbtess  -I../../libutil  -I../../include  -I../../../../include  -I../../../../include/GL -I../../../.. -I../../../../exports/include  -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE    -D_EXTENSIONS_  -DLIBRARYBUILD  -DNDEBUG  -march=athlon -mcpu=athlon -ffast-math -O6 -DNDEBUG   arc.cc -o unshared/arc.o
  3. cc1plus: bad value (athlon) for -march= switch
  4. cc1plus: bad value (athlon) for -mcpu= switch
  5. make[4]: Leaving directory `/X/xc/lib/GLU/libnurbs/internals'
  6. make[3]: Leaving directory `/X/xc/lib/GLU'
  7. make[2]: Leaving directory `/X/xc/lib'
  8. make[1]: Leaving directory `/X/xc'


 
apparement ca serait une mauvaise version de c++ ? je capte pas trop là :/ si qqn pouvait m'eclairer !  
 
merci :hello:
 




 
je parie que tu te traines un gcc 2.95 ?
 
je t'ai file les optimisations sur 3.1

n°125684
HuGoBioS
Posté le 16-07-2002 à 12:21:25  profilanswer
 

apolon34 a écrit a écrit :

 
 
je parie que tu te traines un gcc 2.95 ?
 
je t'ai file les optimisations sur 3.1



t'as pas tort mais t'as pas tout lu je l'ai precisé plus haut !
La compil est passé avec un gcc3 mais pas l'install ! je fais quoi je vire gcc2.95 complétement ?


---------------
-= In Kik00 101 I trust :o =-
n°125919
apolon34
Vive Linux!!
Posté le 16-07-2002 à 22:09:39  profilanswer
 

HuGoBioS a écrit a écrit :

t'as pas tort mais t'as pas tout lu je l'ai precisé plus haut !
La compil est passé avec un gcc3 mais pas l'install ! je fais quoi je vire gcc2.95 complétement ?




 
en effet j'ai lu trop vite
 
je pense qu'il te reste un morceau de gcc2.95 quelque part et que c'est lui qui est utilise a l'install, va savoir pourquoi !
 
et preferes le 3.1 au 3.0


Message édité par apolon34 le 16-07-2002 à 22:10:03
n°125956
HuGoBioS
Posté le 17-07-2002 à 01:14:42  profilanswer
 

apolon34 a écrit a écrit :

 
 
en effet j'ai lu trop vite
 
je pense qu'il te reste un morceau de gcc2.95 quelque part et que c'est lui qui est utilise a l'install, va savoir pourquoi !
 
et preferes le 3.1 au 3.0



okey, je vais essayer de recup le 3.1 alors
de tout faocn c'est pas une install definitive, c'est juste le tps que qqn me D/l le spackages pr ma future LFS


---------------
-= In Kik00 101 I trust :o =-
mood
Publicité
Posté le   profilanswer
 


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

  [XFree]Un Howto detaillé sur la compilation ? - Pb de compilation

 

Sujets relatifs
après compilation de la dernière version de openssh sous redhat 7.2[Newbie total] problème de XFree le retour de la vengeance
Xfree 4 : No screens found !xfree probleme bizarre
[J'en ai marre] Pb de compilation de GTK-1.0.3[XFree] impossible de changer la resolution
Compilation Apache...xfree en 768*576
pb de compilation du mod_perl[XFREE 4] pb 1600x1200 apres lecture Howto et posts HFR PB RESOLU
Plus de sujets relatifs à : [XFree]Un Howto detaillé sur la compilation ? - Pb de compilation


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