Install Notes: Anjuta 2.2.1 on Ubuntu AMD64
September 28, 2007
Anjuta is a nice programming IDE (Integrated Development Environment) for Gnome. I use it for C and GTK+ programming. Today I installed version 2.2.1 on my Ubuntu Feisty Fawn distro running AMD64. This isn't an extensive installation guide, but instead just a couple of notes on possible hang ups.
The downloads page lists various dependencies which are pretty easy to satisfy for the most part. When running the configure script, you simply look for any errors or notices about missing packages and use apt-get or aptitude to find them. However, there was one "gotcha" that I ran in to.
Once I had my dependencies satisfied and configure ran through, I got this error during make:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../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/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libiberty.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
This liberty.a file is part of binutils which I had installed using aptitude. This is needed if you're going to be using the valgrind plugin. Apparantly, the binutils-dev package for Feisty AMD64 is not built with the -fPIC flag. To resolve this issue I removed the binutils-dev package using aptitude and re-built it from source as follows:
sudo aptitude remove binutils-dev
wget http://ftp.gnu.org/gnu/binutils/binutils-2.18.tar.gz
tar -xzf binutils*
cd binutils*
CFLAGS="-fPIC" ./configure
make
sudo make install
Categories:
Linux
Copyright © 2004 - 2010 Micah Carrick. All Rights Reserved.
2 Comments about "Install Notes: Anjuta 2.2.1 on Ubuntu AMD64"
RSS Feed
what show i do . could u mail me the answer
http://groups.google.ch/group/gnucash/web/building-anjuta-from-sources-on-ubuntu
Leave a Comment about "Install Notes: Anjuta 2.2.1 on Ubuntu AMD64"