Difference between revisions of "Category:Compiling Mudlet"

From Mudlet
Jump to navigation Jump to search
(Created page with " == Compiling on Ubuntu 11.10 == 1. Installing the needed packages <nowiki>sudo apt-get install build-essential qt4-dev-tools lua5.1 liblua5.1-0-dev libpcre3-dev libboost1.46-d...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  
== Compiling on Ubuntu 11.10 ==
 
 
1. Installing the needed packages
 
 
<nowiki>sudo apt-get install build-essential qt4-dev-tools lua5.1 liblua5.1-0-dev libpcre3-dev libboost1.46-dev zlib1g-dbg zlib1g-dev libyajl1 libyajl-dev libyajl1-dbg liblua5.1-rex-pcre0 liblua5.1-sql-sqlite3-2 liphonon-dev libhunspell-dev libzzip-dev</nowiki>
 
 
2. go to the src folder
 
 
3. editing src.pro like so:
 
 
replace the corresponding part near the beginning of the file with this:
 
 
<nowiki>LIBLUA = -llua5.1
 
!exists(/usr/lib/i386-linux-gnu/liblua5.1.a):LIBLUA = -llua
 
 
# automatically link to LuaJIT if it exists
 
exists(/usr/lib/i386-linux-gnu/libluajit-5.1.a):LIBLUA = -L/usr/lib/i386-linux-gnu/ -lluajit-5.1</nowiki>
 
 
4. run the following commands
 
<nowiki>
 
qmake-qt4
 
make
 
sudo make install
 
</nowiki>
 
 
5. enjoy
 

Latest revision as of 03:38, 5 November 2011

This category currently contains no pages or media.