Advertisement
Guest User

irssi compiling for rpi

a guest
Apr 14th, 2015
570
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. setting up the new irssi for RPI
  2.  
  3. pi@raspberrypi ~ $ mkdir compile
  4. pi@raspberrypi ~ $ cd compile/
  5. pi@raspberrypi ~/compile $ wget http://www.irssi.org/files/irssi-0.8.17.tar.gz
  6.  
  7. 100%[======================================>] 1,460,897 55.4K/s in 21s
  8.  
  9. pi@raspberrypi ~/compile $ tar -zxf irssi-0.8.17.tar.gz
  10. pi@raspberrypi ~/compile $ cd irssi-0.8.17/
  11. pi@raspberrypi ~/compile/irssi-0.8.17 $ ./configure
  12.  
  13. ...
  14.  
  15. *** sudo apt-get install libglib2.0-dev
  16.  
  17. configure: error: GLIB is required to build irssi.
  18. pi@raspberrypi ~/compile/irssi-0.8.17 $ sudo apt-get install libglib2.0-dev
  19.  
  20. --- installing glib (and probably perl, don't know yet)
  21.  
  22. ----configuring again
  23.  
  24. Configure ran completely and totally. All went well, but there was a brainfart..
  25.  
  26. pi@raspberrypi ~/compile/irssi-0.8.17 $ make -j 4
  27.  
  28. -----^ use 4 threads to compile (for the 4 cores)
  29.  
  30. robo@raspberrypi ~ $ uptime
  31. 22:29:33 up 1 day, 6:45, 3 users, load average: 4.47, 2.68, 1.54
  32. robo@raspberrypi ~ $
  33.  
  34. -- temp check
  35.  
  36. robo@raspberrypi ~ $ cat /sys/class/thermal/thermal_zone0/temp
  37. 44388
  38. ======= 44.3 C
  39.  
  40. robo@raspberrypi ~ $ /opt/vc/bin/vcgencmd measure_temp
  41. temp=44.4'C
  42.  
  43. -----^---- GPU temp
  44.  
  45. --- compile completed. uninstall screen and irssi (old version) to install freshly compiled irssi and TMUX as a screen replacement.
  46.  
  47. pi@raspberrypi ~/compile/irssi-0.8.17 $ sudo apt-get remove irssi
  48. pi@raspberrypi ~/compile/irssi-0.8.17 $ sudo apt-get install tmux
  49.  
  50.  
  51. pi@raspberrypi ~/compile/irssi-0.8.17 $ sudo make install
  52.  
  53. *installs the new irssi. Here was the problem. I didn't see PERL wasn't installed properly!
  54.  
  55. pi@raspberrypi ~/compile/irssi-0.8.17 $ make clean
  56. ***^ cleans up deps/bins to reconfigure
  57.  
  58. pi@raspberrypi ~/compile/irssi-0.8.17 $ sudo apt-get install libperl-dev
  59. ---- installs dev files for PERL, so that irssi scripts work.
  60.  
  61. ---- Now just go through and ./configure and make SURE when it tests PERL that it sees the libraries properly.
  62. ---- I lost the log for what to look for, sorry :/
  63.  
  64. pi@raspberrypi ~/compile/irssi-0.8.17 $ make -j 4
  65.  
  66. pi@raspberrypi ~/compile/irssi-0.8.17 $ sudo make install
  67.  
  68. Now you've upgraded your IRSSI to the newest version instead of a 4 year old version that comes from the package manager! Enjoy!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement