|
InstallingFromSVN
How to download, build, and install Tessa from SVN
IntroductionThe Tessa SVN repository is where the Tessa development team keep a 'master copy' of Tessa's source code. This includes code that may not have been tested and released. If you find a problem however, please do report it to our bug tracker! Ubuntu (All versions)Note: This article assumes that you are using the terminal command line to follow these steps. Installing required filesInstall the necessary libraries that Tessa depends upon, and the tools needed to download/build Tessa: sudo aptitude install build-essential libwxgtk2.6-0 libwxgtk2.6-dev wx2.6-headers wx-common subversion liblua5.1-dev liblua5.1 NoteWhen not installing in the usual location (/bin,/usr/local,/usr/include, but some other path like /usr/local/): You might need to log out and back in, or start a new terminal emulator after you install packages suck as gloox or wxgtk, before you run the script that builds the gloox bindings, because you might not have gloox-config in your PATH. Otherwise edit your PATH environment variable and you don't have to log out and back in. Download the sourcemkdir ~/Development svn co http://tessa.googlecode.com/svn/trunk/ ~/Development/tessa Build using the command lineBuild (compile) Tessacd ~/Development/tessa/src g++ *.cpp -I/usr/include/lua5.1 `wx-config --cxxflags --libs`-llua5.1 -o tessa Update: For the new network access, you must build and install the gloox bindings. See BuildingGlooxBindings for simple instructions. Run!cd ~/Development/tessa ./tessa Build using Code::BlocksDownload a .deb file (installer) for Code::Blocks here: http://forums.codeblocks.org/index.php?board=20.0 When prompted, open the .deb file. Click 'Install package'. If you want debugger support, in Terminal type: sudo aptitude install gdb Now, run Code::Blocks from your Applications menu (it will be under 'Development' or 'Programming'). In Code::Blocks, select 'File'->'Open...'. Locate Development/tessa folder in your home folder. Open tessa.cbp. On the 'Build' menu select 'Build and Run'. Enjoy! Update: The gloox Lua bindings are needed for Tessa to connect to Jabber. See BuildingGlooxBindings for more info. All other systemsInstall Ubuntu, and carry out previous steps :P Troubleshootingliblua5.1.a not foundOn some systems (gentoo, at least) the liblua binary is named differently. Assuming your libraries are in /usr/lib/, type the following: ln -s /usr/lib/liblua.a /usr/lib/liblua5.1.a Problems building in Terminal/command lineIf you have problems, make sure that you typed every command as it is here, copy/paste if you can. |
Sign in to add a comment