Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14627 - x11-libs/xforms-1.0_rc4-r1 fails to build
Summary: x11-libs/xforms-1.0_rc4-r1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-27 11:25 UTC by Jon Hanson
Modified: 2003-01-28 09:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Hanson 2003-01-27 11:25:34 UTC
I was attempting to emerge app-office/lyx and as part of the dependencies for
it, it requires x11-libs/xforms-1.0_rc4-r1. However, xforms generated
compilation errors:

make[1]: Entering directory
`/var/tmp/portage/xforms-1.0_rc4-r1/work/xforms-1.0RC4/gl'
rm -f glcanvas.o unshared/glcanvas.o
gcc -c    -I../exports/include            -I../lib               
-I../lib/private                -I.             -I/usr/local/include
-I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
-D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE     -DFUNCPROTO=15
-DNARROWPROTO    -DMAKING_FORMS      -DHAVE_STRERROR -march=pentium4 -O3
-fomit-frame-pointer -mmmx -msse -msse2    glcanvas.c -o unshared/glcanvas.o
glcanvas.c:47:20: GL/glx.h: No such file or directory
glcanvas.c:48:19: GL/gl.h: No such file or directory
glcanvas.c:57: parse error before "GLXContext"
glcanvas.c:57: warning: no semicolon at end of struct or union
glcanvas.c:60: parse error before '}' token
glcanvas.c:61: warning: data definition has no type or storage class
glcanvas.c:69: conflicting declarations of `glconfig'
glcanvas.c:59: `glconfig' previously declared here
glcanvas.c:69: warning: `glconfig' was declared `extern' and later `static'
glcanvas.c:71: `GLX_RGBA' undeclared here (not in a function)
glcanvas.c:71: initializer element is not constant
glcanvas.c:71: (near initialization for `glconfig[0]')
glcanvas.c:71: `GLX_DEPTH_SIZE' undeclared here (not in a function)
glcanvas.c:71: initializer element is not constant
glcanvas.c:71: (near initialization for `glconfig[1]')
glcanvas.c:72: `GLX_RED_SIZE' undeclared here (not in a function)
glcanvas.c:72: initializer element is not constant
glcanvas.c:72: (near initialization for `glconfig[3]')
glcanvas.c:72: `GLX_GREEN_SIZE' undeclared here (not in a function)
glcanvas.c:72: initializer element is not constant
glcanvas.c:72: (near initialization for `glconfig[5]')
glcanvas.c:72: `GLX_BLUE_SIZE' undeclared here (not in a function)
glcanvas.c:72: initializer element is not constant
glcanvas.c:72: (near initialization for `glconfig[7]')
glcanvas.c:73: `GLX_DOUBLEBUFFER' undeclared here (not in a function)
glcanvas.c:73: initializer element is not constant
glcanvas.c:73: (near initialization for `glconfig[9]')
glcanvas.c: In function `fl_add_glcanvas':
glcanvas.c:90: warning: initialization makes pointer from integer without a cast
glcanvas.c: In function `fl_set_glcanvas_attributes':
glcanvas.c:115: parse error before ')' token
glcanvas.c: In function `fl_get_glcanvas_attributes':
glcanvas.c:127: parse error before ')' token
glcanvas.c: In function `fl_set_glcanvas_direct':
glcanvas.c:133: parse error before ')' token
glcanvas.c:135: parse error before ')' token
glcanvas.c:135: `GL_TRUE' undeclared (first use in this function)
glcanvas.c:135: (Each undeclared identifier is reported only once
glcanvas.c:135: for each function it appears in.)
glcanvas.c:135: `GL_FALSE' undeclared (first use in this function)
glcanvas.c: At top level:
glcanvas.c:145: parse error before "fl_get_glcanvas_context"
glcanvas.c: In function `fl_get_glcanvas_context':
glcanvas.c:147: parse error before ')' token
glcanvas.c: In function `fl_get_glcanvas_xvisualinfo':
glcanvas.c:153: parse error before ')' token
glcanvas.c: At top level:
glcanvas.c:167: warning: type mismatch with previous implicit declaration
glcanvas.c:90: warning: previous implicit declaration of `fl_create_glcanvas'
glcanvas.c:167: warning: `fl_create_glcanvas' was previously implicitly declared
to return `int'
glcanvas.c: In function `fl_create_glcanvas':
glcanvas.c:175: parse error before ')' token
glcanvas.c:176: parse error before ')' token
glcanvas.c:176: `GL_TRUE' undeclared (first use in this function)
glcanvas.c: In function `glx_init':
glcanvas.c:186: `GLXContext' undeclared (first use in this function)
glcanvas.c:186: parse error before "context"
glcanvas.c:195: parse error before ')' token
glcanvas.c:195: warning: assignment makes pointer from integer without a cast
glcanvas.c:207: `context' undeclared (first use in this function)
glcanvas.c:207: parse error before ')' token
glcanvas.c:219: parse error before ')' token
glcanvas.c:220: parse error before ')' token
glcanvas.c: In function `glx_activate':
glcanvas.c:230: parse error before ')' token
glcanvas.c: In function `glx_cleanup':
glcanvas.c:241: parse error before ')' token
glcanvas.c:243: parse error before ')' token
glcanvas.c:244: parse error before ')' token
glcanvas.c:245: parse error before ')' token
glcanvas.c:246: parse error before ')' token
glcanvas.c: At top level:
glcanvas.c:267: parse error before "GLXContext"
glcanvas.c: In function `fl_glwincreate':
glcanvas.c:278: `config' undeclared (first use in this function)
glcanvas.c:278: warning: assignment makes pointer from integer without a cast
glcanvas.c:281: `context' undeclared (first use in this function)
glcanvas.c:281: `GL_TRUE' undeclared (first use in this function)
glcanvas.c:291: `w' undeclared (first use in this function)
glcanvas.c:291: `h' undeclared (first use in this function)
glcanvas.c: At top level:
glcanvas.c:301: parse error before "GLXContext"
glcanvas.c: In function `fl_glwinopen':
glcanvas.c:304: `config' undeclared (first use in this function)
glcanvas.c:304: `context' undeclared (first use in this function)
glcanvas.c:304: `w' undeclared (first use in this function)
glcanvas.c:304: `h' undeclared (first use in this function)
make[1]: *** [glcanvas.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/xforms-1.0_rc4-r1/work/xforms-1.0RC4/gl'
make: *** [all] Error 2

!!! ERROR: x11-libs/xforms-1.0_rc4-r1 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! (no error message)
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-01-28 01:38:30 UTC
try this: opengl-update xfree

then try again, please
Comment 2 Jon Hanson 2003-01-28 09:50:48 UTC
The "opengl-update xfree" solution worked. Thank you.