Install Notes: Anjuta 2.2.1 on Ubuntu AMD64
September 27th, 2007Anjuta 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
Popular Posts
RSS Feeds
Archives
January 31st, 2008 at 12:40 pm
I don't know what gnucash is but this great step-by-step helped me:
http://groups.google.ch/group/gnucash/web/building-anjuta-from-sources-on-ubuntu
March 23rd, 2008 at 11:26 pm
i when installing anjuta . it is showing cannt find find package anjutha . i have installed kubuntu amd bit . i dont know why . it is showing same when i am using gcc compiler it cant able to find build essential package .
what show i do . could u mail me the answer