Re: problem while installing Mesa

2005-09-22 Thread Vitaliy A. Matuschenko




Adam Jackson wrote:

  On Wednesday 21 September 2005 06:51, Vitaliy A. Matuschenko wrote:
  
  
So i've decided to install libdrm manually. I've downloaded libdrm-1.0.3
but it also didn't want to install at any way.

  
  
If you'd tell me how it failed to install I'd get it fixed.

- ajax
  

while installing libdrm i've got mesages as file X11/Xlibint.h not
found..
so i made symlink of /usr/X11R6/include/X11 to libdrm dir and
successfully
installed it...
But even then Mesa didn't want to install. It asked me of locatoin of
libdrm.pc.
So i added PKG_CONFIG_PATH /lib/pkgconfig to my env. I thought that it
is the end, so i made make clean, make install and got once again a
pack of errors, but without package libdrm not found (:


make freebsd-dri-x86
(cd configs  rm -f current  ln -s freebsd-dri-x86
current)
make default
Making sources for freebsd-dri-x86
gmake[1]: Entering directory `/home/warchild/dri/Mesa/src/mesa'
gmake[2]: Entering directory `/home/warchild/dri/Mesa/src/mesa/x86'
gmake[2]: Nothing to be done for `default'.
gmake[2]: Leaving directory `/home/warchild/dri/Mesa/src/mesa/x86'
gmake[2]: Entering directory `/home/warchild/dri/Mesa/src/mesa/x86-64'
gmake[2]: Nothing to be done for `default'.
gmake[2]: Leaving directory `/home/warchild/dri/Mesa/src/mesa/x86-64'
cd drivers/dri ; gmake
gmake[2]: Entering directory
`/home/warchild/dri/Mesa/src/mesa/drivers/dri'
echo dri_client r300 
dri_client r300
dri_client
gmake[3]: Entering directory
`/home/warchild/dri/Mesa/src/mesa/drivers/dri/dri_client'
gmake[3]: Nothing to be done for `default'.
gmake[3]: Leaving directory
`/home/warchild/dri/Mesa/src/mesa/drivers/dri/dri_client'
r300
gmake[3]: Entering directory
`/home/warchild/dri/Mesa/src/mesa/drivers/dri/r300'
touch depend
makedepend -fdepend -DDRI_NEW_INTERFACE_ONLY -DCOMPILE_R300
-DGLX_DIRECT_RENDERING -I. -I../../../../../src/mesa/drivers/dri/common
-Iserver -I/home/warchild/dri/r300_driver/drm/shared-core
-I../../../../../include -I../../../../../include/GL/internal
-I../../../../../src/mesa -I../../../../../src/mesa/main
-I../../../../../src/mesa/glapi -I../../../../../src/mesa/math
-I../../../../../src/mesa/transform -I../../../../../src/mesa/shader
-I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup
-I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri
`pkg-config --cflags libdrm` ../../common/driverfuncs.c ../common/mm.c
../common/utils.c ../common/texmem.c ../common/vblank.c
../common/dri_util.c ../common/xmlconfig.c ../common/drirenderbuffer.c
radeon_screen.c radeon_context.c radeon_ioctl.c radeon_lock.c
radeon_span.c radeon_state.c r300_context.c r300_ioctl.c r300_cmdbuf.c
r300_state.c r300_render.c r300_texmem.c r300_tex.c r300_texstate.c
r300_texprog.c r300_vertexprog.c r300_fragprog.c r300_shader.c
r300_maos.c \
  /dev/null 
makedepend: warning: ../common/utils.c (reading
/home/warchild/dri/r300_driver/drm/shared-core/drm.h), line 184: #
warning "__SIZE_TYPE__ not defined. Assuming sizeof(size_t) ==
sizeof(unsigned long)!"
makedepend: warning: ../common/xmlconfig.c, line 84: # warning
"Per application configuration won't work with your OS version."
gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver
-I/home/warchild/dri/r300_driver/drm/shared-core
-I../../../../../include -I../../../../../include/GL/internal
-I../../../../../src/mesa -I../../../../../src/mesa/main
-I../../../../../src/mesa/glapi -I../../../../../src/mesa/math
-I../../../../../src/mesa/transform -I../../../../../src/mesa/shader
-I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup
-I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri
`pkg-config --cflags libdrm` -DDRI_NEW_INTERFACE_ONLY -DCOMPILE_R300
-DGLX_DIRECT_RENDERING -Wmissing-prototypes -g -std=c99 -Wundef -fPIC
-ffast-math -I/usr/local/include -I/usr/X11R6/include
-I/usr/X11R6/include/X11/extensions -DDRI_NEW_INTERFACE_ONLY
-DCOMPILE_R300 -DGLX_DIRECT_RENDERING ../common/utils.c -o
../common/utils.o
../common/utils.c:39: error: `driDispatchRemapTable_size' undeclared
here (not in a function)
In file included from ../common/utils.c:198:
../common/extension_helper.h:4608: error:
`SampleCoverageARB_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4608: error: initializer element is not
constant
../common/extension_helper.h:4608: error: (near initialization for
`GL_ARB_multisample_functions[0].remap_index')
../common/extension_helper.h:4608: error: initializer element is not
constant
../common/extension_helper.h:4608: error: (near initialization for
`GL_ARB_multisample_functions[0]')
../common/extension_helper.h:4609: error: initializer element is not
constant
../common/extension_helper.h:4609: error: (near initialization for
`GL_ARB_multisample_functions[1]')
../common/extension_helper.h:4695: error:
`MultTransposeMatrixdARB_remap_index' undeclared here (not in a
function)
../common/extension_helper.h:4695: error: initializer element is not

Re: problem while installing Mesa

2005-09-22 Thread Adam K Kirchhoff

Vitaliy A. Matuschenko wrote:


Adam Jackson wrote:


On Wednesday 21 September 2005 06:51, Vitaliy A. Matuschenko wrote:
 


So i've decided to install libdrm manually. I've downloaded libdrm-1.0.3
but it also didn't want to install at any way.
   



If you'd tell me how it failed to install I'd get it fixed.

- ajax
 


while installing libdrm i've got mesages as file X11/Xlibint.h not found..
so i made symlink of /usr/X11R6/include/X11 to libdrm dir and successfully
installed it...



Yeah, libdrm assumes that the X11R6 headers are installed in 
/usr/inclue/X11.  That's clearly not the case in FreeBSD.


But even then Mesa didn't want to install. It asked me of locatoin of 
libdrm.pc.
So i added PKG_CONFIG_PATH /lib/pkgconfig to my env. I thought that it 
is the end, so i made make clean, make install and got once again a 
pack of errors, but without package libdrm not found (:


libdrm installed to /usr/local/lib, so you should actually add 
/usr/local/lib/pkgconfig to PKG_CONFIG_PATH.


After you do that, Mesa should build fine.

Adam K.



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: problem while installing Mesa

2005-09-22 Thread Vitaliy A. Matuschenko

Adam K Kirchhoff wrote:

libdrm installed to /usr/local/lib, so you should actually add 
/usr/local/lib/pkgconfig to PKG_CONFIG_PATH.


After you do that, Mesa should build fine.

Adam K.


Actually that didn't change anything. I've got the same errors.


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


problem while installing Mesa

2005-09-21 Thread Vitaliy A. Matuschenko

Greetings (:
I have sytem runnig FreeBSD-6.0_BETA4 with ATI Radeon 9600.
I'm trying to get any glx support with this card, but while doing
make freebsd-dri it says:
gnome-config: not found
Package libdrm was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdrm.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libdrm' found
../common/utils.c:39: error: `driDispatchRemapTable_size' undeclared 
here (not in a function)

In file included from ../common/utils.c:198:
../common/extension_helper.h:4608: error: 
`SampleCoverageARB_remap_index' undeclared here (not in a function)
../common/extension_helper.h:4608: error: initializer element is not 
constant
../common/extension_helper.h:4608: error: (near initialization for 
`GL_ARB_multisample_functions[0].remap_index')
../common/extension_helper.h:4608: error: initializer element is not 
constant
../common/extension_helper.h:4608: error: (near initialization for 
`GL_ARB_multisample_functions[0]')


.. (a lot of almost indentical errors)

/common/utils.c:39: error: storage size of `driDispatchRemapTable' isn't 
known

gmake[3]: *** [../common/utils.o] Error 1
gmake[3]: Leaving directory 
`/home/warchild/dri/Mesa/src/mesa/drivers/dri/r300'

gmake[2]: *** [subdirs] Error 1
gmake[2]: Leaving directory `/home/warchild/dri/Mesa/src/mesa/drivers/dri'
gmake[1]: *** [linux-solo] Error 2
gmake[1]: Leaving directory `/home/warchild/dri/Mesa/src/mesa'
gmake: *** [default] Error 2
*** Error code 1

Stop in /home/warchild/dri/Mesa/src.
*** Error code 1

Stop in /home/warchild/dri/Mesa.
*** Error code 1

Stop in /home/warchild/dri/Mesa.

So i've decided to install libdrm manually. I've downloaded libdrm-1.0.3 
but it also didn't want to install at any way.


Any ideas about that?





---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: problem while installing Mesa

2005-09-21 Thread Adam Jackson
On Wednesday 21 September 2005 06:51, Vitaliy A. Matuschenko wrote:
 So i've decided to install libdrm manually. I've downloaded libdrm-1.0.3
 but it also didn't want to install at any way.

If you'd tell me how it failed to install I'd get it fixed.

- ajax


pgpzwjlJLapOw.pgp
Description: PGP signature