From owner-FreeBSD-users-jp@jp.FreeBSD.org Wed Jul 19 13:20:11 2006
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id k6J4KBq95662;
	Wed, 19 Jul 2006 13:20:11 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from ns.moriza.ne.jp (postfix@ns.moriza.ne.jp [61.211.155.209])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id k6J4KAQ95656
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 19 Jul 2006 13:20:10 +0900 (JST)
	(envelope-from emori@st.rim.or.jp)
Received: from cfc33 (cfc33.tama.moriza.ne.jp [192.168.18.26])
	by ns.moriza.ne.jp (Postfix) with SMTP id D2CBC7B3C
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Wed, 19 Jul 2006 13:19:56 +0900 (JST)
From: Eijirou MORIzane <emori@st.rim.or.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org
In-Reply-To: <060719030110.M0201345@shimako.yamayuri.org>
References: <060719030110.M0201345@shimako.yamayuri.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
X-Mailer: Becky! ver 1.26.06
Message-Id: <20060719041956.D2CBC7B3C@ns.moriza.ne.jp>
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 19 Jul 2006 13:19:48 +0900
X-Sequence: FreeBSD-users-jp 89775
Subject: [FreeBSD-users-jp 89775] Re: graphics/dri: make fails on 4.x 
 =?ISO-2022-JP?B?GyRCMnI3aDp2JE8hKRsoQg==?=
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: emori@st.rim.or.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+060209

$B?9<B(B $B$G$9(B
# $B$A$g$C$HD9$$$G$9(B & $B2~9TE,59A^F~(B

$B35N,(B

- 2006/06/17 $B$N(B 4-stable (src & ports) $B$J(B, $B$H$"$k(B host.

- 2006/06/17 $B$N(B xorg $B$G$O(B NG.
    lang/gcc34 install.
    mga $B30$9$3$H$rDI$$3]$1$k$NLLE]$@$C$?$+$iD|$a(B.
    ports $BLa$7$F(B make install $B$5$;$F$*$/$@$1$NJ}$,3Z(B.
    $BC"$7(B, $B5l(B ports $B;H$&>l9g$K$O(B, security $B$KCm0U(B.
    network $BE*$J@_CV>l=j$H$+(B, etc. etc.

- ports $B$@$1(B 20005/10/22 $B$KLa$7$F(B xorg-6.8.2 $B$r(B try $B$7$?$,(B,
    $B$3$N;~E@$N(B cjk-fontconfig-2.2.3-20050315.patch.gz $B$,<j85$KF~<j=PMh$:(B.
    make fetch $B$NCJ3,$G(B stop $B$7$A$c$&(B.
    $BC5$7$^$o$k$NLLE]$@$C$?$+$i(B, $BD|$a(B.

- $B99$K(B ports $B$@$1(B 2004/10/30 $B$KLa$7$F(B xorg-6.7.0_1 $B$K$7$F(B,
    $B<j85$KI,MW$J%U%!%$%k$,A4ItB7$C$F$?$+$i(B make install $B=PMh$?(B.


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

$B0J2<(B, install-log $B$+$i$NH4?h$H;d$N%3%a%s%H$G$9(B

===>   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
$B$K5r$C$F(B, $BDL$j;O$a$?MM$@$C$?$,(B,,, $BB3$-$r8+$F$M(B
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
$B$NMM$J=j$r7P2a$7$F(B
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'


$B$G(B, $B7k6I(B, $B@h$K:\$;$?(B
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
$B$NItJ,$G(B mga $B30$7$F$d$C$F$_$k(B !? $B$&$%!<$s(B,,,, ports $B$@$12a5n$KLa$9$+(B,
6-stable $B7O$K9T$C$A$c$C$?J}$,3Z$@$h$J$!(B.

$B$=$l$G(B, $B<h4:$($:;d$O(B, $B5l(B ports $B$KLa$7$?(B.

$B0J>e$G$9(B.
--------
$B?9<B(B $B1I<#O:(B (Eijirou MORIzane): emori@st.rim.or.jp

