Upgrading to Xorg 7.2.0

Christopher Prance lildevildude at gmail.com
Tue May 22 17:15:10 UTC 2007


On 5/22/07, Norberto Meijome <freebsd at meijome.net> wrote:
> sorry mate, dont have the asnwer.... but i'd try retrying the whole process now that libGL has been installed...often something in the spaghetti of dependencies gets fixed once you fix one little problem... it's been working for me most of the times...
>
> good luck,
> B
>
> PS - if you want, i can send you a precompiled xdriinfo package from my system... but , if I were you, i wouldn't take someone else's binary anyway ... :D
>
>
> On Tue, 22 May 2007 17:02:50 +0200
> "Christopher Prance" <lildevildude at gmail.com> wrote:
>
> > On 5/22/07, Norberto Meijome <freebsd at meijome.net> wrote:
> > > On Tue, 22 May 2007 15:40:18 +0200
> > > "Christopher Prance" < lildevildude at gmail.com> wrote:
> > >
> > > > checking pkg-config is at least version 0.9.0... yes
> > > > checking for XDRIINFO... yes
> > > > checking for library containing glXGetProcAddressARB... no
> > > > configure: error: cannot find GL library - make sure Mesa or other OpenGL
> > > > package is installed
> > > > See `config.log' for more details.
> > > > ===>  Script "configure" failed unexpectedly.
> > > > Please report the problem to x11 at FreeBSD.org [maintainer] and attach the
> > > > "/usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1/config.log" including the
> > > > output
> > > > of the failure of your make command. Also, it might be a good idea to
> > > > provide
> > > > an overview of all packages installed on your system (e.g. an `ls
> > > > /var/db/pkg`).
> > > > *** Error code 1
> > > >
> > > > Stop in /usr/ports/x11/xdriinfo.
> > > > ** Command failed [exit code 1]: /usr/bin/script -qa
> > > > /tmp/portinstall.44338.0 env make
> > > > ** Fix the problem and try again.
> > > > ** Listing the failed packages (*:skipped / !:failed)
> > > >         ! x11/xdriinfo  (configure error)
> > > > --->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
> > > > Command failed [exit code 1]: /usr/local/sbin/portinstall x11/xdriinfo
> > > >
> > > > I've tried updating the libGL, and even the Mesa, but these progams fail on
> > > > build as well.
> > >
> > > Hi Chris,
> > > Can you send the errors libGL and Mesa show? (sorry, i don't know the answer right away... but , FWIW, I had no problem installing the lot... )
> > >
> > > _________________________
> > > {Beto|Norberto|Numard} Meijome
> > >
> > > "He can compress the most words into the smallest idea of any man I know."
> > > Abraham Lincoln
> > >
> > > I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.
> > >
> >
> > I reinstalled LibGL and everything went fine, but I tried to install
> > the Mesa-Demos because it is the only mesa port I can find on my
> > system, if you know of another please let me know.  Here is the output
> > from installing the mesa-demos port...
> >
> >  ===>  Building for mesa-demos-6.5.3_1
> > gmake[1]: Entering directory
> > `/usr/ports/graphics/mesa-demos/work/Mesa-6.5.3/progs/demos'
> > cc -I../../include -fPIC -pedantic -I/usr/local/include -DUSE_XSHM
> > -DHZ=100 -O2 -fno-strict-aliasing -pipe  arbfplight.c readtex.o
> > -L/usr/local/lib -lglut -lGLU -lGL -lXext -lXmu -lXi -lX11 -lm -o
> > arbfplight
> > arbfplight.c:14:21: GL/glut.h: No such file or directory
> > arbfplight.c:17: error: syntax error before "Diffuse"
> > arbfplight.c:17: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:18: error: syntax error before "Specular"
> > arbfplight.c:18: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:19: error: syntax error before "LightPos"
> > arbfplight.c:19: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:20: error: syntax error before "Delta"
> > arbfplight.c:20: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:22: error: syntax error before "FragProg"
> > arbfplight.c:22: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:23: error: syntax error before "VertProg"
> > arbfplight.c:23: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:24: error: syntax error before "Anim"
> > arbfplight.c:24: error: `GL_TRUE' undeclared here (not in a function)
> > arbfplight.c:24: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:25: error: syntax error before "Wire"
> > arbfplight.c:25: error: `GL_FALSE' undeclared here (not in a function)
> > arbfplight.c:25: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:26: error: syntax error before "PixelLight"
> > arbfplight.c:26: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:27: error: syntax error before "Win"
> > arbfplight.c:27: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:29: error: syntax error before "T0"
> > arbfplight.c:29: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:30: error: syntax error before "Frames"
> > arbfplight.c:30: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:32: error: syntax error before "Xrot"
> > arbfplight.c:32: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:34: error: syntax error before "glProgramLocalParameter4fvARB_func"
> > arbfplight.c:34: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:35: error: syntax error before "glProgramLocalParameter4dARB_func"
> > arbfplight.c:35: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:36: error: syntax error before
> > "glGetProgramLocalParameterdvARB_func"
> > arbfplight.c:36: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:37: error: syntax error before "glGenProgramsARB_func"
> > arbfplight.c:37: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:38: error: syntax error before "glProgramStringARB_func"
> > arbfplight.c:38: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:39: error: syntax error before "glBindProgramARB_func"
> > arbfplight.c:39: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:40: error: syntax error before "glIsProgramARB_func"
> > arbfplight.c:40: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c:41: error: syntax error before "glDeleteProgramsARB_func"
> > arbfplight.c:41: error: ISO C forbids data definition with no type or
> > storage class
> > arbfplight.c: In function `Redisplay':
> > arbfplight.c:52: error: `GL_COLOR_BUFFER_BIT' undeclared (first use in
> > this function)
> > arbfplight.c:52: error: (Each undeclared identifier is reported only once
> > arbfplight.c:52: error: for each function it appears in.)
> > arbfplight.c:52: error: `GL_DEPTH_BUFFER_BIT' undeclared (first use in
> > this function)
> > arbfplight.c:55: error: `GL_FRAGMENT_PROGRAM_ARB' undeclared (first
> > use in this function)
> > arbfplight.c:56: error: called object is not a function
> > arbfplight.c:58: error: `GL_VERTEX_PROGRAM_ARB' undeclared (first use
> > in this function)
> > arbfplight.c:59: error: `GL_LIGHTING' undeclared (first use in this function)
> > arbfplight.c:62: error: `GL_LIGHT0' undeclared (first use in this function)
> > arbfplight.c:62: error: `GL_POSITION' undeclared (first use in this function)
> > arbfplight.c:79: error: syntax error before "t"
> > arbfplight.c:80: error: `t' undeclared (first use in this function)
> > arbfplight.c:81: error: syntax error before "seconds"
> > arbfplight.c:83: error: `seconds' undeclared (first use in this function)
> > arbfplight.c:83: error: `fps' undeclared (first use in this function)
> > arbfplight.c: In function `Reshape':
> > arbfplight.c:105: error: `GL_PROJECTION' undeclared (first use in this function)
> > arbfplight.c:108: error: `GL_MODELVIEW' undeclared (first use in this function)
> > arbfplight.c: In function `Key':
> > arbfplight.c:136: error: `GL_FRONT_AND_BACK' undeclared (first use in
> > this function)
> > arbfplight.c:136: error: `GL_LINE' undeclared (first use in this function)
> > arbfplight.c:138: error: `GL_FILL' undeclared (first use in this function)
> > arbfplight.c:150: error: called object is not a function
> > arbfplight.c:151: error: called object is not a function
> > arbfplight.c: In function `SpecialKey':
> > arbfplight.c:161: error: syntax error before "step"
> > arbfplight.c:165: error: `GLUT_KEY_UP' undeclared (first use in this function)
> > arbfplight.c:166: error: `step' undeclared (first use in this function)
> > arbfplight.c:168: error: `GLUT_KEY_DOWN' undeclared (first use in this function)
> > arbfplight.c:171: error: `GLUT_KEY_LEFT' undeclared (first use in this function)
> > arbfplight.c:174: error: `GLUT_KEY_RIGHT' undeclared (first use in
> > this function)
> > arbfplight.c: In function `Init':
> > arbfplight.c:196: error: syntax error before "errorPos"
> > arbfplight.c:238: warning: string length `934' is greater than the
> > length `509' ISO C89 compilers are required to support
> > arbfplight.c:264: warning: string length `729' is greater than the
> > length `509' ISO C89 compilers are required to support
> > arbfplight.c:279: error: `PFNGLPROGRAMLOCALPARAMETER4FVARBPROC'
> > undeclared (first use in this function)
> > arbfplight.c:279: error: syntax error before "glutGetProcAddress"
> > arbfplight.c:282: error: `PFNGLPROGRAMLOCALPARAMETER4DARBPROC'
> > undeclared (first use in this function)
> > arbfplight.c:282: error: syntax error before "glutGetProcAddress"
> > arbfplight.c:285: error: `PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC'
> > undeclared (first use in this function)
> > arbfplight.c:285: error: syntax error before "glutGetProcAddress"
> > arbfplight.c:288: error: `PFNGLGENPROGRAMSARBPROC' undeclared (first
> > use in this function)
> > arbfplight.c:288: error: syntax error before "glutGetProcAddress"
> > arbfplight.c:291: error: `PFNGLPROGRAMSTRINGARBPROC' undeclared (first
> > use in this function)
> > arbfplight.c:291: error: syntax error before "glutGetProcAddress"
> > arbfplight.c:294: error: `PFNGLBINDPROGRAMARBPROC' undeclared (first
> > use in this function)
> > arbfplight.c:294: error: syntax error before "glutGetProcAddress"
> > arbfplight.c:297: error: `PFNGLISPROGRAMARBPROC' undeclared (first use
> > in this function)
> > arbfplight.c:297: error: syntax error before "glutGetProcAddress"
> > arbfplight.c:300: error: `PFNGLDELETEPROGRAMSARBPROC' undeclared
> > (first use in this function)
> > arbfplight.c:300: error: syntax error before "glutGetProcAddress"
> > arbfplight.c:306: error: called object is not a function
> > arbfplight.c:308: error: `GL_FRAGMENT_PROGRAM_ARB' undeclared (first
> > use in this function)
> > arbfplight.c:308: error: called object is not a function
> > arbfplight.c:310: error: `GL_PROGRAM_FORMAT_ASCII_ARB' undeclared
> > (first use in this function)
> > arbfplight.c:312: error: syntax error before "GLubyte"
> > arbfplight.c:313: error: `GL_PROGRAM_ERROR_POSITION_ARB' undeclared
> > (first use in this function)
> > arbfplight.c:313: error: `errorPos' undeclared (first use in this function)
> > arbfplight.c:314: error: `GL_NO_ERROR' undeclared (first use in this function)
> > arbfplight.c:317: error: `GL_PROGRAM_ERROR_STRING_ARB' undeclared
> > (first use in this function)
> > arbfplight.c:320: error: called object is not a function
> > arbfplight.c:326: error: syntax error before "v"
> > arbfplight.c:328: error: called object is not a function
> > arbfplight.c:329: error: `v' undeclared (first use in this function)
> > arbfplight.c:329: error: called object is not a function
> > arbfplight.c:339: error: called object is not a function
> > arbfplight.c:341: error: `GL_VERTEX_PROGRAM_ARB' undeclared (first use
> > in this function)
> > arbfplight.c:341: error: called object is not a function
> > arbfplight.c:345: error: syntax error before "GLubyte"
> > arbfplight.c:353: error: called object is not a function
> > arbfplight.c:359: error: `GL_DEPTH_TEST' undeclared (first use in this function)
> > arbfplight.c:360: error: `GL_LIGHT0' undeclared (first use in this function)
> > arbfplight.c:361: error: `GL_LIGHTING' undeclared (first use in this function)
> > arbfplight.c:362: error: `GL_FRONT_AND_BACK' undeclared (first use in
> > this function)
> > arbfplight.c:362: error: `GL_DIFFUSE' undeclared (first use in this function)
> > arbfplight.c:363: error: `GL_SPECULAR' undeclared (first use in this function)
> > arbfplight.c:364: error: `GL_SHININESS' undeclared (first use in this function)
> > arbfplight.c:376: error: `GL_RENDERER' undeclared (first use in this function)
> > arbfplight.c: In function `main':
> > arbfplight.c:386: error: `GLUT_RGB' undeclared (first use in this function)
> > arbfplight.c:386: error: `GLUT_DOUBLE' undeclared (first use in this function)
> > arbfplight.c:386: error: `GLUT_DEPTH' undeclared (first use in this function)
> > gmake[1]: *** [arbfplight] Error 1
> > gmake[1]: Leaving directory
> > `/usr/ports/graphics/mesa-demos/work/Mesa-6.5.3/progs/demos'
> > gmake: *** [default] Error 1
> > *** Error code 2
> >
> > Stop in /usr/ports/graphics/mesa-demos.
> >
> > I can inclued the config.log file from the xdriinfo install as well if
> > that helps?
> >
> > Thanks in advance for any help
> >
> > Christopher
>
>
> _________________________
> {Beto|Norberto|Numard} Meijome
>
> "I didn't attend the funeral, but I sent a nice letter saying  I approved of it."
>  Mark Twain
>
> I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.
>

I fixed it.  I had to go back and figure which gl process it was
exactly looking for and apparently it seemed to be a gl tool.  So I
installed libglut-6.5.2_1 and that seem to fix it.  I then upgrade the
mesa-demos and then went back and install xdriinfo myself since I had
just deleted the dependency from the pkgdb -F command, which I hope
doesn't mess up anything, but we shall see.  Just wanted to pass it
along... don't know if it will help anybody or not.

Christopher


More information about the freebsd-questions mailing list