Difference between revisions of "Anjuta"
(→Dependencies) |
|||
Line 34: | 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 | ||
== Non-Multilib == | == Non-Multilib == | ||
Line 43: | Line 64: | ||
make | make | ||
− | Install the package | + | Install the package: |
make install | make install | ||
Line 59: | Line 80: | ||
make | make | ||
− | Install the package | + | Install the package: |
make install | make install | ||
Line 74: | Line 95: | ||
make | make | ||
− | Install the package | + | Install the package: |
make install | make install | ||
Line 89: | Line 110: | ||
make | make | ||
− | Install the package | + | Install the package: |
make install | make install |
Revision as of 15:33, 10 January 2007
Download Source: | http://downloads.sourceforge.net/anjuta/anjuta-2.0.2.tar.gz |
---|
Contents
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.
Dependencies
Required
- Gtk2
- libgnomeui
- libgnomeprintui
- GNOME Virtual File System
- VTE
- LibXML2
- GDL
- LibXSLT
- Autogen
- GNOME Build
- Pcre
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
Non-Multilib
Compile the package:
sed -i "/glade_app_command_paste/s/(/&NULL/" plugins/glade/plugin.c && ./configure --prefix=${GNOME_PREFIX} && make
Install the package:
make install
Multilib
32Bit
Compile the package:
sed -i "/glade_app_command_paste/s/(/&NULL/" plugins/glade/plugin.c && CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" \ ./configure --prefix=${GNOME_PREFIX} && make
Install the package:
make install
N32
Compile the package:
sed -i "/glade_app_command_paste/s/(/&NULL/" plugins/glade/plugin.c && CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ PKG_CONFIG_PATH="$PKG_CONFIG_PATHN32" \ ./configure --prefix=${GNOME_PREFIX} \ --libdir=${GNOME_PREFIX}/lib32 && make
Install the package:
make install
64Bit
Compile the package:
sed -i "/glade_app_command_paste/s/(/&NULL/" plugins/glade/plugin.c && CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" \ ./configure --prefix=${GNOME_PREFIX} \ --libdir=${GNOME_PREFIX}/lib64 && make
Install the package:
make install
Contents
Installed Programs: | |
---|---|
Installed Libraries: | |
Installed Directory: |