森実 です
# ちょっと長いです & 改行適宜挿入

概略

- 2006/06/17 の 4-stable (src & ports) な, とある host.

- 2006/06/17 の xorg では NG.
    lang/gcc34 install.
    mga 外すことを追い掛けるの面倒だったから諦め.
    ports 戻して make install させておくだけの方が楽.
    但し, 旧 ports 使う場合には, security に注意.
    network 的な設置場所とか, etc. etc.

- ports だけ 20005/10/22 に戻して xorg-6.8.2 を try したが,
    この時点の cjk-fontconfig-2.2.3-20050315.patch.gz が手元に入手出来ず.
    make fetch の段階で stop しちゃう.
    探しまわるの面倒だったから, 諦め.

- 更に ports だけ 2004/10/30 に戻して xorg-6.7.0_1 にして,
    手元に必要なファイルが全部揃ってたから make install 出来た.


> uname -a
FreeBSD ***.***.jp 4.11-STABLE FreeBSD 4.11-STABLE #0:
 Wed Jun 28 06:07:25 JST 2006
     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/a4s20060617  i386

以下, install-log からの抜粋と私のコメントです

===>   xorg-6.9.0 depends on file: /usr/X11R6/lib/modules/dri/r200_dri.so - not 
found
===>    Verifying install for /usr/X11R6/lib/modules/dri/r200_dri.so
 in /usr/ports/graphics/dri
===>  Vulnerability check disabled, database not found
===>  Extracting for dri-6.4.1,2
=> MD5 Checksum OK for MesaLib-6.4.1.tar.bz2.
===>  Patching for dri-6.4.1,2
===>  Applying FreeBSD patches for dri-6.4.1,2
===>   dri-6.4.1,2 depends on executable: makedepend - found
===>   dri-6.4.1,2 depends on executable: gmake - found
===>   dri-6.4.1,2 depends on shared library: drm - found
===>   dri-6.4.1,2 depends on shared library: X11.6 - found
===>  Configuring for dri-6.4.1,2
===>  Building for dri-6.4.1,2
(cd configs && rm -f current && ln -s freebsd-dri-x86 current)
gmake default
gmake[1]: Entering directory `/usr/ports/graphics/dri/work/Mesa-6.4.1'
gmake[2]: Entering directory `/usr/ports/graphics/dri/work/Mesa-6.4.1/src'
Making sources for freebsd-dri-x86
mkdir ../lib
gmake[3]: Entering directory `/usr/ports/graphics/dri/work/Mesa-6.4.1/src/mesa'
gmake[4]: Entering directory `/usr/ports/graphics/dri/work/Mesa-6.4.1/src/mesa'
gmake[5]: Entering directory 
`/usr/ports/graphics/dri/work/Mesa-6.4.1/src/mesa/x86'
cc -I../../../include/GL -I../../../include -I.. -I../main -I../math
 -I../glapi -I../tnl -O -pipe  -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1
 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -Wmissing-prototypes
 -g -std=c99  -Wundef -fPIC -ffast-math -I/usr/X11R6/include
 -I/usr/X11R6/include/X11/extensions gen_matypes.c -o gen_matypes
cc1: unknown C standard `c99'
gmake[5]: *** [gen_matypes] Error 1


emori comment
retry retry for graphics/dri, after install lang/gcc34 gcc-3.4.6 retry install
emori comment


===>   xorg-6.9.0 depends on file: /usr/X11R6/lib/modules/dri/r200_dri.so - not 
found
===>    Verifying install for /usr/X11R6/lib/modules/dri/r200_dri.so
 in /usr/ports/graphics/dri
===>  Building for dri-6.4.1,2
(cd configs && rm -f current && ln -s freebsd-dri-x86 current)
gmake default
gmake[1]: Entering directory `/usr/ports/graphics/dri/work/Mesa-6.4.1'
gmake[2]: Entering directory `/usr/ports/graphics/dri/work/Mesa-6.4.1/src'
Making sources for freebsd-dri-x86
gmake[3]: Entering directory `/usr/ports/graphics/dri/work/Mesa-6.4.1/src/mesa'
gmake[4]: Entering directory `/usr/ports/graphics/dri/work/Mesa-6.4.1/src/mesa'
gmake[5]: Entering directory 
`/usr/ports/graphics/dri/work/Mesa-6.4.1/src/mesa/x86'
cc -I../../../include/GL -I../../../include -I.. -I../main -I../math
 -I../glapi -I../tnl -O -pipe  -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1
 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -Wmissing-prototypes
 -g -std=c99  -Wundef -fPIC -ffast-math -I/usr/X11R6/include
 -I/usr/X11R6/include/X11/extensions gen_matypes.c -o gen_matypes
./gen_matypes > matypes.h
gmake[5]: Leaving directory 
`/usr/ports/graphics/dri/work/Mesa-6.4.1/src/mesa/x86'


emori comment
retry retry for graphics/dri, after install lang/gcc34 gcc-3.4.6 retry install
に拠って, 通り始めた様だったが,,, 続きを見てね
emori comment


