Difference between revisions of "Anjuta"

From CBLFS
Jump to navigationJump to search
 
(Required)
 
(14 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://downloads.sourceforge.net/anjuta/anjuta-2.0.2.tar.gz
+
| http://ftp.gnome.org/pub/gnome/sources/anjuta/{{Anjuta-Version2}}/anjuta-{{Anjuta-Version}}.tar.bz2
 
|}
 
|}
  
 
----
 
----
  
== Introduction to Anjuta ==
+
{{Package-Introduction|Anjuta is a versatile IDE for C and C++, written for GTK/GNOME. Features include project management, application wizards, an onboard interactive debugger, and a powerful source editor with browsing and syntax highlighting.|http://anjuta.sourceforge.net/}}
 
 
Anjuta is a versatile IDE for C and C++, written for GTK/GNOME. Features include project management, application wizards, an onboard interactive debugger, and a powerful source editor with browsing and syntax highlighting.
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 15: Line 13:
 
=== Required ===
 
=== Required ===
 
* [[Gtk2]]
 
* [[Gtk2]]
* [[ORBit2]]
 
* [[libglade]]
 
* [[libgnome]]
 
 
* [[libgnomeui]]
 
* [[libgnomeui]]
* [[libgnomeprint]]
 
 
* [[libgnomeprintui]]
 
* [[libgnomeprintui]]
 
* [[GNOME Virtual File System]]
 
* [[GNOME Virtual File System]]
* [[GConf]]
 
 
* [[VTE]]
 
* [[VTE]]
 
* [[LibXML2]]
 
* [[LibXML2]]
* [[GDL]]
+
* [[GDL]] >= 0.7.3
 
* [[LibXSLT]]
 
* [[LibXSLT]]
 
* [[Autogen]]
 
* [[Autogen]]
 
* [[GNOME Build]]
 
* [[GNOME Build]]
 
* [[Pcre]]
 
* [[Pcre]]
 +
* [[libgda]]
 +
 
=== Recommended ===
 
=== Recommended ===
 
* [[Glade3]]
 
* [[Glade3]]
Line 39: Line 34:
 
* [[Gtk-Doc]]
 
* [[Gtk-Doc]]
 
* [[Subversion]]
 
* [[Subversion]]
 +
 +
== Configuration Information ==
 +
 +
On x86_64 you may have a problem building the [[Valgrind]] plugin because the libiberty.a provided by binutils was not compiled with -fPIC. You may see an error like the following.
 +
 +
/usr/bin/ld: /usr/lib64/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../lib64/libiberty.a(cplus-dem.o):
 +
relocation R_X86_64_32S against `_sch_istable' can not be used when making a shared object; recompile with
 +
-fPIC
 +
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../lib64/libiberty.a: could not read symbols: Bad
 +
value
 +
 +
The first solution is to disable the valgrind plugin by passing the following to configure:
 +
 +
--disable-plugin-valgrind
 +
 +
The second solution is to refer to the CLFS book to build Binutils and install the pic version of the libiberty.a library with the following command:
 +
 +
On Non-Multilib systems:
 +
 +
cp libiberty/pic/libiberty.a /usr/lib
 +
 +
On Multilib systems:
 +
 +
cp libiberty/pic/libiberty.a /usr/lib64
 +
 +
You may choose to disable other plugins as well:
 +
 +
{|style="text-align: left"
 +
|<i>--disable-plugin-devhelp:</i> Disable devhelp plugin support in Anjuta.
 +
|-
 +
|<i>--disable-plugin-glade:</i> Disable glade plugin support in Anjuta.
 +
|-
 +
|<i>--disable-graphviz:</i> Disable GraphViz support in Anjuta.
 +
|-
 +
|<i>--disable-plugin-sourceview:</i> Disable gtksourceview based editor in Anjuta.
 +
|-
 +
|<i>--disable-plugin-scintilla:</i> Disable Scintilla based editor in Anjuta.
 +
|-
 +
|<i>--disable-plugin-valgrind:</i> Disable Valgrind plugin.
 +
|-
 +
|<i>--disable-schemas-install:</i> Disable the schemas installation.
 +
|-
 +
|<i>--disable-plugin-subversion:</i> Disable subversion support in Anjuta.
 +
|-
 +
|<i>--enable-gtk-doc:</i> use gtk-doc to build documentation.
 +
|}
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 44: Line 85:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=${GNOME_PREFIX} &&
+
  ./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome &&
 
  make
 
  make
  
Install the package
+
Install the package:
  
 
  make install
 
  make install
  
 
== Multilib ==
 
== Multilib ==
 +
'''''Although this package provides libraries, they appear to be specific to this package, so only one installation is needed.'''''
  
 
=== 32Bit ===
 
=== 32Bit ===
Line 57: Line 99:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" \
+
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" &&
PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" \
+
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
  ./configure --prefix=${GNOME_PREFIX} &&
+
  ./configure --prefix=${GNOME_PREFIX} \
 +
    --sysconfdir=/etc/gnome &&
 
  make
 
  make
  
Install the package
+
Install the package:
  
  make install
+
  make install &&
 +
unset PKG_CONFIG_PATH
  
 
=== N32 ===
 
=== N32 ===
Line 70: Line 114:
 
Compile the package:
 
Compile the package:
  
 +
export PKG_CONFIG_PATH="$PKG_CONFIG_PATHN32" &&
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
PKG_CONFIG_PATH="$PKG_CONFIG_PATHN32" \
 
 
  ./configure --prefix=${GNOME_PREFIX} \
 
  ./configure --prefix=${GNOME_PREFIX} \
     --libdir=${GNOME_PREFIX}/lib32 &&
+
     --libdir=${GNOME_PREFIX}/lib32 \
 +
    --sysconfdir=/etc/gnome &&
 
  make
 
  make
  
Install the package
+
Install the package:
  
  make install
+
  make install &&
 +
unset PKG_CONFIG_PATH
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 84: Line 130:
 
Compile the package:
 
Compile the package:
  
 +
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" &&
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" \
 
 
  ./configure --prefix=${GNOME_PREFIX} \
 
  ./configure --prefix=${GNOME_PREFIX} \
     --libdir=${GNOME_PREFIX}/lib64 &&
+
     --libdir=${GNOME_PREFIX}/lib64 \
 +
    --sysconfdir=/etc/gnome &&
 
  make
 
  make
  
Install the package
+
Install the package:
  
  make install
+
  make install &&
 +
unset PKG_CONFIG_PATH
  
 
= Contents =
 
= Contents =
Line 99: Line 147:
 
|-valign="top"
 
|-valign="top"
 
! Installed Programs:
 
! Installed Programs:
|  
+
| anjuta anjuta_import.sh anjuta_launcher anjuta-shell anjuta-tags create_global_tags.sh test_tm_buffer
 
|-valign="top"
 
|-valign="top"
 
! Installed Libraries:
 
! Installed Libraries:
|  
+
| libanjuta-ctags.so libanjuta-egg.so libanjuta-interfaces.so libanjuta.so
 
|-valign="top"
 
|-valign="top"
 
! Installed Directory:
 
! Installed Directory:
|  
+
| ${GNOME_PREFIX}/lib/anjuta ${GNOME_PREFIX}/share/anjuta
 
|}
 
|}
  
 
=== Short Descriptions ===
 
=== Short Descriptions ===
 +
 +
[[Category:Programming]]

Latest revision as of 09:41, 31 January 2010

Download Source: http://ftp.gnome.org/pub/gnome/sources/anjuta/2.26/anjuta-2.26.2.2.tar.bz2

Introduction to Anjuta

Anjuta is a versatile IDE for C and C++, written for GTK/GNOME. Features include project management, application wizards, an onboard interactive debugger, and a powerful source editor with browsing and syntax highlighting.

Project Homepage: http://anjuta.sourceforge.net/

Dependencies

Required

Recommended

Optional

Configuration Information

On x86_64 you may have a problem building the Valgrind plugin because the libiberty.a provided by binutils was not compiled with -fPIC. You may see an error like the following.

/usr/bin/ld: /usr/lib64/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../lib64/libiberty.a(cplus-dem.o):
relocation R_X86_64_32S against `_sch_istable' can not be used when making a shared object; recompile with
-fPIC
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../lib64/libiberty.a: could not read symbols: Bad 
value

The first solution is to disable the valgrind plugin by passing the following to configure:

--disable-plugin-valgrind

The second solution is to refer to the CLFS book to build Binutils and install the pic version of the libiberty.a library with the following command:

On Non-Multilib systems:

cp libiberty/pic/libiberty.a /usr/lib

On Multilib systems:

cp libiberty/pic/libiberty.a /usr/lib64

You may choose to disable other plugins as well:

--disable-plugin-devhelp: Disable devhelp plugin support in Anjuta.
--disable-plugin-glade: Disable glade plugin support in Anjuta.
--disable-graphviz: Disable GraphViz support in Anjuta.
--disable-plugin-sourceview: Disable gtksourceview based editor in Anjuta.
--disable-plugin-scintilla: Disable Scintilla based editor in Anjuta.
--disable-plugin-valgrind: Disable Valgrind plugin.
--disable-schemas-install: Disable the schemas installation.
--disable-plugin-subversion: Disable subversion support in Anjuta.
--enable-gtk-doc: use gtk-doc to build documentation.

Non-Multilib

Compile the package:

./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome &&
make

Install the package:

make install

Multilib

Although this package provides libraries, they appear to be specific to this package, so only one installation is needed.

32Bit

Compile the package:

export PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
./configure --prefix=${GNOME_PREFIX} \
    --sysconfdir=/etc/gnome &&
make

Install the package:

make install &&
unset PKG_CONFIG_PATH

N32

Compile the package:

export PKG_CONFIG_PATH="$PKG_CONFIG_PATHN32" &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
./configure --prefix=${GNOME_PREFIX} \
    --libdir=${GNOME_PREFIX}/lib32 \
    --sysconfdir=/etc/gnome &&
make

Install the package:

make install &&
unset PKG_CONFIG_PATH

64Bit

Compile the package:

export PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
./configure --prefix=${GNOME_PREFIX} \
    --libdir=${GNOME_PREFIX}/lib64 \
    --sysconfdir=/etc/gnome &&
make

Install the package:

make install &&
unset PKG_CONFIG_PATH

Contents

Installed Programs: anjuta anjuta_import.sh anjuta_launcher anjuta-shell anjuta-tags create_global_tags.sh test_tm_buffer
Installed Libraries: libanjuta-ctags.so libanjuta-egg.so libanjuta-interfaces.so libanjuta.so
Installed Directory: ${GNOME_PREFIX}/lib/anjuta ${GNOME_PREFIX}/share/anjuta

Short Descriptions