Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Autoconf alap módszer (MESA 9.0.1)
- Szükség lesz pár csomagra.
- sudo apt-get install build-essential
- ...
- ___
- Rendszerem:
- lspci -vnn
- ___
- Van egy configure verzió is, de nem lett felhasználva
- http://fossies.org/unix/misc/MesaLib-9.0.1.tar.gz:a/Mesa-9.0.1/configure
- ___
- Telepítés:
- wget -c ftp://ftp.freedesktop.org/pub/mesa/9.0.1/MesaLib-9.0.1.tar.gz
- tar xvf MesaLib-9.0.1.tar.gz
- cd Mesa-9.0.1/
- ./configure
- make
- ___
- checking for makedepend... no
- configure: error: makedepend is required to build Mesa
- sudo apt-get install xutils-dev
- ___
- checking for X11... no
- configure: error: Package requirements (x11) were not met:
- No package 'x11' found
- sudo apt-get install libx11-dev
- (sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev libncurses5-dev xutils-dev autoconf libtool pkg-config)
- Az alábbi ÚJ csomagok lesznek telepítve:
- libpthread-stubs0-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev x11proto-core-dev x11proto-input-dev x11proto-kb-dev xtrans-dev
- ___
- configure: error: Package requirements (glproto >= 1.4.14) were not met:
- No package 'glproto' found
- sudo apt-get install x11proto-gl-dev
- (Nem lett telepítve: libgl1-mesa-dev)
- ___
- configure: error: Direct rendering requires libdrm >= 2.4.24
- sudo apt-get install libdrm-dev
- ___
- configure: error: Package requirements (dri2proto >= 2.6) were not met:
- No package 'dri2proto' found
- sudo apt-get install x11proto-dri2-dev
- ___
- configure: error: Package requirements (x11 xext xdamage xfixes x11-xcb xcb-glx >= 1.8.1) were not met:
- No package 'xext' found
- No package 'xdamage' found
- No package 'xfixes' found
- No package 'x11-xcb' found
- No package 'xcb-glx' found
- sudo apt-get install libxext-dev
- Az alábbi ÚJ csomagok lesznek telepítve:
- libxext-dev x11proto-xext-dev
- sudo apt-get install libxdamage-dev
- Az alábbi ÚJ csomagok lesznek telepítve:
- libxdamage-dev libxfixes-dev x11proto-damage-dev x11proto-fixes-dev
- sudo apt-get install libx11-xcb-dev
- Az alábbi ÚJ csomagok lesznek telepítve:
- libx11-xcb-dev
- sudo apt-get install libxcb-glx0-dev
- Az alábbi ÚJ csomagok lesznek telepítve:
- libxcb-glx0-dev
- ___
- checking expat.h usability... no
- checking expat.h presence... no
- checking for expat.h... no
- configure: error: Expat required for DRI.
- sudo apt-get install expat
- sudo apt-get install libexpat1-dev
- ___
- checking for NOUVEAU... no
- configure: error: Package requirements (libdrm_nouveau >= 2.4.33) were not met:
- Requested 'libdrm_nouveau >= 2.4.33' but version of libdrm_nouveau is 0.6
- sudo apt-get install xorg-dev libxxf86vm-dev libxxf86dga-dev xserver-xorg-dev xorg-dev
- Az alábbi ÚJ csomagok lesznek telepítve:
- libdmx-dev libdmx1 libfontconfig1-dev libfontenc-dev libfreetype6-dev libfs-dev libice-dev libpciaccess-dev libpixman-1-dev libsm-dev libxaw7-dev libxcomposite-dev libxcursor-dev libxfont-dev libxft-dev libxi-dev libxinerama-dev libxkbfile-dev libxmu-dev libxmu-headers libxmuu-dev libxpm-dev libxrandr-dev libxrender-dev libxres-dev libxss-dev libxt-dev libxtst-dev libxv-dev libxvmc-dev libxxf86dga-dev libxxf86vm-dev x11proto-bigreqs-dev x11proto-composite-dev x11proto-dmx-dev x11proto-fonts-dev x11proto-randr-dev x11proto-record-dev x11proto-render-dev x11proto-resource-dev x11proto-scrnsaver-dev x11proto-video-dev x11proto-xcmisc-dev x11proto-xf86bigfont-dev x11proto-xf86dga-dev x11proto-xf86dri-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev xorg-dev xserver-xorg-dev
- sudo apt-get install libdrm-nouveau2
- (visszavonva: purge)
- sudo apt-get install libglu1-mesa-dev
- Az alábbi ÚJ csomagok lesznek telepítve:
- libgl1-mesa-dev libglu1-mesa-dev mesa-common-dev
- ___
- sudo apt-get install --reinstall xserver-xorg-video-radeon xserver-xorg-video-intel libdrm-dev libdrm-intel1 libdrm-nouveau1a libdrm-nouveau2 libdrm-radeon1 libdrm2
- ___
- Libdrm
- http://dri.freedesktop.org/libdrm/
- wget -c http://dri.freedesktop.org/libdrm/libdrm-2.4.33.tar.gz
- tar xvf libdrm-2.4.33.tar.gz
- cd libdrm-2.4.33
- ./configure
- make
- libdrm 2.4.33 will be compiled with:
- libkms yes
- Intel API yes
- vmwgfx API no
- Radeon API yes
- Nouveau API no
- OMAP API no
- wget -c http://dri.freedesktop.org/libdrm/libdrm-2.4.41.tar.gz
- tar xvf libdrm-2.4.41.tar.gz
- cd libdrm-2.4.41
- ./configure
- make (EE)
- wget -c http://dri.freedesktop.org/libdrm/libdrm-2.4.34.tar.gz
- tarv xvf libdrm-2.4.34.tar.gz
- cd libdrm-2.4.34
- ./configure
- libdrm 2.4.34 will be compiled with:
- libkms yes
- Intel API yes
- vmwgfx API no
- Radeon API yes
- Nouveau API yes
- OMAP API no
- make
- sudo make deb
- make: *** No rule to make target `deb'. Stop.
- (sudo apt-get install checkinstall)
- sudo checkinstall
- ======================== Installation successful ==========================
- Copying documentation directory...
- ./
- ./README
- Copying files to the temporary directory...OK
- Stripping ELF binaries and libraries...OK
- Compressing man pages...OK
- Building file list...OK
- Building Debian package...OK
- Installing Debian package...OK
- Erasing temporary files...OK
- Writing backup package...OK
- OK
- Deleting temp dir...OK
- **********************************************************************
- Done. The new package has been installed and saved to
- /home/kim/libdrm-2.4.34/libdrm_2.4.34-1_i386.deb
- You can remove it from your system anytime using:
- dpkg -r libdrm
- ___
- ~/Mesa-9.0.1$
- ./configure
- checking for INTEL... no
- configure: error: Package requirements (libdrm_intel >= 2.4.38) were not met:
- Requested 'libdrm_intel >= 2.4.38' but version of libdrm is 2.4.34
- ___
- sudo dpkg -r libdrm
- wget -c http://dri.freedesktop.org/libdrm/libdrm-2.4.38.tar.gz
- tar xvf libdrm-2.4.38.tar.gz
- cd libdrm-2.4.38
- ./configure
- libdrm 2.4.38 will be compiled with:
- libkms yes
- Intel API yes
- vmwgfx API no
- Radeon API yes
- Nouveau API yes
- OMAP API no
- EXYNOS API no
- make
- sudo checkinstall
- The package documentation directory ./doc-pak does not exist.
- Should I create a default set of package docs? [y]: y
- Preparing package documentation...OK
- Please write a description for the package.
- End your description with an empty line or EOF.
- *****************************************
- **** Debian package creation selected ***
- *****************************************
- This package will be built according to these values:
- 0 - Maintainer: [ root@debian ]
- 1 - Summary: [ Package created with checkinstall 1.6.2 ]
- 2 - Name: [ libdrm ]
- 3 - Version: [ 2.4.38 ]
- 4 - Release: [ 1 ]
- 5 - License: [ GPL ]
- 6 - Group: [ checkinstall ]
- 7 - Architecture: [ i386 ]
- 8 - Source location: [ libdrm-2.4.38 ]
- 9 - Alternate source location: [ ]
- 10 - Requires: [ ]
- 11 - Provides: [ libdrm ]
- 12 - Conflicts: [ ]
- 13 - Replaces: [ ]
- Enter a number to change any of them or press ENTER to continue:
- [Enter]
- ___
- ~/Mesa-9.0.1$
- ./configure
- checking for INTEL... yes
- checking for NOUVEAU... yes
- checking for RADEON... no
- configure: error: Package requirements (libdrm_radeon >= 2.4.39) were not met:
- Requested 'libdrm_radeon >= 2.4.39' but version of libdrm_radeon is 2.4.38
- ___
- sudo dpkg -r libdrm
- wget -c http://dri.freedesktop.org/libdrm/libdrm-2.4.39.tar.gz
- tar xvf libdrm-2.4.39.tar.gz
- cd libdrm-2.4.39
- ./configure
- libdrm 2.4.39 will be compiled with:
- libkms yes
- Intel API yes
- vmwgfx API no
- Radeon API yes
- Nouveau API yes
- OMAP API no
- EXYNOS API no
- make
- (!Nem patchelve: "unused-function warning"
- Patchwork [libdrm,RESEND] radeon: fix unused-function warning
- radeon_cs_gem.c:333:13: warning: 'cs_gem_dump_bof' defined but not used [-Wunused-function]
- https://patchwork.kernel.org/patch/1586861/)
- sudo checkinstall
- ___
- ~/Mesa-9.0.1$
- ./configure
- checking for LIBUDEV... no
- checking for XCB_DRI2... no
- configure: error: Package requirements (x11-xcb xcb-dri2 xcb-xfixes) were not met:
- No package 'xcb-dri2' found
- No package 'xcb-xfixes' found
- sudo apt-get install libxcb-dri2-0-dev libxcb-xfixes0-dev
- Az alábbi ÚJ csomagok lesznek telepítve:
- libxcb-dri2-0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
- ___
- ~/Mesa-9.0.1$
- ./configure
- checking for LIBUDEV... no
- sudo apt-get install libudev-dev
- checking for llvm-config... no
- configure: error: LLVM is required to build Gallium R300 on x86 and x86_64
- sudo apt-get install llvm
- Az alábbi ÚJ csomagok lesznek telepítve:
- libffi-dev libllvm3.0 llvm llvm-3.0 llvm-3.0-dev llvm-3.0-runtime llvm-runtime
- ___
- ~/Mesa-9.0.1$
- ./configure
- prefix: /usr/local
- exec_prefix: ${prefix}
- libdir: ${exec_prefix}/lib
- includedir: ${prefix}/include
- OpenGL: yes (ES1: no ES2: no)
- OpenVG: no
- OSMesa: no
- DRI drivers: i915 i965 nouveau r200 radeon swrast
- DRI driver dir: ${libdir}/dri
- GLX: DRI-based
- EGL: yes
- EGL platforms: x11
- EGL drivers: builtin:egl_glx builtin:egl_dri2
- llvm: yes
- llvm-config: /usr/bin/llvm-config
- llvm-version: 3.0
- Gallium: yes
- Gallium dirs: auxiliary drivers state_trackers
- Target dirs: dri-r300 dri-r600 dri-swrast dri-vmwgfx
- Winsys dirs: radeon/drm svga/drm sw sw/dri
- Driver dirs: galahad identity llvmpipe noop r300 r600 rbug softpipe svga trace
- Trackers dirs: dri
- Shared libs: yes
- Static libs: no
- Shared-glapi: yes
- CFLAGS: -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -fPIC
- CXXFLAGS: -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp -fPIC
- Macros: -D_GNU_SOURCE -DHAVE_PTHREAD -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0300
- PYTHON2: python
- Run 'make' to build Mesa
- Az ám, csak közben rájöttem van debuild parancs is.
- Próbáljuk a debuild-et ... nincs.
- http://www.debian.org/doc/manuals/maint-guide/build.en.html
- http://man.he.net/man1/debuild
- Van:
- sudo apt-get install devscripts
- Az alábbi ÚJ csomagok lesznek telepítve:
- devscripts diffstat distro-info-data dput equivs hardening-includes libclass-accessor-perl libclass-inspector-perl libclone-perl libcommon-sense-perl libconvert-binhex-perl libcrypt-ssleay-perl libdigest-hmac-perl libdistro-info-perl libemail-valid-perl libexporter-lite-perl libfcgi-perl libio-pty-perl libio-stringy-perl libipc-run-perl libjson-perl libjson-xs-perl libmime-tools-perl libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl libossp-uuid-perl libparse-debcontrol-perl libparse-debianchangelog-perl libsoap-lite-perl libsub-name-perl libtask-weaken-perl lintian patchutils python-magic strace wdiff
- Na mindegy, nem megy:
- make
- make: *** [Makefile.in] Error 1
- és
- debuild
- debuild: fatal error at line 629:
- cannot find readable debian/changelog anywhere!
- Nincs debian könyvtár a forrásban ...
- ___
- ~/Mesa-9.0.1$
- ./configure
- make
- "lib/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
- lib/Makefile.am:1: The usual way to define `LIBTOOL' is to add
- `AC_PROG_LIBTOOL'
- lib/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf'
- again.
- lib/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
- lib/Makefile.am:1: its definition is in aclocal's search path."
- autoreconf --install
- sudo apt-get install --reinstall automake libtool
- Az alábbi ÚJ csomagok lesznek telepítve:
- libltdl-dev libtool
- (a libtool csomag nem volt telepítve)
- http://lists.gnu.org/archive/html/libtool/2011-01/msg00013.html
- ___
- ~/Mesa-9.0.1$
- ./configure
- ./configure: line 4533: syntax error near unexpected token `2.2'
- ./configure: line 4533: `LT_PREREQ(2.2)'
- MESA könyvtár törlése, majd
- tar xvf MesaLib-9.0.1.tar.gz
- cd Mesa-9.0.1/
- ./configure
- make
- No base converter for type 'GLint' found. Ignoring.
- ...
- https://bugs.freedesktop.org/show_bug.cgi?id=55452#c2
- sudo apt-get install xserver-xorg-video-glint
- ___
- MESA ...:
- sudo apt-get install libedit-dev lesstif2-dev libgl1-mesa-dev libglw1-mesa-dev libglu1-mesa-dev libglu1-mesa-dev libgles1-mesa-dev libopenvg1-mesa-dev mesa-common-dev libgles2-mesa-dev libglw1-mesa libegl1-mesa-dev libosmesa6-dev
- Az alábbi ÚJ csomagok lesznek telepítve:
- lesstif2-dev libbsd-dev libedit-dev libegl1-mesa-dev libgl1-mesa-dev libgles1-mesa-dev libgles2-mesa-dev libglu1-mesa-dev libglw1-mesa-dev libopenvg1-mesa-dev libosmesa6-dev libtinfo-dev libxp-dev mesa-common-dev x11proto-print-dev
- ___
- MESA könyvtár törlése, majd
- tar xvf MesaLib-9.0.1.tar.gz
- cd Mesa-9.0.1/
- ./configure
- make
- Making all in mesa
- make[2]: Entering directory `/home/kim/Mesa-9.0.1/src/mesa'
- updating main/git_sha1.h
- GEN main/api_exec_es1_dispatch.h
- GEN main/api_exec_es1_remap_helper.h
- GEN main/api_exec_es1.c
- Error: unable to dicide the max size of params in Fogxv
- Error: unable to dicide the max size of params in GetLightxv
- Error: unable to dicide the max size of params in GetMaterialxv
- Error: unable to dicide the max size of params in GetTexEnvxv
- Error: unable to dicide the max size of params in GetTexGenivOES
- No base converter for type 'GLint' found. Ignoring.
- Error: unable to dicide the max size of params in GetTexGenxvOES
- Error: unable to dicide the max size of params in GetTexParameterxv
- Error: unable to dicide the max size of params in LightModelxv
- Error: unable to dicide the max size of params in Lightxv
- Error: unable to dicide the max size of params in Materialxv
- Error: unable to dicide the max size of params in PointParameterxv
- Error: unable to dicide the max size of params in TexEnvxv
- No base converter for type 'GLint' found. Ignoring.
- Error: unable to dicide the max size of params in TexGenivOES
- No base converter for type 'GLint' found. Ignoring.
- Error: unable to dicide the max size of params in TexGenxvOES
- Error: unable to dicide the max size of params in TexParameterxv
- make all-recursive
- ... végülis kivártam a make folyamatot és
- sudo checkinstall -D
- ___
- Valami ilyesmit kéne látnom :)
- http://cook.slitaz.org/?pkg=mesa
Advertisement
Add Comment
Please, Sign In to add comment