Compiling Bluefish from source: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Compiling bluefish 2.0 from source tarballs =
= Compiling bluefish from source tarballs =


== installing the requirements ==
== installing the requirements ==
Line 8: Line 8:


Library / header file requirements:
Library / header file requirements:
* gtk2 + development files (sometimes called libgtk2.0-dev or libgtk2-devel)
* gtk+ 2 or 3 development files (sometimes called libgtk2.0-dev or libgtk2-devel, or libgtk-3-dev)
* libxml2 development files (sometimes called libxml2-dev or libxml2-devel)


Optional libraries / header files:
Optional libraries / header files:
* libenchant + development files (for spell checking)
* libenchant + development files (for spell checking, libenchant-dev)
* libgucharmap + development files (for the character map side pane plugin)
* libgucharmap + development files (for the character map side pane plugin, libgucharmap-dev)
* python development files (python-dev or python-devel)


=== Debian and Ubuntu packages required ===
=== Debian and Ubuntu packages required ===
* automake
* autoconf
* make
* make
* gcc
* libtool
* libgtk2.0-dev
* intltool
* libgtk-3-dev
* libxml2-dev
* libxml2-dev
and optional
and optional
* libenchant-dev
* libenchant-dev
* libgucharmap2-dev
* libgucharmap-2-90-dev
* python-dev


== Getting and compiling ==
== Getting and compiling ==
* get the latest source from http://www.bennewitz.com/bluefish/stable/source/
* get the latest source from http://www.bennewitz.com/bluefish/stable/source/
* unpack  
* unpack  
** for a gzipped file '''tar -xzf bluefish-2.0.xxxx.tar.gz'''
** for a gzipped file '''tar -xzf bluefish-2.2.xxxx.tar.gz'''
** for a bzipped file '''tar -xjf bluefish-2.0.xxxx.tar.bz2'''
** for a bzipped file '''tar -xjf bluefish-2.2.xxxx.tar.bz2'''
* '''cd bluefish-2.0.xxxx'''
* '''cd bluefish-2.2.xxxx'''
* run '''./configure'''
* run '''./configure'''
* run '''make'''
* run '''make'''
Line 49: Line 55:
* autoconf
* autoconf
* make
* make
* libgtk2.0-dev
* libgtk-3-dev
* libenchant-dev
* libenchant-dev
* libgucharmap2-dev
* libgucharmap-2-90-dev
* libxml2-dev
* libxml2-dev
* subversion
* subversion
* python-dev

Revision as of 20:21, 1 October 2014

Compiling bluefish from source tarballs

installing the requirements

Build requirements:

  • a C compiler (for example gcc or clang-gcc)
  • gnu make

Library / header file requirements:

  • gtk+ 2 or 3 development files (sometimes called libgtk2.0-dev or libgtk2-devel, or libgtk-3-dev)
  • libxml2 development files (sometimes called libxml2-dev or libxml2-devel)

Optional libraries / header files:

  • libenchant + development files (for spell checking, libenchant-dev)
  • libgucharmap + development files (for the character map side pane plugin, libgucharmap-dev)
  • python development files (python-dev or python-devel)

Debian and Ubuntu packages required

  • automake
  • autoconf
  • make
  • libtool
  • intltool
  • libgtk-3-dev
  • libxml2-dev

and optional

  • libenchant-dev
  • libgucharmap-2-90-dev
  • python-dev

Getting and compiling

  • get the latest source from http://www.bennewitz.com/bluefish/stable/source/
  • unpack
    • for a gzipped file tar -xzf bluefish-2.2.xxxx.tar.gz
    • for a bzipped file tar -xjf bluefish-2.2.xxxx.tar.bz2
  • cd bluefish-2.2.xxxx
  • run ./configure
  • run make
  • switch to root and run make install

Compiling bluefish straight from subversion

Building (assumes required packages have been installed)

svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish
cd bluefish
./autogen.sh
./configure
make
sudo make install


Debian and Ubuntu packages required to build from subversion

  • libtool
  • intltool
  • automake
  • autoconf
  • make
  • libgtk-3-dev
  • libenchant-dev
  • libgucharmap-2-90-dev
  • libxml2-dev
  • subversion
  • python-dev