On Fri, Jun 26, 2009 at 8:24 AM, Alan McKinnon<[email protected]> wrote:
> On Friday 26 June 2009 17:16:26 Mark Knecht wrote:
>> Hi,
>> As part of emerge @world mesa isn't building. It complains (I
>> think) about a missing GL/glxproto.h file.
>>
>> Anyone know where this file is supposed to come from?
>
> x11-proto/glproto
>
> a...@nazgul ~/.ssh $ locate glxproto.h
> /usr/lib64/opengl/xorg-x11/include/glxproto.h
> /usr/include/GL/glxproto.h
> a...@nazgul ~/.ssh $ equery belongs /usr/lib64/opengl/xorg-
> x11/include/glxproto.h
> * Searching for /usr/lib64/opengl/xorg-x11/include/glxproto.h ...
> x11-proto/glproto-1.4.10 (/usr/lib64/opengl/xorg-x11/include/glxproto.h)
>
>
> (The second file in the locate output is a symlink to the first)
>
> --
> alan dot mckinnon at gmail dot com
>
>
Interesting. Thanks guys.
so is this a mistake in the ebuild? Why isn't it picking it up automatically?
I seemed to already have the package installed:
myth12 ~ # emerge -pv -1 glproto
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-proto/glproto-1.4.9 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
myth12 ~ #
Looks like there's some other problem. Look at the end of me trying to
reinstall it:
>>> Emerging (1 of 1) x11-proto/glproto-1.4.9
* glproto-1.4.9.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
[ ok ]
* checking ebuild checksums ;-) ...
[ ok ]
* checking auxfile checksums ;-) ...
[ ok ]
* checking miscfile checksums ;-) ...
[ ok ]
>>> Unpacking source...
>>> Unpacking glproto-1.4.9.tar.bz2 to
>>> /var/tmp/portage/x11-proto/glproto-1.4.9/work
>>> Source unpacked in /var/tmp/portage/x11-proto/glproto-1.4.9/work
>>> Compiling source in
>>> /var/tmp/portage/x11-proto/glproto-1.4.9/work/glproto-1.4.9 ...
./configure --prefix=/usr --build=i686-pc-linux-gnu
--host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --prefix=/usr --datadir=/usr/share
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating glproto.pc
make -j2
make: Nothing to be done for `all'.
>>> Source compiled.
>>> Test phase [not enabled]: x11-proto/glproto-1.4.9
>>> Install glproto-1.4.9 into /var/tmp/portage/x11-proto/glproto-1.4.9/image/
>>> category x11-proto
make[1]: Entering directory
`/var/tmp/portage/x11-proto/glproto-1.4.9/work/glproto-1.4.9'
make[1]: Nothing to be done for `install-exec-am'.
test -z "/usr/include/GL" || /bin/mkdir -p
"/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/include/GL"
/usr/bin/install -c -m 644 'glxint.h'
'/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/include/GL/glxint.h'
/usr/bin/install -c -m 644 'glxmd.h'
'/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/include/GL/glxmd.h'
/usr/bin/install -c -m 644 'glxproto.h'
'/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/include/GL/glxproto.h'
/usr/bin/install -c -m 644 'glxtokens.h'
'/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/include/GL/glxtokens.h'
test -z "/usr/include/GL/internal" || /bin/mkdir -p
"/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/include/GL/internal"
/usr/bin/install -c -m 644 'glcore.h'
'/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/include/GL/internal/glcore.h'
test -z "/usr/lib/pkgconfig" || /bin/mkdir -p
"/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/lib/pkgconfig"
/usr/bin/install -c -m 644 'glproto.pc'
'/var/tmp/portage/x11-proto/glproto-1.4.9/image//usr/lib/pkgconfig/glproto.pc'
make[1]: Leaving directory
`/var/tmp/portage/x11-proto/glproto-1.4.9/work/glproto-1.4.9'
* Moving GL files for dynamic switching ...
[ ok ]
>>> Completed installing glproto-1.4.9 into
>>> /var/tmp/portage/x11-proto/glproto-1.4.9/image/
>>> Installing (1 of 1) x11-proto/glproto-1.4.9
Switching to xorg-x11 OpenGL interface...ln: creating symbolic link
`./libglx.so': File exists
!!! Error: Failed to create /lib/libglx.so
/var/tmp/portage/x11-proto/glproto-1.4.9/temp/environment: line 3218:
17432 Killed eselect opengl set --use-old
${OPENGL_DIR}
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
myth12 ~ #
the glxproto.h file does exist:
myth12 ~ # slocate glxproto
/usr/include/GL/glxproto.h
/usr/lib/opengl/xorg-x11/include/glxproto.h
myth12 ~ #
How do I fix this issue with it complaining about the link?
the mesa emerge is still failing the same way:
i686-pc-linux-gnu-gcc -c -I. -I../../../include
-I../../../include/GL/internal -I../../../src/mesa
-I../../../src/mesa/glapi -I/usr/include/drm -O2 -march=i686
-fomit-frame-pointer -pipe -ffast-math -Wall -Wmissing-prototypes
-std=c99 -ffast-math -fno-strict-aliasing -fPIC -D_GNU_SOURCE
-DPTHREADS -DHAVE_POSIX_MEMALIGN -DGLX_USE_TLS -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING
-DHAVE_ALIAS -DGLX_DIRECT_RENDERING -DXF86VIDMODE -D_REENTRANT
-UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" clientattrib.c
-o clientattrib.o
In file included from clientattrib.c:32:
glxclient.h:54:25: error: GL/glxproto.h: No such file or directory
In file included from clientattrib.c:32:
glxclient.h:294: error: expected specifier-qualifier-list before 'GLXContextTag'
clientattrib.c: In function 'do_enable_disable':
clientattrib.c:42: error: '__GLXcontext' has no member named
'client_state_private'
clientattrib.c:50: error: '__GLXcontext' has no member named 'error'
clientattrib.c:50: error: '__GLXcontext' has no member named 'error'
clientattrib.c: In function '__indirect_glPushClientAttrib':
Does the 'GL' at the front contribute to the problem?
Thanks,
Mark