cd drivers/dri ; gmake
gmake[5]: Entering directory 
`/usr/ports/graphics/dri/work/Mesa-6.4.1/src/mesa/drivers/dri'
echo i810 i830 i915 mach64 mga r128 r200 r300 radeon tdfx unichrome savage sis
i810 i830 i915 mach64 mga r128 r200 r300 radeon tdfx unichrome savage sis


emori comment
の様な所を経過して
emori comment

makedepend -fdepend -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
 -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -I.
 -I../../../../../src/mesa/drivers/dri/common
 -Iserver -I../../../../../../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 -I/usr/local/include
 `pkg-config --cflags libdrm` ../../common/driverfuncs.c ../common/utils.c
 ../common/texmem.c ../common/vblank.c ../common/dri_util.c
 ../common/xmlconfig.c ../common/drirenderbuffer.c mgadd.c mgaioctl.c
 mgarender.c mgastate.c mgatris.c mgapixel.c mgaspan.c mgatex.c
 mgatexmem.c mga_texstate.c mga_texcombine.c mgavb.c mga_xmesa.c   \
        > /dev/null
makedepend: warning:  ../common/utils.c
 (reading /usr/local/include/drm/drm.h), line 196:
 # 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."
makedepend: warning:  mgadd.c (reading mgacontext.h, line 32):
 cannot find include file "stdint.h"
        not in ./stdint.h
        not in ../../../../../src/mesa/drivers/dri/common/stdint.h
        not in server/stdint.h
        not in ../../../../../../drm/shared-core/stdint.h
        not in ../../../../../include/stdint.h
        not in ../../../../../include/GL/internal/stdint.h
        not in ../../../../../src/mesa/stdint.h
        not in ../../../../../src/mesa/main/stdint.h
        not in ../../../../../src/mesa/glapi/stdint.h
        not in ../../../../../src/mesa/math/stdint.h
        not in ../../../../../src/mesa/transform/stdint.h
        not in ../../../../../src/mesa/shader/stdint.h
        not in ../../../../../src/mesa/swrast/stdint.h
        not in ../../../../../src/mesa/swrast_setup/stdint.h
        not in ../../../../../src/egl/main/stdint.h
        not in ../../../../../src/egl/drivers/dri/stdint.h
        not in /usr/local/include/stdint.h
        not in /usr/local/include/stdint.h
        not in /usr/local/include/drm/stdint.h
        not in /usr/include/stdint.h
        not in /usr/include/stdint.h
makedepend: warning:  mga_xmesa.c, line 34: cannot find include file "stdint.h"
        not in ./stdint.h
        not in ../../../../../src/mesa/drivers/dri/common/stdint.h
        not in server/stdint.h
        not in ../../../../../../drm/shared-core/stdint.h
        not in ../../../../../include/stdint.h
        not in ../../../../../include/GL/internal/stdint.h
        not in ../../../../../src/mesa/stdint.h
        not in ../../../../../src/mesa/main/stdint.h
        not in ../../../../../src/mesa/glapi/stdint.h
        not in ../../../../../src/mesa/math/stdint.h
        not in ../../../../../src/mesa/transform/stdint.h
        not in ../../../../../src/mesa/shader/stdint.h
        not in ../../../../../src/mesa/swrast/stdint.h
        not in ../../../../../src/mesa/swrast_setup/stdint.h
        not in ../../../../../src/egl/main/stdint.h
        not in ../../../../../src/egl/drivers/dri/stdint.h
        not in /usr/local/include/stdint.h
        not in /usr/local/include/stdint.h
        not in /usr/local/include/drm/stdint.h
        not in /usr/include/stdint.h
        not in /usr/include/stdint.h
cc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver
 -I../../../../../../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 -I/usr/local/include
 `pkg-config --cflags libdrm` -O -pipe  -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1
 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -Wmissing-prototypes
 -g -std=c99  -Wundef -fPIC -ffast-math -I/usr/X11R6/include
 -I/usr/X11R6/include/X11/extensions -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1
 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS mgadd.c -o mgadd.o
In file included from mgadd.c:34:
mgacontext.h:32:20: stdint.h: No such file or directory
gmake[6]: *** [mgadd.o] Error 1
gmake[6]: Leaving directory 
`/usr/ports/graphics/dri/work/Mesa-6.4.1/src/mesa/drivers
/dri/mga'


で, 結局, 先に載せた
cd drivers/dri ; gmake
gmake[5]: Entering directory 
`/usr/ports/graphics/dri/work/Mesa-6.4.1/src/mesa/drivers/dri'
echo i810 i830 i915 mach64 mga r128 r200 r300 radeon tdfx unichrome savage sis
i810 i830 i915 mach64 mga r128 r200 r300 radeon tdfx unichrome savage sis
の部分で mga 外してやってみる !? うぅーん,,,, ports だけ過去に戻すか,
6-stable 系に行っちゃった方が楽だよなぁ.

それで, 取敢えず私は, 旧 ports に戻した.

以上です.
--------
森実 栄治郎 (Eijirou MORIzane): [EMAIL PROTECTED]

メールによる返信