Compiling Bluefish from source: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
(Created page with '= Compiling bluefish 2.0 from source = === installing the requirements === Build requirements: * a C compiler (for example gcc or clang-gcc) * gnu make Library / header file…')
 
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Compiling bluefish 2.0 from source =
= Compiling bluefish from source tarballs =


=== installing the requirements ===
== installing the requirements ==


Build requirements:
Build requirements:
* a C compiler (for example gcc or clang-gcc)
* a C compiler (for example gcc or clang-gcc)
* gnu make
* gnu make


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)
* pcre + development files (sometimes called libpcre3-dev or pcre-devel)
* 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)


=== Getting and compiling ===
=== Debian and Ubuntu packages required ===
  * get the latest source from http://www.bennewitz.com/bluefish/stable/source/
<pre>
* unpack
apt install automake autoconf make libtool intltool libgtk-3-dev libxml2-dev libenchant-2-dev libgucharmap-2-90-dev python3-dev
  * for a gzipped file tar -xzf bluefish-2.0.xxxx.tar.gz
</pre>
  * for a bzipped file tar -xjf bluefish-2.0.xxxx.tar.bz2
==== Debian / Ubuntu packages for the upcoming 2.2.14 release  ====
* run ./configure
<pre>
* run make
apt install automake autoconf make libtool autopoint libgtk-3-dev libxml2-dev libenchant-2-dev libgucharmap-2-90-dev python3-dev
* switch to root and run make install
</pre>
=== Fedora packages required ===
<pre>
dnf install automake autoconf libtool gtk3-devel enchant2-devel libxml2-devel gucharmap-devel python3-devel gettext-devel
</pre>


= Compiling bluefish 1.0 from source =
== 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'''


TODO
= Compiling bluefish straight from subversion =
=== Building (assumes required packages have been installed) ===
{{SVN|checkout}}
cd bluefish-code/bluefish
./autogen.sh
./configure
make
sudo make install
 
=== Debian and Ubuntu packages required to build from subversion ===
<pre>
apt install libtool autopoint automake autoconf make libgtk-3-dev libenchant-2-dev libgucharmap-2-90-dev libxml2-dev subversion python3-dev
</pre>

Latest revision as of 13:57, 5 May 2023

Compiling bluefish from source tarballs[edit]

installing the requirements[edit]

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[edit]

apt install  automake autoconf make libtool intltool libgtk-3-dev libxml2-dev libenchant-2-dev libgucharmap-2-90-dev python3-dev

Debian / Ubuntu packages for the upcoming 2.2.14 release[edit]

apt install automake autoconf make libtool autopoint libgtk-3-dev libxml2-dev libenchant-2-dev libgucharmap-2-90-dev python3-dev

Fedora packages required[edit]

dnf install automake autoconf libtool gtk3-devel enchant2-devel libxml2-devel gucharmap-devel python3-devel gettext-devel

Getting and compiling[edit]

  • 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[edit]

Building (assumes required packages have been installed)[edit]

svn checkout https://svn.code.sf.net/p/bluefish/code/trunk bluefish-code
cd bluefish-code/bluefish
./autogen.sh
./configure
make
sudo make install

Debian and Ubuntu packages required to build from subversion[edit]

apt install libtool autopoint automake autoconf make libgtk-3-dev libenchant-2-dev libgucharmap-2-90-dev libxml2-dev subversion python3-dev