Wednesday, May 8, 2024
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 11906  / 1 Year ago, sun, november 27, 2022, 1:29:05

I have downloaded the file anjuta-3.6.1.tar.xz from here --> http://projects.gnome.org/anjuta/
now I would like to install it but I don't know how. I have looked at the install.txt and I have done cd in the program directory and then this command:



./configure


it worked, and after that it says to give make but it doesn't work.
Could you help me?



Here is the output



$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for flex... no
checking for lex... no
configure: error: flex is required


I think I miss also some listed libraries at http://projects.gnome.org/anjuta/downloads.html, for example GTK+. I can't find some of these libraries.


More From » installation

 Answers
6

Normally, I would recommend you to add a PPA, but it seems there is no one available. This is my next step if a PPA is not to be found:



Just get the source of the Anjuta 3.4 debian package, change the sources to the version 3.6, and compile the package again.



From a console, get the debian package source.



mkdir ~/anjuta_compiling_place
cd ~/anjuta_compiling_place
apt-get source anjuta


Now, download the anjuta source code.



wget http://ftp.gnome.org/pub/GNOME/sources/anjuta/3.6/anjuta-3.6.1.tar.xz 


If you are reading this after a while, instead of using this URL, get the latest version URL from http://www.anjuta.org/.



Rename (important for later steps!) and uncompress the downloaded source and cd into the directory:



mv anjuta-3.6.1.tar.xz anjuta_3.6.1.orig.tar.xz
tar xf anjuta-3.6.1.orig.tar.xz
cd anjuta-3.6.1


Uncompress the debian files:



tar xzf ../anjuta_*.debian.tar.gz


Install the required dependencies to compile anjuta:



sudo apt-get build-dep anjuta


Run debchange, and edit the first entry changing the first line with the correct version, for example:



anjuta (2:3.6.1-0ubuntu1) UNRELEASED; urgency=low


You could also add some text describing what you did, in the same fashion as all the other entries on that file. Be cautious!



Also, if you want to autosign the package, make sure your name and your e-mail are the correct ones. If you don't know what I'm talking about, just ignore it.



Now, save Ctrl+O and exit Ctrl+X.



And then compile the new package:



debuild


This could fail, but if you are lucky, after a while, you should have your new shiny debian package at ~/anjuta_compiling_place.



Now, just click on the packages on the correct order to install them, or issue these commands:



cd ~/anjuta_compiling_place
sudo dpkg -i libanjuta*.deb anjuta*.deb


If you find any difficulties, please add a comment and I'll try to make corrections and help you. Try to be as verbose as possible (copy & paste the errors, and so).


[#33252] Monday, November 28, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fertion

Total Points: 436
Total Questions: 121
Total Answers: 156

Location: England
Member since Sun, May 21, 2023
1 Year ago
;