3d game for fedora

Michael Wiktowy michael.wiktowy at gmail.com
Thu Oct 18 04:42:37 UTC 2007


On 10/18/07, Peter Gordon <peter at thecodergeek.com> wrote:
> Looks like missing OpenGL headers. A `yum install mesa-libGL-devel` as root
> should (hopefully) solve that issue.

It died again with a shorter message:

ref_gl/r_image.c:22:20: error: GL/glu.h: No such file or directory
ref_gl/r_image.c: In function 'GL_InitImages':
ref_gl/r_image.c:1691: warning: passing argument 2 of 'FS_LoadFile'
from incompatible pointer type
make[1]: *** [release/ref_gl/r_image.o] Error 1
make[1]: Leaving directory `/home/mwiktowy/Download/alienarena2007/source'
make: *** [build-release] Error 2

So I yum install mesa-libGLU-devel and got a new set of errors:

ref_gl/r_main.c: In function 'R_DrawEntitiesOnList':
ref_gl/r_main.c:543: warning: assignment from incompatible pointer type
ref_gl/r_main.c:595: warning: assignment from incompatible pointer type
ref_gl/r_main.c: In function 'R_Init':
ref_gl/r_main.c:1828: warning: assignment from incompatible pointer type
cc -Dstricmp=strcasecmp -D_stricmp=strcasecmp -I/usr/X11R6/include
-fno-strict-aliasing -fmerge-constants -DHAVE_CURL -O2
-fomit-frame-pointer -ftree-vectorize -fexpensive-optimizations
-march=i686 -fPIC -o release/ref_gl/r_mesh.o -c ref_gl/r_mesh.c
ref_gl/r_mesh.c: In function 'R_DrawAliasModel':
ref_gl/r_mesh.c:1003: warning: assignment from incompatible pointer type
cc -Dstricmp=strcasecmp -D_stricmp=strcasecmp -I/usr/X11R6/include
-fno-strict-aliasing -fmerge-constants -DHAVE_CURL -O2
-fomit-frame-pointer -ftree-vectorize -fexpensive-optimizations
-march=i686 -fPIC -o release/ref_gl/r_misc.o -c ref_gl/r_misc.c
ref_gl/r_misc.c:30:21: error: jpeglib.h: No such file or directory
ref_gl/r_misc.c: In function 'GL_ScreenShot_JPEG':
ref_gl/r_misc.c:244: error: storage size of 'cinfo' isn't known
ref_gl/r_misc.c:245: error: storage size of 'jerr' isn't known
ref_gl/r_misc.c:247: error: 'JSAMPROW' undeclared (first use in this function)
ref_gl/r_misc.c:247: error: (Each undeclared identifier is reported only once
ref_gl/r_misc.c:247: error: for each function it appears in.)
ref_gl/r_misc.c:247: error: expected ';' before 's'
ref_gl/r_misc.c:303: error: 'JCS_RGB' undeclared (first use in this function)
ref_gl/r_misc.c:310: error: 'TRUE' undeclared (first use in this function)
ref_gl/r_misc.c:319: error: 's' undeclared (first use in this function)
make[1]: *** [release/ref_gl/r_misc.o] Error 1
make[1]: Leaving directory `/home/mwiktowy/Download/alienarena2007/source'
make: *** [build-release] Error 2
[mwiktowy at localhost source]$

ugg ... this is worse than the rpm dependency hell that yum was
introduced to fix. I would guess that whatever gives me jpeglib.h
would bring me one step furhter but both "repoquery --whatprovides
jpeglib.h" and "yum search jpeglib" give nothing

... but a "repoquery --whatprovides *jpeglib*" was a bit more
revealing and mentioned libjpeg-devel (among others)

But this could go on and on so I give up for now since I need sleep
more than I need to kill aliens :]

/Mike




More information about the fedora-list mailing list