Kimarite

MESA 9.0.1 autoconf (messages)

Jan 17th, 2013
905
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.33 KB | None | 0 0
  1. Autoconf alap módszer (MESA 9.0.1)
  2.  
  3. Szükség lesz pár csomagra.
  4. sudo apt-get install build-essential
  5. ...
  6. ___
  7. Rendszerem:
  8. lspci -vnn
  9. ___
  10. Van egy configure verzió is, de nem lett felhasználva
  11. http://fossies.org/unix/misc/MesaLib-9.0.1.tar.gz:a/Mesa-9.0.1/configure
  12. ___
  13. Telepítés:
  14. wget -c ftp://ftp.freedesktop.org/pub/mesa/9.0.1/MesaLib-9.0.1.tar.gz
  15. tar xvf MesaLib-9.0.1.tar.gz
  16. cd Mesa-9.0.1/
  17. ./configure
  18. make
  19. ___
  20. checking for makedepend... no
  21. configure: error: makedepend is required to build Mesa
  22. sudo apt-get install xutils-dev
  23. ___
  24. checking for X11... no
  25. configure: error: Package requirements (x11) were not met:
  26. No package 'x11' found
  27. sudo apt-get install libx11-dev
  28. (sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev libncurses5-dev xutils-dev autoconf libtool pkg-config)
  29. Az alábbi ÚJ csomagok lesznek telepítve:
  30. libpthread-stubs0-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev x11proto-core-dev x11proto-input-dev x11proto-kb-dev xtrans-dev
  31. ___
  32. configure: error: Package requirements (glproto >= 1.4.14) were not met:
  33. No package 'glproto' found
  34. sudo apt-get install x11proto-gl-dev
  35. (Nem lett telepítve: libgl1-mesa-dev)
  36. ___
  37. configure: error: Direct rendering requires libdrm >= 2.4.24
  38. sudo apt-get install libdrm-dev
  39. ___
  40. configure: error: Package requirements (dri2proto >= 2.6) were not met:
  41. No package 'dri2proto' found
  42. sudo apt-get install x11proto-dri2-dev
  43. ___
  44. configure: error: Package requirements (x11 xext xdamage xfixes x11-xcb xcb-glx >= 1.8.1) were not met:
  45.  
  46. No package 'xext' found
  47. No package 'xdamage' found
  48. No package 'xfixes' found
  49. No package 'x11-xcb' found
  50. No package 'xcb-glx' found
  51.  
  52. sudo apt-get install libxext-dev
  53. Az alábbi ÚJ csomagok lesznek telepítve:
  54. libxext-dev x11proto-xext-dev
  55. sudo apt-get install libxdamage-dev
  56. Az alábbi ÚJ csomagok lesznek telepítve:
  57. libxdamage-dev libxfixes-dev x11proto-damage-dev x11proto-fixes-dev
  58. sudo apt-get install libx11-xcb-dev
  59. Az alábbi ÚJ csomagok lesznek telepítve:
  60. libx11-xcb-dev
  61. sudo apt-get install libxcb-glx0-dev
  62. Az alábbi ÚJ csomagok lesznek telepítve:
  63. libxcb-glx0-dev
  64. ___
  65. checking expat.h usability... no
  66. checking expat.h presence... no
  67. checking for expat.h... no
  68. configure: error: Expat required for DRI.
  69. sudo apt-get install expat
  70. sudo apt-get install libexpat1-dev
  71. ___
  72. checking for NOUVEAU... no
  73. configure: error: Package requirements (libdrm_nouveau >= 2.4.33) were not met:
  74. Requested 'libdrm_nouveau >= 2.4.33' but version of libdrm_nouveau is 0.6
  75. sudo apt-get install xorg-dev libxxf86vm-dev libxxf86dga-dev xserver-xorg-dev xorg-dev
  76. Az alábbi ÚJ csomagok lesznek telepítve:
  77. 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
  78.  
  79. sudo apt-get install libdrm-nouveau2
  80.  
  81. (visszavonva: purge)
  82. sudo apt-get install libglu1-mesa-dev
  83. Az alábbi ÚJ csomagok lesznek telepítve:
  84. libgl1-mesa-dev libglu1-mesa-dev mesa-common-dev
  85. ___
  86. sudo apt-get install --reinstall xserver-xorg-video-radeon xserver-xorg-video-intel libdrm-dev libdrm-intel1 libdrm-nouveau1a libdrm-nouveau2 libdrm-radeon1 libdrm2
  87. ___
  88. Libdrm
  89. http://dri.freedesktop.org/libdrm/
  90.  
  91. wget -c http://dri.freedesktop.org/libdrm/libdrm-2.4.33.tar.gz
  92. tar xvf libdrm-2.4.33.tar.gz
  93. cd libdrm-2.4.33
  94. ./configure
  95. make
  96.  
  97. libdrm 2.4.33 will be compiled with:
  98.  
  99. libkms yes
  100. Intel API yes
  101. vmwgfx API no
  102. Radeon API yes
  103. Nouveau API no
  104. OMAP API no
  105.  
  106. wget -c http://dri.freedesktop.org/libdrm/libdrm-2.4.41.tar.gz
  107. tar xvf libdrm-2.4.41.tar.gz
  108. cd libdrm-2.4.41
  109. ./configure
  110. make (EE)
  111.  
  112. wget -c http://dri.freedesktop.org/libdrm/libdrm-2.4.34.tar.gz
  113. tarv xvf libdrm-2.4.34.tar.gz
  114. cd libdrm-2.4.34
  115. ./configure
  116.  
  117. libdrm 2.4.34 will be compiled with:
  118.  
  119. libkms yes
  120. Intel API yes
  121. vmwgfx API no
  122. Radeon API yes
  123. Nouveau API yes
  124. OMAP API no
  125.  
  126. make
  127. sudo make deb
  128. make: *** No rule to make target `deb'. Stop.
  129. (sudo apt-get install checkinstall)
  130. sudo checkinstall
  131.  
  132. ======================== Installation successful ==========================
  133. Copying documentation directory...
  134. ./
  135. ./README
  136. Copying files to the temporary directory...OK
  137. Stripping ELF binaries and libraries...OK
  138. Compressing man pages...OK
  139. Building file list...OK
  140. Building Debian package...OK
  141. Installing Debian package...OK
  142. Erasing temporary files...OK
  143. Writing backup package...OK
  144. OK
  145. Deleting temp dir...OK
  146. **********************************************************************
  147. Done. The new package has been installed and saved to
  148. /home/kim/libdrm-2.4.34/libdrm_2.4.34-1_i386.deb
  149. You can remove it from your system anytime using:
  150. dpkg -r libdrm
  151. ___
  152. ~/Mesa-9.0.1$
  153. ./configure
  154. checking for INTEL... no
  155. configure: error: Package requirements (libdrm_intel >= 2.4.38) were not met:
  156. Requested 'libdrm_intel >= 2.4.38' but version of libdrm is 2.4.34
  157. ___
  158. sudo dpkg -r libdrm
  159. wget -c http://dri.freedesktop.org/libdrm/libdrm-2.4.38.tar.gz
  160. tar xvf libdrm-2.4.38.tar.gz
  161. cd libdrm-2.4.38
  162. ./configure
  163.  
  164. libdrm 2.4.38 will be compiled with:
  165.  
  166. libkms yes
  167. Intel API yes
  168. vmwgfx API no
  169. Radeon API yes
  170. Nouveau API yes
  171. OMAP API no
  172. EXYNOS API no
  173.  
  174. make
  175. sudo checkinstall
  176.  
  177. The package documentation directory ./doc-pak does not exist.
  178. Should I create a default set of package docs? [y]: y
  179.  
  180. Preparing package documentation...OK
  181.  
  182. Please write a description for the package.
  183. End your description with an empty line or EOF.
  184.  
  185. *****************************************
  186. **** Debian package creation selected ***
  187. *****************************************
  188.  
  189. This package will be built according to these values:
  190.  
  191. 0 - Maintainer: [ root@debian ]
  192. 1 - Summary: [ Package created with checkinstall 1.6.2 ]
  193. 2 - Name: [ libdrm ]
  194. 3 - Version: [ 2.4.38 ]
  195. 4 - Release: [ 1 ]
  196. 5 - License: [ GPL ]
  197. 6 - Group: [ checkinstall ]
  198. 7 - Architecture: [ i386 ]
  199. 8 - Source location: [ libdrm-2.4.38 ]
  200. 9 - Alternate source location: [ ]
  201. 10 - Requires: [ ]
  202. 11 - Provides: [ libdrm ]
  203. 12 - Conflicts: [ ]
  204. 13 - Replaces: [ ]
  205.  
  206. Enter a number to change any of them or press ENTER to continue:
  207. [Enter]
  208. ___
  209. ~/Mesa-9.0.1$
  210. ./configure
  211.  
  212. checking for INTEL... yes
  213. checking for NOUVEAU... yes
  214. checking for RADEON... no
  215. configure: error: Package requirements (libdrm_radeon >= 2.4.39) were not met:
  216. Requested 'libdrm_radeon >= 2.4.39' but version of libdrm_radeon is 2.4.38
  217. ___
  218. sudo dpkg -r libdrm
  219. wget -c http://dri.freedesktop.org/libdrm/libdrm-2.4.39.tar.gz
  220. tar xvf libdrm-2.4.39.tar.gz
  221. cd libdrm-2.4.39
  222. ./configure
  223.  
  224. libdrm 2.4.39 will be compiled with:
  225.  
  226. libkms yes
  227. Intel API yes
  228. vmwgfx API no
  229. Radeon API yes
  230. Nouveau API yes
  231. OMAP API no
  232. EXYNOS API no
  233.  
  234. make
  235. (!Nem patchelve: "unused-function warning"
  236. Patchwork [libdrm,RESEND] radeon: fix unused-function warning
  237. radeon_cs_gem.c:333:13: warning: 'cs_gem_dump_bof' defined but not used [-Wunused-function]
  238. https://patchwork.kernel.org/patch/1586861/)
  239. sudo checkinstall
  240. ___
  241. ~/Mesa-9.0.1$
  242. ./configure
  243.  
  244. checking for LIBUDEV... no
  245. checking for XCB_DRI2... no
  246. configure: error: Package requirements (x11-xcb xcb-dri2 xcb-xfixes) were not met:
  247. No package 'xcb-dri2' found
  248. No package 'xcb-xfixes' found
  249. sudo apt-get install libxcb-dri2-0-dev libxcb-xfixes0-dev
  250. Az alábbi ÚJ csomagok lesznek telepítve:
  251. libxcb-dri2-0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
  252. ___
  253. ~/Mesa-9.0.1$
  254. ./configure
  255. checking for LIBUDEV... no
  256. sudo apt-get install libudev-dev
  257. checking for llvm-config... no
  258. configure: error: LLVM is required to build Gallium R300 on x86 and x86_64
  259. sudo apt-get install llvm
  260. Az alábbi ÚJ csomagok lesznek telepítve:
  261. libffi-dev libllvm3.0 llvm llvm-3.0 llvm-3.0-dev llvm-3.0-runtime llvm-runtime
  262. ___
  263. ~/Mesa-9.0.1$
  264. ./configure
  265.  
  266. prefix: /usr/local
  267. exec_prefix: ${prefix}
  268. libdir: ${exec_prefix}/lib
  269. includedir: ${prefix}/include
  270.  
  271. OpenGL: yes (ES1: no ES2: no)
  272. OpenVG: no
  273.  
  274. OSMesa: no
  275. DRI drivers: i915 i965 nouveau r200 radeon swrast
  276. DRI driver dir: ${libdir}/dri
  277. GLX: DRI-based
  278.  
  279. EGL: yes
  280. EGL platforms: x11
  281. EGL drivers: builtin:egl_glx builtin:egl_dri2
  282.  
  283. llvm: yes
  284. llvm-config: /usr/bin/llvm-config
  285. llvm-version: 3.0
  286.  
  287. Gallium: yes
  288. Gallium dirs: auxiliary drivers state_trackers
  289. Target dirs: dri-r300 dri-r600 dri-swrast dri-vmwgfx
  290. Winsys dirs: radeon/drm svga/drm sw sw/dri
  291. Driver dirs: galahad identity llvmpipe noop r300 r600 rbug softpipe svga trace
  292. Trackers dirs: dri
  293.  
  294. Shared libs: yes
  295. Static libs: no
  296. Shared-glapi: yes
  297.  
  298. CFLAGS: -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -fPIC
  299. CXXFLAGS: -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp -fPIC
  300. 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
  301.  
  302. PYTHON2: python
  303.  
  304. Run 'make' to build Mesa
  305.  
  306. Az ám, csak közben rájöttem van debuild parancs is.
  307.  
  308. Próbáljuk a debuild-et ... nincs.
  309. http://www.debian.org/doc/manuals/maint-guide/build.en.html
  310. http://man.he.net/man1/debuild
  311. Van:
  312. sudo apt-get install devscripts
  313. Az alábbi ÚJ csomagok lesznek telepítve:
  314. 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
  315.  
  316. Na mindegy, nem megy:
  317. make
  318. make: *** [Makefile.in] Error 1
  319. és
  320. debuild
  321. debuild: fatal error at line 629:
  322. cannot find readable debian/changelog anywhere!
  323. Nincs debian könyvtár a forrásban ...
  324. ___
  325. ~/Mesa-9.0.1$
  326.  
  327. ./configure
  328. make
  329. "lib/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
  330. lib/Makefile.am:1: The usual way to define `LIBTOOL' is to add
  331. `AC_PROG_LIBTOOL'
  332. lib/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf'
  333. again.
  334. lib/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
  335. lib/Makefile.am:1: its definition is in aclocal's search path."
  336. autoreconf --install
  337. sudo apt-get install --reinstall automake libtool
  338. Az alábbi ÚJ csomagok lesznek telepítve:
  339. libltdl-dev libtool
  340. (a libtool csomag nem volt telepítve)
  341. http://lists.gnu.org/archive/html/libtool/2011-01/msg00013.html
  342. ___
  343. ~/Mesa-9.0.1$
  344. ./configure
  345.  
  346. ./configure: line 4533: syntax error near unexpected token `2.2'
  347. ./configure: line 4533: `LT_PREREQ(2.2)'
  348. MESA könyvtár törlése, majd
  349. tar xvf MesaLib-9.0.1.tar.gz
  350. cd Mesa-9.0.1/
  351. ./configure
  352. make
  353. No base converter for type 'GLint' found. Ignoring.
  354. ...
  355. https://bugs.freedesktop.org/show_bug.cgi?id=55452#c2
  356. sudo apt-get install xserver-xorg-video-glint
  357. ___
  358. MESA ...:
  359. 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
  360. Az alábbi ÚJ csomagok lesznek telepítve:
  361. 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
  362. ___
  363. MESA könyvtár törlése, majd
  364. tar xvf MesaLib-9.0.1.tar.gz
  365. cd Mesa-9.0.1/
  366. ./configure
  367. make
  368.  
  369. Making all in mesa
  370. make[2]: Entering directory `/home/kim/Mesa-9.0.1/src/mesa'
  371. updating main/git_sha1.h
  372. GEN main/api_exec_es1_dispatch.h
  373. GEN main/api_exec_es1_remap_helper.h
  374. GEN main/api_exec_es1.c
  375. Error: unable to dicide the max size of params in Fogxv
  376. Error: unable to dicide the max size of params in GetLightxv
  377. Error: unable to dicide the max size of params in GetMaterialxv
  378. Error: unable to dicide the max size of params in GetTexEnvxv
  379. Error: unable to dicide the max size of params in GetTexGenivOES
  380. No base converter for type 'GLint' found. Ignoring.
  381. Error: unable to dicide the max size of params in GetTexGenxvOES
  382. Error: unable to dicide the max size of params in GetTexParameterxv
  383. Error: unable to dicide the max size of params in LightModelxv
  384. Error: unable to dicide the max size of params in Lightxv
  385. Error: unable to dicide the max size of params in Materialxv
  386. Error: unable to dicide the max size of params in PointParameterxv
  387. Error: unable to dicide the max size of params in TexEnvxv
  388. No base converter for type 'GLint' found. Ignoring.
  389. Error: unable to dicide the max size of params in TexGenivOES
  390. No base converter for type 'GLint' found. Ignoring.
  391. Error: unable to dicide the max size of params in TexGenxvOES
  392. Error: unable to dicide the max size of params in TexParameterxv
  393. make all-recursive
  394.  
  395. ... végülis kivártam a make folyamatot és
  396. sudo checkinstall -D
  397.  
  398. ___
  399. Valami ilyesmit kéne látnom :)
  400. http://cook.slitaz.org/?pkg=mesa
Advertisement
Add Comment
Please, Sign In to add comment