Advertisement
Guest User

get-install-linux-source

a guest
Feb 14th, 2012
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.56 KB | None | 0 0
  1. tux@slitaz:~$ su
  2. Password:
  3. root@slitaz:~# tazpkg get-install linux-source
  4.  
  5. Connecting to mirror.slitaz.org (94.23.209.91:80)
  6. linux-source-2.6.37. 100% |*******************************| 74604 --:--:-- ETA
  7. Tracking dependencies for : linux-source
  8. ================================================================================
  9. Missing: slitaz-toolchain
  10. Missing: ncurses-dev
  11. Missing: perl
  12. ================================================================================
  13. 3 missing package(s) to install.
  14.  
  15. Connecting to mirror.slitaz.org (94.23.209.91:80)
  16. slitaz-toolchain-4.0 100% |*******************************| 4668 --:--:-- ETA
  17. Tracking dependencies for : slitaz-toolchain
  18. ================================================================================
  19. Missing: binutils
  20. Missing: linux-api-headers
  21. Missing: glibc-dev
  22. Missing: gcc
  23. Missing: make
  24. Missing: elfkickers
  25. ================================================================================
  26. 6 missing package(s) to install.
  27.  
  28. Connecting to mirror.slitaz.org (94.23.209.91:80)
  29. binutils-2.21.tazpkg 100% |*******************************| 1084k 00:00:00 ETA
  30. Tracking dependencies for : binutils
  31. ================================================================================
  32. Missing: glibc
  33. ================================================================================
  34. 1 missing package(s) to install.
  35.  
  36. Connecting to mirror.slitaz.org (94.23.209.91:80)
  37. glibc-2.13.tazpkg 100% |*******************************| 5196 --:--:-- ETA
  38. Tracking dependencies for : glibc
  39. ================================================================================
  40. Missing: glibc-locale
  41. Missing: glibc-dev
  42. ================================================================================
  43. 2 missing package(s) to install.
  44.  
  45. Connecting to mirror.slitaz.org (94.23.209.91:80)
  46. glibc-locale-2.13.ta 100% |*******************************| 4202k 00:00:00 ETA
  47. Tracking dependencies for : glibc-locale
  48. ================================================================================
  49. Missing: glibc-extra-samba
  50. ================================================================================
  51. 1 missing package(s) to install.
  52.  
  53. Connecting to mirror.slitaz.org (94.23.209.91:80)
  54. glibc-extra-samba-2. 100% |*******************************| 46208 00:00:00 ETA
  55.  
  56. Installation of : glibc-extra-samba
  57. ================================================================================
  58. Copying glibc-extra-samba... [ OK ]
  59. Extracting glibc-extra-samba... [ OK ]
  60. Extracting the pseudo fs... (lzma) [ OK ]
  61. Installing glibc-extra-samba... [ OK ]
  62. Removing all tmp files... [ OK ]
  63. ================================================================================
  64. glibc-extra-samba (2.13) is installed.
  65.  
  66.  
  67. Installation of : glibc-locale
  68. ================================================================================
  69. Copying glibc-locale... [ OK ]
  70. Extracting glibc-locale... [ OK ]
  71. Extracting the pseudo fs... (lzma) [ OK ]
  72. Installing glibc-locale... [ OK ]
  73. Removing all tmp files... [ OK ]
  74. ================================================================================
  75. glibc-locale (2.13) is installed.
  76.  
  77.  
  78. Connecting to mirror.slitaz.org (94.23.209.91:80)
  79. glibc-dev-2.13.tazpk 100% |*******************************| 1486k 00:00:00 ETA
  80.  
  81. Installation of : glibc-dev
  82. ================================================================================
  83. Copying glibc-dev... [ OK ]
  84. Extracting glibc-dev... [ OK ]
  85. Extracting the pseudo fs... (lzma) [ OK ]
  86. Installing glibc-dev... [ OK ]
  87. Removing all tmp files... [ OK ]
  88. ================================================================================
  89. glibc-dev (2.13) is installed.
  90.  
  91.  
  92. Installation of : glibc
  93. ================================================================================
  94. Copying glibc... [ OK ]
  95. Extracting glibc... [ OK ]
  96. Extracting the pseudo fs... (lzma) [ OK ]
  97. Installing glibc... [ OK ]
  98. Removing all tmp files... [ OK ]
  99. ================================================================================
  100. glibc (2.13) is installed.
  101.  
  102.  
  103. Installation of : binutils
  104. ================================================================================
  105. Copying binutils... [ OK ]
  106. Extracting binutils... [ OK ]
  107. Extracting the pseudo fs... (lzma) [ OK ]
  108. Installing binutils... [ OK ]
  109. Removing all tmp files... [ OK ]
  110. ================================================================================
  111. binutils (2.21) is installed.
  112.  
  113.  
  114. Connecting to mirror.slitaz.org (94.23.209.91:80)
  115. linux-api-headers-2. 100% |*******************************| 631k 00:00:00 ETA
  116.  
  117. Installation of : linux-api-headers
  118. ================================================================================
  119. Copying linux-api-headers... [ OK ]
  120. Extracting linux-api-headers... [ OK ]
  121. Extracting the pseudo fs... (lzma) [ OK ]
  122. Installing linux-api-headers... [ OK ]
  123. Removing all tmp files... [ OK ]
  124. ================================================================================
  125. linux-api-headers (2.6.37) is installed.
  126.  
  127.  
  128. Connecting to mirror.slitaz.org (94.23.209.91:80)
  129. gcc-4.5.2.tazpkg 100% |*******************************| 9182k 00:00:00 ETA
  130. Tracking dependencies for : gcc
  131. ================================================================================
  132. Missing: libgomp
  133. Missing: libobjc
  134. Missing: mpc-library
  135. Missing: elfutils
  136. ================================================================================
  137. 4 missing package(s) to install.
  138.  
  139. Connecting to mirror.slitaz.org (94.23.209.91:80)
  140. libgomp-4.5.2.tazpkg 100% |*******************************| 78652 --:--:-- ETA
  141.  
  142. Installation of : libgomp
  143. ================================================================================
  144. Copying libgomp... [ OK ]
  145. Extracting libgomp... [ OK ]
  146. Extracting the pseudo fs... (lzma) [ OK ]
  147. Installing libgomp... [ OK ]
  148. Removing all tmp files... [ OK ]
  149. ================================================================================
  150. libgomp (4.5.2) is installed.
  151.  
  152.  
  153. Connecting to mirror.slitaz.org (94.23.209.91:80)
  154. libobjc-4.5.2.tazpkg 100% |*******************************| 91340 00:00:00 ETA
  155.  
  156. Installation of : libobjc
  157. ================================================================================
  158. Copying libobjc... [ OK ]
  159. Extracting libobjc... [ OK ]
  160. Extracting the pseudo fs... (lzma) [ OK ]
  161. Installing libobjc... [ OK ]
  162. Removing all tmp files... [ OK ]
  163. ================================================================================
  164. libobjc (4.5.2) is installed.
  165.  
  166.  
  167. Connecting to mirror.slitaz.org (94.23.209.91:80)
  168. mpc-library-0.8.2.ta 100% |*******************************| 45716 --:--:-- ETA
  169. Tracking dependencies for : mpc-library
  170. ================================================================================
  171. Missing: mpfr
  172. Missing: gmp
  173. ================================================================================
  174. 2 missing package(s) to install.
  175.  
  176. Connecting to mirror.slitaz.org (94.23.209.91:80)
  177. mpfr-3.0.1.tazpkg 100% |*******************************| 105k 00:00:00 ETA
  178. Tracking dependencies for : mpfr
  179. ================================================================================
  180. Missing: gmp
  181. ================================================================================
  182. 1 missing package(s) to install.
  183.  
  184. Connecting to mirror.slitaz.org (94.23.209.91:80)
  185. gmp-5.0.1.tazpkg 100% |*******************************| 137k 00:00:00 ETA
  186.  
  187. Installation of : gmp
  188. ================================================================================
  189. Copying gmp... [ OK ]
  190. Extracting gmp... [ OK ]
  191. Extracting the pseudo fs... (lzma) [ OK ]
  192. Installing gmp... [ OK ]
  193. Removing all tmp files... [ OK ]
  194. ================================================================================
  195. gmp (5.0.1) is installed.
  196.  
  197.  
  198. Installation of : mpfr
  199. ================================================================================
  200. Copying mpfr... [ OK ]
  201. Extracting mpfr... [ OK ]
  202. Extracting the pseudo fs... (lzma) [ OK ]
  203. Installing mpfr... [ OK ]
  204. Removing all tmp files... [ OK ]
  205. ================================================================================
  206. mpfr (3.0.1) is installed.
  207.  
  208.  
  209. Installation of : mpc-library
  210. ================================================================================
  211. Copying mpc-library... [ OK ]
  212. Extracting mpc-library... [ OK ]
  213. Extracting the pseudo fs... (lzma) [ OK ]
  214. Installing mpc-library... [ OK ]
  215. Removing all tmp files... [ OK ]
  216. ================================================================================
  217. mpc-library (0.8.2) is installed.
  218.  
  219.  
  220. Connecting to mirror.slitaz.org (94.23.209.91:80)
  221. elfutils-0.150.tazpk 100% |*******************************| 166k 00:00:00 ETA
  222.  
  223. Installation of : elfutils
  224. ================================================================================
  225. Copying elfutils... [ OK ]
  226. Extracting elfutils... [ OK ]
  227. Extracting the pseudo fs... (lzma) [ OK ]
  228. Installing elfutils... [ OK ]
  229. Removing all tmp files... [ OK ]
  230. ================================================================================
  231. elfutils (0.150) is installed.
  232.  
  233.  
  234. Installation of : gcc
  235. ================================================================================
  236. Copying gcc... [ OK ]
  237. Extracting gcc... [ OK ]
  238. Extracting the pseudo fs... (lzma) [ OK ]
  239. Installing gcc... [ OK ]
  240. Removing all tmp files... [ OK ]
  241. Processing post-install commands...
  242. ================================================================================
  243. gcc (4.5.2) is installed.
  244.  
  245.  
  246. Connecting to mirror.slitaz.org (94.23.209.91:80)
  247. make-3.82.tazpkg 100% |*******************************| 70164 --:--:-- ETA
  248.  
  249. Installation of : make
  250. ================================================================================
  251. Copying make... [ OK ]
  252. Extracting make... [ OK ]
  253. Extracting the pseudo fs... (lzma) [ OK ]
  254. Installing make... [ OK ]
  255. Removing all tmp files... [ OK ]
  256. ================================================================================
  257. make (3.82) is installed.
  258.  
  259.  
  260. Connecting to mirror.slitaz.org (94.23.209.91:80)
  261. elfkickers-3.0.tazpk 100% |*******************************| 43664 --:--:-- ETA
  262.  
  263. Installation of : elfkickers
  264. ================================================================================
  265. Copying elfkickers... [ OK ]
  266. Extracting elfkickers... [ OK ]
  267. Extracting the pseudo fs... (lzma) [ OK ]
  268. Installing elfkickers... [ OK ]
  269. Removing all tmp files... [ OK ]
  270. ================================================================================
  271. elfkickers (3.0) is installed.
  272.  
  273.  
  274. Installation of : slitaz-toolchain
  275. ================================================================================
  276. Copying slitaz-toolchain... [ OK ]
  277. Extracting slitaz-toolchain... [ OK ]
  278. Extracting the pseudo fs... (lzma) [ OK ]
  279. Installing slitaz-toolchain... [ OK ]
  280. Removing all tmp files... [ OK ]
  281. ================================================================================
  282. slitaz-toolchain (4.0) is installed.
  283.  
  284.  
  285. Connecting to mirror.slitaz.org (94.23.209.91:80)
  286. ncurses-dev-5.9.tazp 100% |*******************************| 137k 00:00:00 ETA
  287. Tracking dependencies for : ncurses-dev
  288. ================================================================================
  289. Missing: ncursesw-dev
  290. ================================================================================
  291. 1 missing package(s) to install.
  292.  
  293. Connecting to mirror.slitaz.org (94.23.209.91:80)
  294. ncursesw-dev-5.9.taz 100% |*******************************| 198k 00:00:00 ETA
  295.  
  296. Installation of : ncursesw-dev
  297. ================================================================================
  298. Copying ncursesw-dev... [ OK ]
  299. Extracting ncursesw-dev... [ OK ]
  300. Extracting the pseudo fs... (lzma) [ OK ]
  301. Installing ncursesw-dev... [ OK ]
  302. Removing all tmp files... [ OK ]
  303. ================================================================================
  304. ncursesw-dev (5.9) is installed.
  305.  
  306.  
  307. Installation of : ncurses-dev
  308. ================================================================================
  309. Copying ncurses-dev... [ OK ]
  310. Extracting ncurses-dev... [ OK ]
  311. Extracting the pseudo fs... (lzma) [ OK ]
  312. Installing ncurses-dev... [ OK ]
  313. Removing all tmp files... [ OK ]
  314. ================================================================================
  315. ncurses-dev (5.9) is installed.
  316.  
  317.  
  318. Connecting to mirror.slitaz.org (94.23.209.91:80)
  319. perl-5.12.3.tazpkg 100% |*******************************| 7714k 00:00:00 ETA
  320. Tracking dependencies for : perl
  321. ================================================================================
  322. Missing: libdb
  323. Missing: gdbm
  324. ================================================================================
  325. 2 missing package(s) to install.
  326.  
  327. Connecting to mirror.slitaz.org (94.23.209.91:80)
  328. libdb-4.8.26.tazpkg 100% |*******************************| 396k 00:00:00 ETA
  329.  
  330. Installation of : libdb
  331. ================================================================================
  332. Copying libdb... [ OK ]
  333. Extracting libdb... [ OK ]
  334. Extracting the pseudo fs... (lzma) [ OK ]
  335. Installing libdb... [ OK ]
  336. Removing all tmp files... [ OK ]
  337. ================================================================================
  338. libdb (4.8.26) is installed.
  339.  
  340.  
  341. Connecting to mirror.slitaz.org (94.23.209.91:80)
  342. gdbm-1.10.tazpkg 100% |*******************************| 13612 --:--:-- ETA
  343.  
  344. Installation of : gdbm
  345. ================================================================================
  346. Copying gdbm... [ OK ]
  347. Extracting gdbm... [ OK ]
  348. Extracting the pseudo fs... (lzma) [ OK ]
  349. Installing gdbm... [ OK ]
  350. Removing all tmp files... [ OK ]
  351. ================================================================================
  352. gdbm (1.10) is installed.
  353.  
  354.  
  355. Installation of : perl
  356. ================================================================================
  357. Copying perl... [ OK ]
  358. Extracting perl... [ OK ]
  359. Extracting the pseudo fs... (lzma) [ OK ]
  360. Processing pre-install commands...
  361. Installing perl... [ OK ]
  362. Removing all tmp files... [ OK ]
  363. ================================================================================
  364. perl (5.12.3) is installed.
  365.  
  366.  
  367. Installation of : linux-source
  368. ================================================================================
  369. Copying linux-source... [ OK ]
  370. Extracting linux-source... [ OK ]
  371. Extracting the pseudo fs... (lzma) [ OK ]
  372. Installing linux-source... [ OK ]
  373. Removing all tmp files... [ OK ]
  374. ================================================================================
  375. linux-source (2.6.37) is installed.
  376.  
  377. root@slitaz:~# get-linux-source
  378. wget: bad address 'www.eu.kernel.org'
  379. Connecting to linux-kernel.uio.no (128.39.3.170:80)
  380. tar: warning: skipping header 'g'
  381. tar: short read
  382. Apply linux-diff-2.6.37.u
  383. patching file arch/x86/vdso/Makefile
  384. patching file scripts/Makefile.lib
  385. patch: can't open 'scripts/Makefile.lib': No such file or directory
  386. Apply linux-unlzma-2.6.37.u
  387. patching file init/initramfs.c
  388. patch: can't open 'init/initramfs.c': No such file or directory
  389. Apply linux-header-2.6.37.u
  390. patching file arch/x86/boot/header.S
  391. Apply linux-freeinitrd-2.6.37.u
  392. patching file arch/x86/mm/init.c
  393. patching file init/initramfs.c
  394. patch: can't open 'init/initramfs.c': No such file or directory
  395. Apply aufs2-base.patch
  396. patching file fs/namei.c
  397. patch: can't open 'fs/namei.c': No such file or directory
  398. Apply aufs2-standalone.patch
  399. patching file fs/file_table.c
  400. patching file fs/inode.c
  401. patching file fs/namei.c
  402. patch: can't open 'fs/namei.c': No such file or directory
  403. Apply 001-squashfs-decompressors-add-xz-decompressor-module.patch
  404. creating Documentation/xz.txt
  405. creating include/linux/xz.h
  406. patching file lib/Kconfig
  407. patch: can't open 'lib/Kconfig': No such file or directory
  408. Apply 002-squashfs-decompressors-add-boot-time-xz-support.patch
  409. creating include/linux/decompress/unxz.h
  410. patching file init/Kconfig
  411. patch: can't open 'init/Kconfig': No such file or directory
  412. Apply 003-squashfs-x86-support-xz-compressed-kernel.patch
  413. patching file Documentation/x86/boot.txt
  414. patching file arch/x86/Kconfig
  415. patching file arch/x86/boot/compressed/Makefile
  416. patching file arch/x86/boot/compressed/misc.c
  417. patching file arch/x86/boot/compressed/mkpiggy.c
  418. patching file arch/x86/include/asm/boot.h
  419. Apply 004-squashfs-add-xz-compression-support.patch
  420. patching file fs/squashfs/squashfs_fs.h
  421. patch: can't open 'fs/squashfs/squashfs_fs.h': No such file or directory
  422. Apply 005-squashfs-add-xz-compression-configuration-option.patch
  423. patching file fs/squashfs/Kconfig
  424. patch: can't open 'fs/squashfs/Kconfig': No such file or directory
  425. Makefile:314: /usr/src/linux-2.6.37/scripts/Kbuild.include: No such file or directory
  426. make: *** empty variable name. Stop.
  427. make: *** [scripts_basic] Error 2
  428. ----
  429. To modify the kernel configuration:
  430. $ cd /usr/src/linux-2.6.37
  431. $ make menuconfig
  432.  
  433. To build the kernel and the modules:
  434. $ cd /usr/src/linux-2.6.37
  435. $ make bzImage && make modules
  436.  
  437. To install the new kernel and the modules:
  438. $ make modules_install
  439. $ cp -a arch/x86/boot/bzImage /boot/vmlinuz-2.6.37-slitaz
  440.  
  441. To make a Slitaz package with the new kernel and the modules:
  442. $ make tazpkg
  443.  
  444. See /usr/src/linux-2.6.37/README
  445. ----
  446. root@slitaz:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement