[Openchrome-users] [openChrome] #73: Compilation problems

openChrome trac
Sat Sep 9 13:00:19 PDT 2006


#73: Compilation problems
-----------------------------------+----------------------------------------
Reporter:  michel.kapel at skynet.be  |        Owner:  somebody
    Type:  defect                  |       Status:  new     
Priority:  minor                   |    Component:  xdriver 
 Version:                          |   Resolution:          
Keywords:  autogen                 |  
-----------------------------------+----------------------------------------
Comment (by michel.kapel at skynet.be):

 > #73: Compilation problems
 >
 -----------------------------------+----------------------------------------
 > Reporter:  michel.kapel at skynet.be  |        Owner:  somebody
 >     Type:  defect                  |       Status:  new
 > Priority:  minor                   |    Component:  xdriver
 >  Version:                          |   Resolution:
 > Keywords:  autogen                 |
 >
 -----------------------------------+----------------------------------------
 > Comment (by benno):
 >
 >  Previous reports of this problem seem to have been caused by an old
 >  version of automake.  What does 'automake --version' say?  It should
 >  report 1.9.6.  If not, make sure you've done 'apt-get install
 >  automake1.9'.  Please report back how it goes.
 >
 >  That wiki page is a bit over the top, BTW.  What is cvs needed for?
 I've
 >  installed only automake1.9, libtool, xserver-xorg-dev, libxvmc-dev,
 >  x11proto-gl-dev and libgl1-mesa-dev, and was able to build openchrome
 on
 >  Ubuntu Dapper.
 >
 Well sorry I can't say all went well...
         Your tip was usefull though
 I discovered I was still using autogne1.4 while I had installed 1.9, just
 removed the previous version and everything went OK for autogen
         the ./autogen.sh --prefix=/usr/ did go well

         however the make delivered this

         make  all-recursive
         make[1]: entrant dans le r?pertoire
         ? /home/michel/openchrome/trunk ?
         Making all in unichrome
         make[2]: entrant dans le r?pertoire
         ? /home/michel/openchrome/trunk/unichrome ?
         if /bin/sh ../libtool --tag=CC --mode=compile gcc
         -DHAVE_CONFIG_H -I.
         -I. -I..    -DXFree86Server -DIN_MODULE -DXFree86Module
         -DXFree86LOADER
         -I/usr/include/xorg -I/usr/include/drm   -I/usr/include/drm
         -I/usr/include/X11/dri   -g -O2 -MT via_accel.lo -MD -MP -MF
         ".deps/via_accel.Tpo" -c -o via_accel.lo via_accel.c; \
                 then mv -f ".deps/via_accel.Tpo" ".deps/via_accel.Plo";
         else rm -f
         ".deps/via_accel.Tpo"; exit 1; fi
          gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE
         -DXFree86Module -DXFree86LOADER -I/usr/include/xorg
         -I/usr/include/drm
         -I/usr/include/drm -I/usr/include/X11/dri -g -O2 -MT
         via_accel.lo -MD
         -MP -MF .deps/via_accel.Tpo -c via_accel.c  -fPIC -DPIC
         -o .libs/via_accel.o
         make[2]: quittant le r?pertoire
         ? /home/michel/openchrome/trunk/unichrome ?
         make[1]: quittant le r?pertoire ? /home/michel/openchrome/trunk
         ?

         and these are the errors
         In file included from via_driver.h:73,
                          from via_accel.c:45:
         /usr/include/GL/glxint.h:28:19: error: GL/gl.h: No such file or
         directory
         In file included from via_driver.h:73,
                          from via_accel.c:45:
         /usr/include/GL/glxint.h:95: error: syntax error before
         'GLboolean'
         /usr/include/GL/glxint.h:97: error: syntax error before
         'doubleBufferMode'
         /usr/include/GL/glxint.h:98: error: syntax error before
         'stereoMode'
         /usr/include/GL/glxint.h:99: error: syntax error before
         'haveAccumBuffer'
         /usr/include/GL/glxint.h:100: error: syntax error before
         'haveDepthBuffer'
         /usr/include/GL/glxint.h:101: error: syntax error before
         'haveStencilBuffer'
         /usr/include/GL/glxint.h:104: error: syntax error before
         'accumRedBits'
         /usr/include/GL/glxint.h:105: error: syntax error before
         'depthBits'
         /usr/include/GL/glxint.h:106: error: syntax error before
         'stencilBits'
         /usr/include/GL/glxint.h:107: error: syntax error before
         'indexBits'
         /usr/include/GL/glxint.h:108: error: syntax error before
         'redBits'
         /usr/include/GL/glxint.h:109: error: syntax error before
         'redMask'
         /usr/include/GL/glxint.h:111: error: syntax error before
         'multiSampleSize'
         /usr/include/GL/glxint.h:113: error: syntax error before
         'nMultiSampleBuffers'
         /usr/include/GL/glxint.h:114: error: syntax error before
         'maxAuxBuffers'
         /usr/include/GL/glxint.h:117: error: syntax error before 'level'
         /usr/include/GL/glxint.h:120: error: syntax error before
         'extendedRange'
         /usr/include/GL/glxint.h:121: error: syntax error before
         'minRed'
         /usr/include/GL/glxint.h:122: error: syntax error before
         'minGreen'
         /usr/include/GL/glxint.h:123: error: syntax error before
         'minBlue'
         /usr/include/GL/glxint.h:124: error: syntax error before
         'minAlpha'
         /usr/include/GL/glxint.h:125: error: syntax error before '}'
         token
         make[2]: *** [via_accel.lo] Erreur 1
         make[1]: *** [all-recursive] Erreur 1
         make: *** [all] Erreur 2

         bad version of glxint.h ??? this file is part of x11proto-gl-dev
         and my
         system is using 1.4.3

         Good luck

-- 
Ticket URL: <http://www.openchrome.org/trac/ticket/73>
openChrome <http://www.openchrome.org/>
The openChrome project



More information about the Openchrome-users mailing list